/haiku/src/kits/app/ |
H A D | MessageRunner.cpp | 65 status_t result = request.AddInt32("token", fToken); local 69 if (result == B_OK) 70 result = BRoster::Private().SendTo(&request, &reply, false); 100 status_t result = fToken >= 0 ? B_OK : B_BAD_VALUE; local 104 if (result == B_OK) 105 result = request.AddInt32("token", fToken); 109 if (result == B_OK) 110 result = BRoster::Private().SendTo(&request, &reply, false); 113 if (result == B_OK) { 121 result 231 status_t result = B_OK; local 311 status_t result = request.AddInt32("token", fToken); local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | AX88178Device.cpp | 191 status_t result = ASIXDevice::SetupDevice(deviceReplugged); local 192 if (result != B_OK) { 193 return result; 196 result = fMII.Init(fDevice); 198 if (result != B_OK) { 199 return result; 204 result = gUSBModule->send_request(fDevice, 208 if (result != B_OK) { 209 TRACE_ALWAYS("Error of enabling SROM access:%#010x\n", result); 210 return result; 316 status_t result = gUSBModule->send_request(fDevice, local 397 status_t result = gUSBModule->send_request(fDevice, local [all...] |
H A D | AX88772Device.cpp | 244 status_t result = gUSBModule->send_request(fDevice, local 247 if (result != B_OK) { 248 TRACE_ALWAYS("Error reading MAC[%d] address:%#010x\n", i, result); 249 return result; 263 status_t result = ASIXDevice::SetupDevice(deviceReplugged); local 264 if (result != B_OK) { 265 return result; 268 result = fMII.Init(fDevice); 272 result = _SetupAX88772A(); 275 result 312 status_t result = gUSBModule->send_request(fDevice, local 391 status_t result = gUSBModule->send_request(fDevice, local 437 status_t result = gUSBModule->send_request(fDevice, local 463 status_t result = gUSBModule->send_request(fDevice, local 488 status_t result = gUSBModule->send_request(fDevice, local 590 status_t result = gUSBModule->send_request(fDevice, local [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | freopen.c | 39 FILE *result; local 52 result = _IO_old_freopen (filename, mode, fp); 55 result = _IO_freopen (filename, mode, fp); 56 if (result != NULL) 58 result->_mode = 0; 61 return result; 73 FILE *result; 96 result = _IO_old_file_fopen (fp, filename, mode); 105 result = INTUSE(_IO_file_fopen) (fp, filename, mode, 1); 106 if (result ! [all...] |
/haiku/src/kits/package/ |
H A D | AddRepositoryRequest.cpp | 47 status_t result = InitCheck(); local 48 if (result != B_OK) 52 result = fContext.GetNewTempfile("repoinfo-", &tempEntry); 53 if (result != B_OK) 54 return result; 61 if ((result = QueueJob(fetchJob)) != B_OK) { 63 return result; 68 result = fAsUserRepository 71 if (result != B_OK) 72 return result; [all...] |
/haiku/src/tests/system/libroot/posix/ |
H A D | tst-btowc.c | 91 int result = 0; local 94 result |= ok_test(c, c); 97 result |= fail_test(c); 99 result |= eof_test(); 100 totalResult |= result; 102 if (result == 0) 112 int result = 0; local 115 result |= ok_test(c, c); 118 result |= fail_test(c); 120 result | 133 int result = 0; local 151 int result = 0; local 185 int result = 0; local [all...] |
H A D | fwide_test.c | 14 int result = 0; local 17 result = fwide(stdout, 0); 18 if (result != -1) 20 printf("PROBLEM: fwide(stdout, 0) = %d (expected -1)\n", result); 24 result = fwide(stderr, 0); 25 if (result != 1) 27 printf("PROBLEM: fwide(stderr, 0) = %d (expected -1)\n", result);
|
H A D | tst-mktime.c | 12 int result; local 25 result = 1; 31 result = strcmp (daybuf, "Wednesday") != 0; 41 result = 1; 51 result = 1; 61 result = 1; 67 return result;
|
H A D | fseek_test.cpp | 42 int result = 0; local 65 result = 1; 72 result = 1; 75 result = 1; 79 result = 1; 82 result = 1; 88 result = 1; 91 result = 1; 95 result = 1; 98 result 471 int result = 0; local [all...] |
/haiku/src/apps/haikudepot/model/ |
H A D | PackageScreenshotRepository.cpp | 52 status_t result = _DownloadToLocalFile(coord, temporaryFilePath); local 55 if (result == B_OK) { 60 result = B_IO_ERROR; 63 if (result == B_OK) { 74 return result; 91 status_t result = _CreateCachedData(coord, &data); local 93 if (result == B_OK) { 98 return result; 118 status_t result = entry.GetStat(&s); local 120 switch (result) { 140 status_t result = HasCachedScreenshot(coord, &present); local 157 status_t result = StorageUtils::LocalWorkingDirectoryPath( local 197 status_t result = fWebAppInterface->RetrieveScreenshot( local 222 status_t result = B_OK; local [all...] |
H A D | ScreenshotCoordinate.cpp | 82 BString result; local 83 result.SetToFormat("%s_%" B_PRIu16 "x%" B_PRIu16 , fCode.String(), fWidth, fHeight); 84 return result; 98 status_t result = B_OK; local 99 if (result == B_OK) 100 result = into->AddString(kCodeKey, fCode); 101 if (result == B_OK) 102 result = into->AddUInt16(kWidthKey, fWidth); 103 if (result == B_OK) 104 result [all...] |
H A D | CreateUserDetail.cpp | 161 status_t result = B_OK; local 162 if (result == B_OK) 163 result = into->AddString(KEY_NICKNAME, fNickname); 164 if (result == B_OK) 165 result = into->AddString(KEY_PASSWORD_CLEAR, fPasswordClear); 166 if (result == B_OK) 167 result = into->AddBool(KEY_IS_PASSWORD_REPEATED, fIsPasswordRepeated); 168 if (result == B_OK) 169 result = into->AddString(KEY_EMAIL, fEmail); 170 if (result [all...] |
/haiku/src/system/libroot/posix/glibc/stdlib/ |
H A D | drand48-iter.c | 36 uint64_t result; local 52 result = X * buffer->__a + buffer->__c; 54 xsubi[0] = result & 0xffff; 55 xsubi[1] = (result >> 16) & 0xffff; 56 xsubi[2] = (result >> 32) & 0xffff;
|
/haiku/src/tools/cppunit/cppunit/ |
H A D | TestCase.cpp | 25 TestCase::run( TestResult *result ) 27 result->startTest(this); 37 result->addFailure( this, copy ); 40 result->addError( this, new Exception( e.what() ) ); 44 result->addError( this, e ); 51 result->addError( this, new Exception( "tearDown() failed" ) ); 55 result->addError( this, new Exception( "setUp() failed" ) ); 58 result->endTest( this ); 66 TestResult *result = defaultResult(); local 68 run (result); [all...] |
/haiku/src/system/libroot/posix/glibc/arch/generic/ |
H A D | s_clog10.c | 30 __complex__ double result; local 37 __imag__ result = signbit (__real__ x) ? M_PI : 0.0; local 38 __imag__ result = copysign (__imag__ result, __imag__ x); local 40 __real__ result = -1.0 / fabs (__real__ x); local 45 __real__ result = log10 (hypot (__real__ x, local 47 __imag__ result = M_LOG10E * atan2 (__imag__ x, __real__ x); local 51 __imag__ result = nan (""); local 54 __real__ result = HUGE_VAL; local 56 __real__ result local [all...] |
H A D | s_clog.c | 30 __complex__ double result; local 37 __imag__ result = signbit (__real__ x) ? M_PI : 0.0; local 38 __imag__ result = copysign (__imag__ result, __imag__ x); local 40 __real__ result = -1.0 / fabs (__real__ x); local 45 __real__ result = log (hypot (__real__ x, local 47 __imag__ result = atan2 (__imag__ x, __real__ x); local 51 __imag__ result = nan (""); local 54 __real__ result = HUGE_VAL; local 56 __real__ result local [all...] |
/haiku/src/system/libnetwork/netresolv/isc/ |
H A D | assertions.c | 63 const char *result; local 67 result = "REQUIRE"; 70 result = "ENSURE"; 73 result = "INSIST"; 76 result = "INVARIANT"; 79 result = NULL; 81 return (result);
|
/haiku/src/servers/keystore/ |
H A D | Keyring.cpp | 37 status_t result = message.FindString("name", &fName); local 38 if (result != B_OK) 39 return result; 41 result = message.FindBool("hasUnlockKey", &fHasUnlockKey); 42 if (result != B_OK) 43 return result; 52 result = message.FindData("data", B_RAW_TYPE, &data, &size); 53 if (result != B_OK) 54 return result; 73 status_t result local 106 status_t result = _DecryptFromFlatBuffer(); local 187 status_t result = fApplications.GetInfo(B_MESSAGE_TYPE, cookie++, local 258 status_t result = fApplications.RemoveName(signature); local 444 status_t result = fData.RemoveData(identifier, i); local 480 status_t result = container.AddMessage("data", &fData); local 516 status_t result = container.Unflatten(&fFlatBuffer); local [all...] |
/haiku/src/kits/storage/ |
H A D | NodeInfo.cpp | 90 status_t result = (type ? B_OK : B_BAD_VALUE); local 91 if (result == B_OK && InitCheck() != B_OK) 92 result = B_NO_INIT; 96 if (result == B_OK) 97 result = fNode->GetAttrInfo(kNITypeAttribute, &attrInfo); 99 if (result == B_OK && attrInfo.type != B_MIME_STRING_TYPE) 100 result = B_BAD_TYPE; 102 if (result == B_OK && attrInfo.size > B_MIME_TYPE_LENGTH) 103 result = B_BAD_DATA; 106 if (result 128 status_t result = B_OK; local 168 status_t result = B_OK; local 252 status_t result = fNode->GetAttrInfo(kNIIconAttribute, &attrInfo); local 309 status_t result = (signature && verb == B_OPEN ? B_OK : B_BAD_VALUE); local 347 status_t result = (verb == B_OPEN ? B_OK : B_BAD_VALUE); local 376 status_t result = (ref ? B_OK : B_BAD_VALUE); local 572 status_t result = (ref ? B_OK : B_BAD_VALUE); local [all...] |
H A D | SymLink.cpp | 93 status_t result = _kern_read_link(get_fd(), NULL, buffer, &linkLen); local 94 if (result < B_OK) 95 return result; 117 ssize_t result = dir.InitCheck(); local 118 if (result == B_OK) 119 result = MakeLinkedPath(&dir, path); 121 return result; 134 ssize_t result = ReadLink(contents, sizeof(contents)); local 135 if (result >= 0) { 137 result 154 bool result = (ReadLink(contents, sizeof(contents)) >= 0); local [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Request.cpp | 34 status_t result = fServer->SendCallAsync(fBuilder.Request(), &rpl, &rpc); local 35 if (result != B_OK) 36 return result; 51 result = fServer->WaitCall(rpc, requestTimeout); 52 if (result != B_OK) { 54 while (result != B_OK && (hard || attempts++ < retryLimit)) { 55 result = fServer->ResendCallAsync(fBuilder.Request(), rpc); 56 if (result != B_OK) { 60 return result; 63 result 97 status_t result; local [all...] |
/haiku/src/system/libroot/posix/unistd/ |
H A D | brk.c | 54 status_t result = B_ERROR; local 67 result = get_area_info(area_for(i_info.data), base_area_info); 71 return result; 87 bool result = false; local 98 result = true; 100 return result; 139 int result = 0; local 150 result = get_area_info(next_area, &next_area_info) == B_OK ? 156 result = resize_area_to_address(base_area_info, addr) == B_OK ? 0 161 if (result 190 int result = -1; local 220 void *result = NULL; local [all...] |
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KPartitioningSystem.cpp | 77 float result = fModule->identify_partition(fd, partition->PartitionData(), local 80 return result; 92 status_t result = partition->Open(O_RDONLY, &fd); local 93 if (result != B_OK) 94 return result; 95 result = fModule->scan_partition(fd, partition->PartitionData(), cookie); 97 return result; 162 status_t result = partition->Open(O_RDWR, &fd); local 163 if (result != B_OK) 164 return result; 188 status_t result = child->Parent()->Open(O_RDWR, &fd); local 214 status_t result = partition->Open(O_RDWR, &fd); local 240 status_t result = child->Parent()->Open(O_RDWR, &fd); local 268 status_t result = child->Parent()->Open(O_RDWR, &fd); local 296 status_t result = partition->Open(O_RDWR, &fd); local 323 status_t result = child->Parent()->Open(O_RDWR, &fd); local 351 status_t result = child->Parent()->Open(O_RDWR, &fd); local 379 status_t result = partition->Open(O_RDWR, &fd); local 407 status_t result = partition->Open(O_RDWR, &fd); local 432 status_t result = partition->Open(O_RDWR, &fd); local 461 status_t result = partition->Open(O_RDWR, &fd); local 490 status_t result = parent->Open(O_RDWR, &fd); local [all...] |
/haiku/src/apps/haikudepot/util/ |
H A D | DataIOUtils.cpp | 14 status_t result = B_OK; local 19 result = source->ReadExactly(buffer, BUFFER_SIZE, &sizeRead); 21 switch (result) 25 result = target->WriteExactly(buffer, sizeRead); 28 } while(result == B_OK && sizeRead > 0); 30 return result; 138 status_t result = B_OK; local 140 if (result == B_OK) 141 result = fDelegate->ReadExactly(&delegateRead, 1); 143 if (result 168 status_t result = B_OK; local [all...] |
/haiku/src/tests/kits/interface/bprintjob/ |
H A D | PrintTestApp.cpp | 44 status_t result = job.ConfigPage(); local 45 if (result == B_OK) { 54 return result; 59 status_t result = B_OK; local 67 result = DoTestPageSetup(); 71 if (result == B_OK) { 75 result = job.ConfigJob(); 76 if (result == B_OK) { 150 result = B_ERROR; 154 return result; [all...] |