/external/valgrind/drd/tests/ |
H A D | pth_barrier_race.c | 25 return NULL; 33 pthread_barrier_init(barrier, NULL, 2); 35 pthread_create(&tid, NULL, thread, NULL); 46 pthread_join(tid, NULL);
|
H A D | std_atomic.cpp | 19 nanosleep(&delay, NULL); 21 return NULL; 27 return NULL; 41 err = pthread_create(&thread1, NULL, &func1, NULL); 44 err = pthread_create(&thread2, NULL, &func2, NULL); 48 err = pthread_join(thread1, NULL); 51 err = pthread_join(thread2, NULL);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpas_module_tests.c | 26 if (wpa_blacklist_get(NULL, NULL) != NULL || 27 wpa_blacklist_get(NULL, (u8 *) "123456") != NULL || 28 wpa_blacklist_get(&wpa_s, NULL) != NULL || 29 wpa_blacklist_get(&wpa_s, (u8 *) "123456") != NULL) 32 if (wpa_blacklist_add(NULL, NULL) [all...] |
/external/libese/libese/tests/ |
H A D | ese_unittests.cpp | 35 EXPECT_STREQ("NULL EseInterface", ese_name(NULL)); 44 .name = NULL, 53 EXPECT_EQ(-1, ese_open(NULL, NULL)); 58 .open = NULL, 63 EXPECT_EQ(0, ese_open(&dummy, NULL)); 67 EXPECT_EQ(0, ese_open(&ese_, NULL)); 71 ese_close(NULL); 76 .close = NULL, [all...] |
/external/libxml2/doc/examples/ |
H A D | tree2.c | 28 xmlDocPtr doc = NULL; /* document pointer */ 29 xmlNodePtr root_node = NULL, node = NULL, node1 = NULL;/* node pointers */ 39 root_node = xmlNewNode(NULL, BAD_CAST "root"); 45 xmlCreateIntSubset(doc, BAD_CAST "root", NULL, BAD_CAST "tree2.dtd"); 51 xmlNewChild(root_node, NULL, BAD_CAST "node1", 56 xmlNewChild(root_node, NULL, BAD_CAST "node2", NULL); 63 xmlNewChild(root_node, NULL, BAD_CAS [all...] |
/external/libxml2/ |
H A D | schematron.c | 48 ((node != NULL) && (node->type == XML_ELEMENT_NODE ) && \ 49 (node->ns != NULL) && \ 55 while (node != NULL) { \ 56 if ((node->type == XML_ELEMENT_NODE ) && (node->ns != NULL) && \ 231 if (ctxt != NULL) 233 __xmlSimpleError(XML_FROM_SCHEMASP, XML_ERR_NO_MEMORY, node, NULL, 252 xmlGenericErrorFunc channel = NULL; 253 xmlStructuredErrorFunc schannel = NULL; 254 void *data = NULL; 256 if (ctxt != NULL) { [all...] |
H A D | testAutomata.c | 38 xmlRegexpPtr regexp = NULL; 39 xmlRegExecCtxtPtr exec = NULL; 42 states[i] = NULL; 45 if (input == NULL) { 52 if (am == NULL) { 59 if (states[0] == NULL) { 68 while (fgets(expr, 4500, input) != NULL) { 78 if ((am != NULL) && (expr[0] == 't') && (expr[1] == ' ')) { 88 if (states[from] == NULL) 97 if (states[to] == NULL) [all...] |
/external/e2fsprogs/intl/ |
H A D | finddomain.c | 89 strlen (dirname) + 1, 0, locale, NULL, NULL, 90 NULL, NULL, NULL, NULL, NULL, domainname, 0); 91 if (retval != NULL) 99 if (retval->data != NULL) 102 for (cnt = 0; retval->successor[cnt] != NULL; [all...] |
/external/ltp/testcases/kernel/syscalls/futex/ |
H A D | futex_wake04.c | 69 tst_brkm(TCONF, NULL, "This test can only run on kernels " 74 tst_brkm(TCONF, NULL, "Huge page is not supported."); 78 SAFE_FILE_SCANF(NULL, PATH_NR_HUGEPAGES, "%ld", &orig_hugepages); 79 SAFE_FILE_PRINTF(NULL, PATH_NR_HUGEPAGES, "%d", 1); 86 SAFE_FILE_PRINTF(NULL, PATH_NR_HUGEPAGES, "%ld", orig_hugepages); 98 while (fgets(line, BUFSIZ, fp) != NULL) { 107 tst_brkm(TBROK, NULL, "can't find \"%s\" in %s", 115 return NULL; 128 return NULL; 141 addr = mmap(NULL, hps [all...] |
/external/curl/lib/ |
H A D | curl_multibyte.c | 42 wchar_t *str_w = NULL; 46 str_utf8, -1, NULL, 0); 53 return NULL; 64 char *str_utf8 = NULL; 67 int str_utf8_len = WideCharToMultiByte(CP_UTF8, 0, str_w, -1, NULL, 68 0, NULL, NULL); 73 NULL, FALSE) == 0) { 75 return NULL;
|
/external/elfutils/libdwfl/ |
H A D | dwfl_module_register_names.c | 39 if (unlikely (mod == NULL)) 42 if (unlikely (mod->ebl == NULL)) 52 int nregs = ebl_register_info (mod->ebl, -1, NULL, 0, 53 NULL, NULL, NULL, NULL); 58 const char *setname = NULL; 59 const char *prefix = NULL;
|
H A D | dwfl_nextcu.c | 34 if (dwfl == NULL) 35 return NULL; 40 if (cu == NULL) 55 if (cu != NULL) 66 if (mod == NULL) 67 return NULL; 70 && (mod->dw != NULL 71 || INTUSE(dwfl_module_getdwarf) (mod, bias) != NULL)) 80 return NULL;
|
/external/ltp/testcases/kernel/syscalls/execle/ |
H A D | execle01.c | 54 char *env[] = { "LTP_TEST_ENV_VAR=test", NULL }; 57 tst_parse_opts(ac, av, NULL, NULL); 62 tst_brkm(TCONF, NULL, "Couldn't find execle01_child in $PATH"); 67 execle(path, "execle01_child", "canary", NULL, env); 68 tst_brkm(TFAIL | TERRNO, NULL, 71 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); 73 tst_record_childstatus(NULL, pid); 82 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/execve/ |
H A D | execve01.c | 54 char *const args[] = {"execve01_child", "canary", NULL}; 55 char *const env[] = {"LTP_TEST_ENV_VAR=test", NULL}; 58 tst_parse_opts(ac, av, NULL, NULL); 63 tst_brkm(TCONF, NULL, "Couldn't find execve01_child in $PATH"); 69 tst_brkm(TFAIL | TERRNO, NULL, 72 tst_brkm(TBROK, NULL, "fork failed"); 74 tst_record_childstatus(NULL, pid); 83 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/tools/pounder21/ |
H A D | proclist.c | 29 if (list->head == NULL) { 30 item->next = NULL; 36 while (curr->next != NULL) { 40 item->next = NULL; 48 if (list->head == NULL) { 54 item->next = NULL; 61 while (curr != NULL && curr != item) { 66 if (curr == NULL) { 71 item->next = NULL;
|
/external/protobuf/python/google/protobuf/internal/ |
H A D | api_implementation.cc | 85 NULL, 86 NULL, 87 NULL, 88 NULL, 89 NULL 92 #define INITFUNC_ERRORVAL NULL 105 NULL, 108 if (module == NULL) { 120 { Py_DECREF(module); return NULL; }
|
/external/python/cpython3/Modules/ |
H A D | grpmodule.c | 47 if (v == NULL) 48 return NULL; 50 if ((w = PyList_New(0)) == NULL) { 52 return NULL; 54 for (member = p->gr_mem; *member != NULL; member++) { 56 if (x == NULL || PyList_Append(w, x) != 0) { 60 return NULL; 79 return NULL; 105 return NULL; 111 return NULL; [all...] |
/external/protobuf/php/ext/google/protobuf/ |
H A D | protobuf.c | 17 zval* pDest = NULL; 28 return NULL; 39 ZEND_FE(get_generated_pool, NULL) 51 NULL, // process shutdown 52 NULL, // request startup 53 NULL, // request shutdown 54 NULL, // extension info 59 NULL, // post deactivate 68 protobuf_globals->generated_pool = NULL; 69 generated_pool = NULL; [all...] |
/external/google-breakpad/src/common/linux/ |
H A D | google_crashdump_uploader_test.cc | 76 ASSERT_FALSE(uploader->Upload(NULL, NULL, NULL)); 103 ASSERT_TRUE(uploader->Upload(NULL, NULL, NULL)); 123 ASSERT_FALSE(uploader->Upload(NULL, NULL, NULL)); 139 ASSERT_FALSE(uploader.Upload(NULL, NUL [all...] |
/external/ltp/testcases/kernel/pty/ |
H A D | ptem01.c | 62 masterfd = SAFE_OPEN(NULL, MASTERCLONE, O_RDWR); 65 if (slavename == NULL) { 66 tst_brkm(TBROK | TERRNO, NULL, "ptsname() call failed"); 70 tst_brkm(TBROK | TERRNO, NULL, "grantpt() call failed"); 74 tst_brkm(TBROK, NULL, "unlockpt() call failed"); 78 tst_brkm(TFAIL, NULL, "Could not open %s", slavename); 82 tst_brkm(TFAIL, NULL, "TCGETS"); 86 tst_brkm(TFAIL, NULL, "TCSETS"); 90 tst_brkm(TFAIL, NULL, "TCSETSW"); 94 tst_brkm(TFAIL, NULL, "TCSETS [all...] |
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
H A D | importvbo.c | 8 #define IMPORTVBO_FNPTRINIT = NULL 29 if (FP_glGenBuffersARB == NULL || FP_glBindBufferARB == NULL || 30 FP_glBufferDataARB == NULL || FP_glBufferSubDataARB == NULL || 31 FP_glDeleteBuffersARB == NULL)
|
/external/compiler-rt/test/tsan/ |
H A D | fd_dup_norace.cc | 27 pthread_create(&t[0], NULL, Thread1, NULL); 28 pthread_create(&t[1], NULL, Thread2, NULL); 29 pthread_join(t[0], NULL); 30 pthread_join(t[1], NULL);
|
H A D | inlined_memcpy_race.cc | 10 return NULL; 16 return NULL; 23 pthread_create(&t[0], NULL, MemCpyThread, x); 24 pthread_create(&t[1], NULL, MemSetThread, x); 25 pthread_join(t[0], NULL); 26 pthread_join(t[1], NULL);
|
H A D | inlined_memcpy_race2.cc | 10 return NULL; 16 return NULL; 23 pthread_create(&t[0], NULL, MemMoveThread, y); 24 pthread_create(&t[1], NULL, MemSetThread, y); 25 pthread_join(t[0], NULL); 26 pthread_join(t[1], NULL);
|
H A D | mop_with_offset.cc | 8 return NULL; 15 return NULL; 24 pthread_create(&t[0], NULL, Thread1, data); 25 pthread_create(&t[1], NULL, Thread2, data); 26 pthread_join(t[0], NULL); 27 pthread_join(t[1], NULL);
|