/haiku/src/system/libroot/posix/string/ |
H A D | strdup.cpp | 18 // handles NULL strings gracefully 19 if (string == NULL) 20 return NULL; 24 if ((copied = (char *)malloc(length)) == NULL) 25 return NULL;
|
H A D | strndup.cpp | 14 // While POSIX does not mention it, we handle NULL pointers gracefully 15 if (string == NULL) 16 return NULL; 20 if (copied == NULL) 21 return NULL;
|
/haiku/src/system/libroot/os/arch/arm/ |
H A D | stack_frame.c | 18 return NULL;
|
/haiku/src/system/libroot/os/arch/m68k/ |
H A D | stack_frame.c | 15 return NULL;
|
/haiku/src/system/libroot/os/arch/ppc/ |
H A D | stack_frame.c | 15 return NULL;
|
/haiku/src/system/libroot/os/arch/sparc/ |
H A D | stack_frame.c | 15 return NULL;
|
/haiku/src/system/libroot/posix/ |
H A D | utmpx.cpp | 24 return NULL; 31 return NULL; 38 return NULL; 45 return NULL;
|
/haiku/src/system/libroot/posix/wchar/ |
H A D | wcstok.c | 16 if (wcs == NULL && savePtr == NULL) 17 return NULL; 20 if (wcsBegin == NULL) 21 return NULL; 26 *savePtr = NULL; 27 return NULL;
|
/haiku/src/system/libroot/posix/stdlib/ |
H A D | realpath.cpp | 22 if (resolvedPath == NULL) { 24 if (resolvedPath == NULL) { 26 return NULL; 33 if (resolved == NULL) 35 return NULL; 41 if (resolved == NULL) 43 return NULL;
|
/haiku/src/system/libroot/posix/glibc/wcsmbs/ |
H A D | wcsmbsload.c | 30 .__shlib_handle = NULL, 31 .__modname = NULL, 36 .__init_fct = NULL, 37 .__end_fct = NULL, 43 .__data = NULL 48 .__shlib_handle = NULL, 49 .__modname = NULL, 54 .__init_fct = NULL, 55 .__end_fct = NULL, 61 .__data = NULL [all...] |
/haiku/src/system/libroot/posix/pthread/ |
H A D | pthread_cleanup.cpp | 14 if (thread == NULL) 26 if (thread == NULL) 27 return NULL; 30 if (handler == NULL) 31 return NULL;
|
H A D | pthread_condattr.c | 18 if (_condAttr == NULL) 22 if (attr == NULL) 38 if (_condAttr == NULL || (attr = *_condAttr) == NULL) 41 *_condAttr = NULL; 53 if (_condAttr == NULL || (attr = *_condAttr) == NULL || _processShared == NULL) 66 if (_condAttr == NULL || (attr = *_condAttr) == NULL [all...] |
H A D | pthread_mutexattr.c | 18 if (_mutexAttr == NULL) 22 if (attr == NULL) 38 if (_mutexAttr == NULL || (attr = *_mutexAttr) == NULL) 41 *_mutexAttr = NULL; 53 if (_mutexAttr == NULL || (attr = *_mutexAttr) == NULL || _type == NULL) 66 if (_mutexAttr == NULL || (attr = *_mutexAttr) == NULL [all...] |
/haiku/src/kits/textencoding/ |
H A D | character_sets.cpp | 24 NULL 34 NULL 44 NULL 54 NULL 64 NULL 74 NULL 84 NULL 94 NULL 104 NULL 114 NULL [all...] |
/haiku/src/system/libroot/os/ |
H A D | parsedate.cpp | 109 NULL 178 {"today", NULL, TYPE_UNIT, FLAG_RELATIVE | FLAG_NOT_MODIFIABLE, 180 {"tomorrow", NULL, TYPE_UNIT, FLAG_RELATIVE | FLAG_NOT_MODIFIABLE, 182 {"yesterday", NULL, TYPE_UNIT, FLAG_RELATIVE | FLAG_NOT_MODIFIABLE, 184 {"now", NULL, TYPE_UNIT, 187 {"this", NULL, TYPE_MODIFIER, FLAG_NEXT_LAST_THIS, UNIT_NONE, 189 {"next", NULL, TYPE_MODIFIER, FLAG_NEXT_LAST_THIS, UNIT_NONE, 191 {"last", NULL, TYPE_MODIFIER, FLAG_NEXT_LAST_THIS, UNIT_NONE, 198 {"hour", NULL, TYPE_UNIT, FLAG_RELATIVE, UNIT_SECOND, 1 * 60 * 60}, 205 {"am", NULL, TYPE_MERIDIA [all...] |
/haiku/src/add-ons/print/transports/hp_jetdirect/ |
H A D | print_transport.cpp | 39 static BDataIO * g_transport = NULL; 44 if (msg == NULL) 45 return NULL; 48 return NULL; 68 return NULL; 75 g_transport = NULL;
|
/haiku/src/kits/debugger/model/ |
H A D | ExpressionInfo.cpp | 20 fPrimitiveValue(NULL), 21 fValueNodeValue(NULL), 22 fTypeResult(NULL) 29 if (fPrimitiveValue != NULL) 32 if (fValueNodeValue != NULL) 35 if (fTypeResult != NULL) 46 if (fPrimitiveValue != NULL) { 59 if (fValueNodeValue != NULL) { 69 if (node == NULL) 73 if (fPrimitiveValue != NULL) [all...] |
/haiku/src/system/libroot/posix/locale/ |
H A D | LocaleBackend.cpp | 20 LocaleBackend* gGlobalLocaleBackend = NULL; 24 static void* sImageHandle = NULL; 27 static create_instance_t sCreateInstanceFunc = NULL; 28 static destroy_instance_t sDestroyInstanceFunc = NULL; 39 if (sImageHandle == NULL) 45 if ((sCreateInstanceFunc == NULL) || (sDestroyInstanceFunc == NULL)) { 56 if (gGlobalLocaleBackend != NULL) { 76 if (gGlobalLocaleBackend == NULL) { 80 return gGlobalLocaleBackend != NULL [all...] |
/haiku/src/kits/shared/ |
H A D | JsonEvent.cpp | 19 fOwnedContent(NULL) 28 fOwnedContent(NULL) 35 fContent = NULL; 40 if (buffer == NULL) { 53 fContent = NULL; 54 fOwnedContent = NULL; 71 if (buffer == NULL) { 89 fContent(NULL), 90 fOwnedContent(NULL) 97 if (NULL ! [all...] |
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | lists2.c | 16 if (head == NULL) 17 return NULL; 24 return NULL; 27 return NULL; 32 void *next = NULL; 33 if (head == NULL || item == NULL) 45 if (head == NULL || item == NULL) 49 fprintf(stderr, "sll_insert_tail: WARNING: %p->next NOT NULL\ [all...] |
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | support_settings.h | 17 const char* folder = NULL); 20 const char* folder = NULL);
|
/haiku/src/system/libroot/posix/glibc/locale/ |
H A D | C-numeric.c | 27 NULL, 0, 0, /* no file mapped */ 30 NULL,
|
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/ |
H A D | UnpackingAttributeDirectoryCookie.cpp | 18 fAttribute(NULL) 20 if (fPackageNode != NULL) { 29 if (fPackageNode != NULL) 40 if (cookie == NULL) 51 if (fPackageNode != NULL) 61 return fAttribute != NULL ? fAttribute->Name() : String(); 68 if (fAttribute != NULL) 70 return fAttribute != NULL ? fAttribute->Name() : String();
|
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | stddlg.cpp | 25 BAlert alert("Internal Error", fullMsg, "OK", NULL, NULL,
|
/haiku/src/tests/system/libroot/posix/ |
H A D | posix_spawn_test.cpp | 12 char* _env[] = { "myenv=5", NULL }; 17 _args[3] = NULL; 20 int err = posix_spawnp(&pid, _args[0], NULL, NULL, _args, _env); 32 _args[1] = NULL; 34 err = posix_spawn(&pid, _args[0], NULL, NULL, _args, _env); 44 waitpid_res = waitpid(-1, NULL, 0);
|