/haiku/src/system/libroot/posix/glibc/stdlib/ |
H A D | nrand48_r.c | 23 __nrand48_r (xsubi, buffer, result) 26 long int *result; 32 /* Store the result. */ 34 *result = xsubi[2] << 15 | xsubi[1] >> 1; 36 *result = xsubi[2] >> 1;
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | lseek.c | 17 off_t result = _kern_seek(fd, pos, whence); local 18 if (result < 0) { 19 __set_errno(result); 22 return result;
|
/haiku/src/tools/fs_shell/ |
H A D | fs_shell_command.h | 12 bool send_external_command(const char* command, int* result);
|
H A D | external_commands.h | 13 void reply_to_external_command(int result);
|
/haiku/src/system/libroot/posix/wchar/ |
H A D | mbtowc.c | 17 int result = __mbrtowc(pwc, s, n, &internalMbState); local 18 if (result == -2) { 20 result = -1; 23 return result;
|
/haiku/src/apps/haikudepot/server/ |
H A D | UserDetailVerifierProcess.cpp | 52 status_t result = B_OK; local 56 result = _TryFetchUserDetail(userDetail); 58 switch (result) { 61 result = B_OK; 75 return result; 104 status_t result; local 106 result = interface->RetrieveCurrentUserDetail(userDetailResponse); 108 if (result != B_OK) { 110 strerror(result)); 113 if (result [all...] |
/haiku/src/system/libroot/posix/ |
H A D | inttypes.c | 21 imaxdiv_t result; local 23 result.quot = numer / denom; 24 result.rem = numer % denom; 26 if (numer >= 0 && result.rem < 0) { 27 result.quot++; 28 result.rem -= denom; 31 return result;
|
/haiku/src/apps/haikudepot/util/ |
H A D | StorageUtils.cpp | 53 BString result; local 54 result.SetToFormat("%s; @ %" B_PRIu64, fPath.Leaf(), fLastAccessMillisSinceEpoch); 55 return result; 89 StorageUtils::AppendToString(const BPath& path, BString& result) argument 96 result.Append((char *) buffer, buffer_read); 116 status_t result = B_OK; local 118 if (result == B_OK) 119 result = find_directory(B_USER_CACHE_DIRECTORY, &path); 120 if (result == B_OK) 121 result 152 status_t result = B_OK; local 197 status_t result = B_OK; local 300 status_t result = B_OK; local 364 status_t result = B_OK; local 399 status_t result = B_OK; local 433 status_t result = path.GetParent(&parent); local [all...] |
/haiku/src/tests/system/libroot/posix/ |
H A D | getsubopt_test.cpp | 21 int result = getsubopt(&option, keys, &value); local 22 if (result != 0) 23 fprintf(stderr, "failed 1: result=%d, expected %d\n", result, 0); 26 result = getsubopt(&option, keys, &value); 27 if (result != -1) 28 fprintf(stderr, "failed 3: result=%d, expected %d\n", result, -1); 31 result = getsubopt(&option, keys, &value); 32 if (result ! [all...] |
H A D | tst-wcsnlen.c | 27 result = 1; \ 35 int result = 0; local 51 if (result == 0) 54 return result;
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | MIIBus.cpp | 49 status_t result = gUSBModule->send_request(device, local 53 if (result != B_OK) { 54 TRACE_ALWAYS("Request of the PHYIDs failed:%#010x\n", result); 55 return result; 81 fStatus = result; 91 status_t result = Read(MII_BMCR, &control); local 92 if (result != B_OK) { 93 TRACE_ALWAYS("Error of reading control word:%#010x.\n", result); 94 return result; 100 result 169 status_t result = InitCheck(); local 225 status_t result = InitCheck(); local 285 status_t result = InitCheck(); local [all...] |
/haiku/src/tests/apps/haikudepot/ |
H A D | ValidationUtilsTest.cpp | 30 bool result = ValidationUtils::IsValidEmail(email); local 33 CPPUNIT_ASSERT_EQUAL_MESSAGE("!Email valid", true, result); 48 bool result = ValidationUtils::IsValidEmail(email); local 51 CPPUNIT_ASSERT_EQUAL_MESSAGE("!Email invalid - no @", false, result); 61 bool result = ValidationUtils::IsValidEmail(email); local 64 CPPUNIT_ASSERT_EQUAL_MESSAGE("!Email invalid - no mailbox", false, result); 74 bool result = ValidationUtils::IsValidEmail(email); local 77 CPPUNIT_ASSERT_EQUAL_MESSAGE("!Email invalid - no domain", false, result); 87 bool result = ValidationUtils::IsValidNickname(nickname); local 90 CPPUNIT_ASSERT_EQUAL_MESSAGE("!Nickname valid", true, result); 100 bool result = ValidationUtils::IsValidNickname(nickname); local 113 bool result = ValidationUtils::IsValidNickname(nickname); local 127 bool result = ValidationUtils::IsValidPasswordClear(passwordClear); local 141 bool result = ValidationUtils::IsValidPasswordClear(passwordClear); local [all...] |
/haiku/src/preferences/screen/ |
H A D | multimon.cpp | 43 status_t result; local 45 result = TestMultiMonSupport(screen); 46 if (result != B_OK) 47 return result; 54 result = screen->ProposeMode(&mode, &low, &high); 55 if (result != B_OK) 56 return result; 69 status_t result; local 71 result = TestMultiMonSupport(screen); 72 if (result ! 91 status_t result; local 117 status_t result; local 142 status_t result; local 194 status_t result; local [all...] |
/haiku/src/kits/print/ |
H A D | PrinterDriverAddOn.cpp | 30 status_t result; local 31 result = FindPathToDriver(driver, &path); 32 if (result != B_OK) 55 status_t result = get_image_symbol(fAddOnID, "add_printer", local 57 if (result != B_OK) 58 return result; 73 status_t result = get_image_symbol(fAddOnID, "config_page", local 75 if (result != B_OK) 76 return result; 79 result 93 status_t result = get_image_symbol(fAddOnID, "config_job", local 113 status_t result = get_image_symbol(fAddOnID, "default_settings", local 138 status_t result = get_image_symbol(fAddOnID, "take_job", B_SYMBOL_TYPE_TEXT, local 161 status_t result; local [all...] |
/haiku/src/add-ons/accelerants/et6x00/ |
H A D | InitAccelerant.c | 22 status_t result; local 30 result = ioctl(fd, ET6000_GET_PRIVATE_DATA, &gpd, sizeof(gpd)); 31 if (result != B_OK) goto error0; 37 result = sharedInfoArea; 44 return result; 64 status_t result; local 70 result = initCommon(the_fd); 73 if (result != B_OK) goto error0; 76 if (result != B_OK) goto error1; 85 result 149 status_t result; local 163 status_t result; local [all...] |
/haiku/src/bin/pkgman/ |
H A D | pkgman.h | 18 #define DIE(result, msg...) \ 21 fprintf(stderr, " : %s\n", strerror(result)); \ 25 #define ERROR(result, msg...) \ 28 fprintf(stderr, " : %s\n", strerror(result)); \ 31 #define WARN(result, msg...) \ 34 fprintf(stderr, " : %s\n", strerror(result)); \
|
/haiku/src/bin/ |
H A D | open.cpp | 38 status_t result = entry.GetRef(&ref); local 39 if (result != B_OK) 40 return result; 75 status_t result = B_OK; local 79 if ((result = entry.InitCheck()) == B_OK && entry.Exists()) { 80 result = open_file(openWith, entry); 94 result = be_roster->Launch(*argv); 96 result = B_OK; 100 result = url.OpenWithPreferredApplication(); 101 if (result [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | freopen64.c | 42 FILE *result; local 59 result = INTUSE(_IO_file_fopen) (fp, filename, mode, 0); 60 if (result != NULL) 61 result = __fopen_maybe_mmap (result); 62 if (result != NULL) 64 result->_mode = 0; 73 return result;
|
H A D | ioungetwc.c | 36 int result; local 42 result = WEOF; 44 result = INTUSE(_IO_sputbackwc) (fp, c); 47 return result;
|
/haiku/src/servers/package/ |
H A D | Exception.cpp | 74 Exception::SetOnResult(BCommitTransactionResult& result) argument 76 result.SetError(fError); 77 result.SetSystemError(fSystemError); 78 result.SetErrorPackage(fPackageName); 79 result.SetPath1(fPath1); 80 result.SetPath2(fPath2); 81 result.SetString1(fString1); 82 result.SetString2(fString2);
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/ |
H A D | DavicomDevice.cpp | 177 status_t result = _StartDevice(); 178 if (result != B_OK) { 179 return result; 183 result = gUSBModule->queue_interrupt(fNotifyEndpoint, fNotifyData, 185 if (result != B_OK) { 186 TRACE_ALWAYS("Error of requesting notify interrupt:%#010x\n", result); 187 return result; 190 result = _EnableInterrupts(true); 194 TRACE("Opened: %#010x!\n", result); 195 return result; 218 status_t result = _StopDevice(); local 268 status_t result = gUSBModule->queue_bulk_v(fReadEndpoint, local 364 status_t result = gUSBModule->queue_bulk_v(fWriteEndpoint, local 465 status_t result = _ReadMACAddress(&address); local 515 status_t result = _SetupEndpoints(); local 615 status_t result = _ReadRegister(RegPAR, local 632 status_t result = _ReadRegister(RegNCR, 1, &control); local 700 status_t result = _ReadRegister(RegRCR, 1, &control); local 720 status_t result = _ReadRegister(RegRCR, 1, &control); local 742 uint32 result = 0xffffffff; local 780 status_t result = _WriteRegister(RegMAR, hashLength, hashTable); local 968 status_t result = _ReadRegister(RegNSR, 1, ®isterValue); local 1024 status_t result = gUSBModule->send_request(fDevice, local 1045 status_t result = gUSBModule->send_request(fDevice, local 1058 status_t result = gUSBModule->send_request(fDevice, local 1070 status_t result = _Write1Register(RegEPAR, EPARIntPHY | (reg & EPARMask)); local 1114 status_t result = _Write1Register(RegEPAR, EPARIntPHY | (reg & EPARMask)); local 1155 status_t result = _ReadMII(RegBMCR, &control); local 1197 status_t result = _ReadRegister(RegUSBC, 1, &control); local [all...] |
/haiku/src/kits/storage/ |
H A D | Statable.cpp | 87 status_t result = (ref ? B_OK : B_BAD_VALUE); local 90 if (result == B_OK) 91 result = GetStat(&stat); 93 if (result == B_OK) { 98 return result; 106 status_t result = (owner ? B_OK : B_BAD_VALUE); local 109 if (result == B_OK) 110 result = GetStat(&stat); 112 if (result == B_OK) 115 return result; 134 status_t result = (group ? B_OK : B_BAD_VALUE); local 162 status_t result = (permissions ? B_OK : B_BAD_VALUE); local 192 status_t result = (size ? B_OK : B_BAD_VALUE); local 209 status_t result = (mtime ? B_OK : B_BAD_VALUE); local 237 status_t result = (ctime ? B_OK : B_BAD_VALUE); local 265 status_t result = (atime ? B_OK : B_BAD_VALUE); local 293 status_t result = (volume ? B_OK : B_BAD_VALUE); local 315 status_t result = BStatable::Private(self).GetStatBeOS(&oldStat); local [all...] |
/haiku/src/add-ons/translators/ico/ |
H A D | main.cpp | 22 status_t result; local 23 result = LaunchTranslatorWindow(new ICOTranslator, 25 if (result != B_OK)
|
/haiku/src/add-ons/translators/pcx/ |
H A D | main.cpp | 25 status_t result; local 26 result = LaunchTranslatorWindow(new PCXTranslator, 28 if (result != B_OK)
|
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | WonderBrushMain.cpp | 24 status_t result; local 25 result = LaunchTranslatorWindow(new WonderBrushTranslator, 27 if (result == B_OK) {
|