Searched refs:NULL (Results 201 - 225 of 5974) sorted by relevance

1234567891011>>

/haiku/src/tests/system/libroot/posix/
H A Dcalloc_test.c16 if (calloc(SIZE_MAX, SIZE_MAX) != NULL) {
30 if (calloc(-1, -1) != NULL) {
H A Dgetsubopt_test.cpp16 "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 Dmblen.c15 if (s == NULL) {
23 rval = __mbrtowc(NULL, s, n, &internalMbState);
H A Dmbrlen.c12 if (ps == NULL) {
17 return __mbrtowc(NULL, s, n, ps);
/haiku/src/system/libroot/posix/malloc_hoard2/
H A Dthreadheap.cpp50 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 Dsystm.cpp46 return NULL;
53 return NULL;
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Ddevice.h16 if (fw == NULL)
23 fw->data = NULL;
/haiku/src/libs/compat/freebsd_network/compat/vm/
H A Dvm.h21 #define vmspace_pmap(...) NULL
22 #define pmap_extract(...) NULL
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DDemuxerTable.cpp27 if (strstr(format->name, demuxerFormat->short_name) != NULL)
30 return NULL;
/haiku/src/kits/locale/
H A DRelativeDateTimeFormat.cpp60 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 DFileMapDisk.cpp34 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 Drsinfo.c194 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 DClientMemoryAllocator.cpp49 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 DInterface.cpp30 NULL,
32 NULL);
46 NULL,
48 NULL);
64 NULL);
/haiku/src/system/libroot/posix/unistd/
H A Ddirectory.c26 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 DResolvable.cpp17 fFamily(NULL),
19 fVersion(NULL),
20 fCompatibleVersion(NULL)
58 dependency->SetResolvable(NULL);
70 dependency->SetResolvable(NULL);
/haiku/src/kits/package/hpkg/
H A DBlockBufferPool.cpp36 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 DPackageReaderV1.cpp38 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 DSolver.cpp20 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 Dinvalidate_on_exit.cpp55 "invalidate_loop", B_NORMAL_PRIORITY, NULL);
79 NULL,
81 NULL,
82 NULL
87 NULL
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DCookie.cpp21 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 DRosterPrivate.cpp35 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 Dparse.c65 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 DDebuggerUiSettingsFactory.cpp14 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 DArchitecture.cpp64 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...]

Completed in 179 milliseconds

1234567891011>>