/haiku/src/tests/system/libroot/posix/ |
H A D | calloc_test.c | 16 if (calloc(SIZE_MAX, SIZE_MAX) != NULL) { 30 if (calloc(-1, -1) != NULL) {
|
H A D | getsubopt_test.cpp | 16 "mode", "be-lenient", NULL 20 char* value = NULL; 24 if (value == NULL || strcmp(value, "readwrite") != 0) 29 if (value != NULL) 30 fprintf(stderr, "failed 4: value=%p, expected NULL\n", value); 34 if (value != NULL) 35 fprintf(stderr, "failed 6: value=%p, expected NULL\n", value);
|
/haiku/src/system/libroot/posix/wchar/ |
H A D | mblen.c | 15 if (s == NULL) { 23 rval = __mbrtowc(NULL, s, n, &internalMbState);
|
H A D | mbrlen.c | 12 if (ps == NULL) { 17 return __mbrtowc(NULL, s, n, ps);
|
/haiku/src/system/libroot/posix/malloc_hoard2/ |
H A D | threadheap.cpp | 50 return NULL; 55 block *b = NULL; 64 if (sb == NULL) { 73 if (sb == NULL) { 75 if (sb == NULL) { 78 return NULL; 94 assert(b != NULL); 100 assert(b != NULL);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | systm.cpp | 46 return NULL; 53 return NULL;
|
/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | device.h | 16 if (fw == NULL) 23 fw->data = NULL;
|
/haiku/src/libs/compat/freebsd_network/compat/vm/ |
H A D | vm.h | 21 #define vmspace_pmap(...) NULL 22 #define pmap_extract(...) NULL
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | DemuxerTable.cpp | 27 if (strstr(format->name, demuxerFormat->short_name) != NULL) 30 return NULL;
|
/haiku/src/kits/locale/ |
H A D | RelativeDateTimeFormat.cpp | 60 if (fFormatter == NULL) { 66 if (fCalendar == NULL) { 84 if (fFormatter == NULL) { 90 if (fCalendar == NULL) { 102 fFormatter(other.fFormatter != NULL 103 ? new RelativeDateTimeFormatter(*other.fFormatter) : NULL), 104 fCalendar(other.fCalendar != NULL 105 ? new GregorianCalendar(*other.fCalendar) : NULL) 107 if ((fFormatter == NULL && other.fFormatter != NULL) [all...] |
/haiku/src/system/boot/loader/ |
H A D | FileMapDisk.cpp | 34 fNode(NULL) 72 if (fNode == NULL) 83 if (fNode == NULL) 96 if (fNode == NULL) 117 if (nameBuffer == NULL) 139 if (fNode == NULL) 152 if (volume == NULL) 153 return NULL; 159 if (dirnode == NULL || !S_ISDIR(dirnode->Type())) 160 return NULL; [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/resources/ |
H A D | rsinfo.c | 194 NULL, /* 0x13, ACPI_RESOURCE_TYPE_SERIAL_BUS - Use subtype table below */ 209 NULL, /* 0x00, Reserved */ 210 NULL, /* 0x01, Reserved */ 211 NULL, /* 0x02, Reserved */ 212 NULL, /* 0x03, Reserved */ 220 NULL, /* 0x0B, Reserved */ 221 NULL, /* 0x0C, Reserved */ 222 NULL, /* 0x0D, Reserved */ 228 NULL, /* 0x00, Reserved */ 231 NULL, /* [all...] |
/haiku/src/servers/app/ |
H A D | ClientMemoryAllocator.cpp | 49 if (block == NULL) 57 if (chunk == NULL) 70 if (fApplication == NULL) 71 return NULL; 79 struct block* best = NULL; 81 while ((block = iterator.Next()) != NULL) { 82 if (block->size >= size && (best == NULL || block->size < best->size)) 86 if (best == NULL) { 90 if (best == NULL) 91 return NULL; [all...] |
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | Interface.cpp | 30 NULL, 32 NULL); 46 NULL, 48 NULL); 64 NULL);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | directory.c | 26 RETURN_AND_SET_ERRNO(_kern_setcwd(fd, NULL)); 36 if (buffer == NULL) { 38 if (buffer == NULL) { 40 return NULL; 52 return NULL;
|
/haiku/src/add-ons/kernel/file_systems/packagefs/resolvables/ |
H A D | Resolvable.cpp | 17 fFamily(NULL), 19 fVersion(NULL), 20 fCompatibleVersion(NULL) 58 dependency->SetResolvable(NULL); 70 dependency->SetResolvable(NULL);
|
/haiku/src/kits/package/hpkg/ |
H A D | BlockBufferPool.cpp | 36 if (fImpl == NULL) 47 if (fImpl == NULL) 48 return NULL; 57 if (fImpl != NULL) 65 if (fImpl != NULL)
|
/haiku/src/kits/package/hpkg/v1/ |
H A D | PackageReaderV1.cpp | 38 if (fImpl == NULL) 48 if (fImpl == NULL) 58 if (fImpl == NULL) 68 if (fImpl == NULL) 78 if (fImpl == NULL)
|
/haiku/src/kits/package/solver/ |
H A D | Solver.cpp | 20 static CreateSolverFunction* sCreateSolver = NULL; 37 if (imageHandle == NULL) 41 if (sCreateSolver == NULL) 63 if (sCreateSolver == NULL) 67 if (solver == NULL)
|
/haiku/src/add-ons/kernel/debugger/invalidate_on_exit/ |
H A D | invalidate_on_exit.cpp | 55 "invalidate_loop", B_NORMAL_PRIORITY, NULL); 79 NULL, 81 NULL, 82 NULL 87 NULL
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Cookie.cpp | 21 fNext(NULL), 22 fPrev(NULL) 25 mutex_init(&fLock, NULL); 39 ASSERT(owner != NULL); 73 fRequests(NULL), 74 fSnoozeCancel(create_sem(1, NULL)) 77 mutex_init(&fRequestLock, NULL); 91 ASSERT(request != NULL); 94 if (entry == NULL) 109 ASSERT(request != NULL); [all...] |
/haiku/src/kits/app/ |
H A D | RosterPrivate.cpp | 35 if (fRoster != NULL) { 47 If \a reply is not \c NULL, the function waits for a reply. 51 message will be copied. May be \c NULL. 56 - \c B_BAD_VALUE: \c NULL \a message. 57 - \c B_NO_INIT: the roster is \c NULL. 63 if (message == NULL) 65 if (fRoster == NULL) 73 return reply != NULL 91 return fRoster != NULL && (mime ? fRoster->_MimeMessenger().IsValid()
|
/haiku/src/libs/uuid/ |
H A D | parse.c | 65 uuid.time_low = strtoul(in, NULL, 16); 66 uuid.time_mid = strtoul(in+9, NULL, 16); 67 uuid.time_hi_and_version = strtoul(in+14, NULL, 16); 68 uuid.clock_seq = strtoul(in+19, NULL, 16); 74 uuid.node[i] = strtoul(buf, NULL, 16);
|
/haiku/src/apps/debugger/user_interface/gui/settings/ |
H A D | DebuggerUiSettingsFactory.cpp | 14 DebuggerUiSettingsFactory* DebuggerUiSettingsFactory::sDefaultInstance = NULL; 38 if (sDefaultInstance == NULL) 49 sDefaultInstance = NULL; 65 if (settings == NULL) 71 settings = NULL;
|
/haiku/src/kits/debugger/arch/ |
H A D | Architecture.cpp | 64 RegisterMap* toDwarf = NULL; 65 status_t result = GetDwarfRegisterMaps(&toDwarf, NULL); 104 StackTrace* stackTrace = NULL; 106 StackFrame* nextFrame = NULL; 113 if (stackTrace == NULL) 125 while (cpuState != NULL) { 136 ImageDebugInfo* imageDebugInfo = NULL; 137 if (image != NULL) 144 FunctionInstance* function = NULL; 145 FunctionDebugInfo* functionDebugInfo = NULL; [all...] |