/haiku/src/add-ons/kernel/network/dns_resolver/server/ |
H A D | main.cpp | 114 status_t result = getaddrinfo(node, service, hints, &ai); local 115 if (result != B_OK) 116 return write_port(gReplyPort, MsgError, &result, sizeof(result)); 120 result = Serialize(&reply, &totalSize, ai); 122 if (result != B_OK) 123 return write_port(gReplyPort, MsgError, &result, sizeof(result)); 124 result = write_port(gReplyPort, MsgReply, reply, totalSize); 126 return result; [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | Call.cpp | 36 acpi_data result; member in struct:acpi_call_desc 133 acpi_data result; local 134 result.length = ACPI_ALLOCATE_BUFFER; 135 result.pointer = NULL; 137 acpi_status retval = device->acpi->evaluate_method(NULL, path, ¶ms.args, &result); 139 if (result.pointer != NULL) { 140 if (params.result.pointer != NULL) { 141 params.result.length = min_c(params.result.length, result [all...] |
/haiku/src/apps/haikudepot/server/ |
H A D | AbstractServerProcess.cpp | 93 status_t result = GetStandardMetaDataPath(metaDataPath); local 95 if (result != B_OK) 96 return result; 122 status_t result = PopulateMetaData(metaData, metaDataPath, jsonPath); local 124 if (result == B_OK) 132 return result; 156 status_t result = ParseJsonFromFileWithListener(&listener, path); local 158 if (result != B_OK) 159 return result; 161 result 217 status_t result = BZlibCompressionAlgorithm() local 245 status_t result = DownloadToLocalFile( local 285 status_t result = B_OK; local 379 const BHttpResult& result = dynamic_cast<const BHttpResult&>( local [all...] |
/haiku/src/add-ons/accelerants/skeleton/ |
H A D | InitAccelerant.c | 20 status_t result; local 30 result = ioctl(fd, ENG_GET_PRIVATE_DATA, &gpd, sizeof(gpd)); 31 if (result != B_OK) goto error0; 37 result = shared_info_area; 60 result = regs_area; 75 return result; 98 status_t result; local 112 result = init_common(the_fd); 115 if (result != B_OK) goto error0; 119 result 224 status_t result; local 238 status_t result; local [all...] |
/haiku/src/kits/package/hpkg/ |
H A D | RepositoryWriterImpl.cpp | 63 status_t result = BPackageDataReaderFactory() local 65 if (result != B_OK) 66 return result; 75 result = reader->ReadData(0, buffer, bufferSize); 76 if (result != B_OK) { 78 strerror(result)); 83 return result; 142 status_t result = dataFetcher.ReadIntoString(fHeapReader, licenseText); local 143 if (result != B_OK) 144 return result; 209 status_t result = fPackageNames->InitCheck(); local 283 status_t result = _WriteRepositoryInfo(header, infoLength); local 326 status_t result = packageEntry.InitCheck(); local 378 status_t result = _RegisterCurrentPackageInfo(); local 389 status_t result = fPackageInfo.InitCheck(); local 447 status_t result = fRepositoryInfo->Archive(&archive); local [all...] |
/haiku/src/kits/support/ |
H A D | List.cpp | 109 bool result = true; 112 result = _ResizeArray(fItemCount + 1); 113 if (result) { 118 return result; 125 bool result = true; local 130 if ((result = _ResizeArray(fItemCount + 1))) { 135 return result; 142 bool result = (list && index >= 0 && index <= fItemCount); local 143 if (result && list->fItemCount > 0) { 146 result 163 bool result = (list != NULL); local 185 bool result = (index >= 0); local 210 bool result = (index >= 0 && index <= fItemCount); local 230 bool result = false; local 262 bool result = false; local 477 bool result = true; local [all...] |
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUTimeData.cpp | 72 status_t result = inherited::SetTo(locale, posixLocaleName); local 73 if (result != B_OK) 74 return result; 83 result = _SetLCTimeEntries(strings, fMon[0], sizeof(fMon[0]), count, 12); 85 if (result == B_OK) { 87 result = _SetLCTimeEntries(strings, fMonth[0], sizeof(fMonth[0]), count, 91 if (result == B_OK) { 98 result 102 if (result == B_OK) { 109 result 171 status_t result = inherited::SetToPosix(); local [all...] |
H A D | ICUMessagesData.cpp | 36 status_t result = inherited::SetTo(locale, posixLocaleName); local 40 return result; 47 status_t result = inherited::SetToPosix(); local 52 return result;
|
/haiku/src/add-ons/accelerants/et6x00/ |
H A D | SetDisplayMode.c | 31 status_t result; local 39 result = doSetDisplayMode(&target); 41 if (result == B_OK) { 62 return result;
|
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | cddb.cpp | 13 int32 result = 0; local 16 result = result + (n % 10); 20 return result;
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | iofgets.c | 38 char *result; local 55 result = NULL; 59 result = buf; 64 return result;
|
H A D | iofgetws.c | 38 wchar_t *result; local 54 result = NULL; 58 result = buf; 63 return result;
|
H A D | iofsetpos.c | 37 int result; local 50 result = EOF; 54 result = 0; 62 return result;
|
H A D | iofsetpos64.c | 38 int result; local 51 result = EOF; 55 result = 0; 63 return result;
|
/haiku/src/tests/system/libroot/posix/ |
H A D | tst-swscanf2.c | 12 int result = 0; local 24 result = 1; 34 result = 1; 37 return result;
|
/haiku/src/tools/fs_shell/ |
H A D | fs_shell_command.cpp | 65 int result; local 66 if (!send_external_command(command, &result)) 69 // evaluate result 70 if (result != 0) { 71 fprintf(stderr, "Error: Command failed: %s\n", strerror(result));
|
/haiku/src/kits/debugger/jobs/ |
H A D | RetrieveMemoryBlockJob.cpp | 46 ssize_t result = fTeamMemory->ReadMemory(fMemoryBlock->BaseAddress(), local 48 if (result < 0) { 49 fMemoryBlock->NotifyDataRetrieved(result); 50 return result;
|
/haiku/src/apps/haikudepot/model/ |
H A D | ValidationFailure.cpp | 26 status_t result = B_OK; local 30 for (int32 i = 0; result == B_OK; i++) { 32 result = from->FindString(name, &message); 34 if (result == B_OK) 89 status_t result = B_OK; local 91 if (result == B_OK) 92 result = into->AddString(KEY_PROPERTY, fProperty); 93 for (int32 i = 0; result == B_OK && i < fMessages.CountStrings(); i++) { 95 result = into->AddString(key, fMessages.StringAt(i)); 97 return result; 172 status_t result = B_OK; local [all...] |
/haiku/src/add-ons/accelerants/via/ |
H A D | InitAccelerant.c | 20 status_t result; local 30 result = ioctl(fd, ENG_GET_PRIVATE_DATA, &gpd, sizeof(gpd)); 31 if (result != B_OK) 38 result = shared_info_area; 61 result = regs_area; 76 return result; 99 status_t result; local 113 result = init_common(the_fd); 116 if (result != B_OK) 121 result 222 status_t result; local 236 status_t result; local [all...] |
/haiku/headers/private/interface/ |
H A D | utf8_functions.h | 173 uint32 result; local 176 result = (*bytes)[0]; 177 if (result != '\0') { 182 return result; 193 result = (uint32)((*bytes)[0] & 0xff); 196 while (result & mask) { 202 result &= ~mask; 207 result <<= 6; 208 result += (*bytes)[0] & 0x3f; 213 return result; [all...] |
/haiku/src/kits/shared/ |
H A D | SettingsHandler.cpp | 114 const char* result = (argvHandlerFunc)(fArgc, fCurrentArgv, passThru); local 115 if (result != NULL) { 117 result); 120 if (result != NULL) 185 status_t result; local 193 result = B_ERROR; 196 result = SendArgv(argvHandlerFunc, passThru); 206 result = B_ERROR; 217 result = SendArgv(argvHandlerFunc, passThru); 230 result 293 HandleRectValue(BRect &result, const char* const* argv, bool printError) argument [all...] |
/haiku/src/kits/storage/ |
H A D | OffsetFile.cpp | 77 ssize_t result = 0; local 79 result = fFile->ReadAt(pos + fOffset, buffer, size); 80 return (error == B_OK ? result : error); 88 ssize_t result = 0; local 90 result = fFile->WriteAt(pos + fOffset, buffer, size); 91 return (error == B_OK ? result : error); 98 off_t result = B_BAD_VALUE; local 104 result = fCurrentPosition = position; 112 result = fCurrentPosition = size + position; 118 result [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | InodeDir.cpp | 35 status_t result = Access(R_OK); 36 if (result != B_OK) 37 return result; 71 status_t result; local 74 result = NFS4Inode::OpenAttrDir(&handle); 75 if (result == B_OK) { 80 if (result != B_UNSUPPORTED) 81 return result; 97 result = NFS4Inode::LookUp(attrDir, NULL, NULL, &handle, true); 98 if (result 162 status_t result = request.Send(); local 242 status_t result = ReadDirOnce(&dirents, &count, cookie, &eof, &change, local 316 status_t result; local 348 status_t result; local 364 status_t result; local [all...] |
/haiku/src/kits/interface/ |
H A D | DecorInfo.cpp | 387 status_t result; local 390 result = find_directory(B_SYSTEM_ADDONS_DIRECTORY, &systemPath); 391 if (result == B_OK) 392 result = systemPath.Append("decorators"); 394 if (result == B_OK) { 396 result = systemDirectory.InitCheck(); 397 if (result == B_OK) { 398 result = _ScanDecorators(systemDirectory); 399 if (result != B_OK) { 401 strerror(result)); 644 status_t result = path.Append(ref.name); local [all...] |
/haiku/headers/private/kernel/ |
H A D | condition_variable.h | 61 inline int32 NotifyOne(status_t result = B_OK); 62 inline int32 NotifyAll(status_t result = B_OK); 64 static int32 NotifyOne(const void* object, status_t result); 65 static int32 NotifyAll(const void* object, status_t result); 82 static int32 _Notify(const void* object, bool all, status_t result); 83 int32 _Notify(bool all, status_t result); 84 int32 _NotifyLocked(bool all, status_t result); 106 ConditionVariable::NotifyOne(status_t result) argument 108 return _Notify(false, result); 113 ConditionVariable::NotifyAll(status_t result) argument [all...] |