Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 160) sorted by relevance

1234567

/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dptestcases.h1 { 0, 0, "2.8.2 Regular Expression General Requirement", NULL, },
6 { 0, 0, "2.8.3.1.2 BRE Special Characters", NULL, },
7 { 0, 0, "GA108", NULL, },
15 { 0, 0, "GA109", NULL, },
26 { 0, 0, "GA110", NULL, },
30 { 0, 0, "GA111", NULL, },
36 { 0, 0, "GA112", NULL, },
40 { 0, 0, "GA113(1)", NULL, },
45 { 0, 0, "GA114", NULL, },
57 { 0, 0, "GA115", NULL, },
[all …]
Dtst-rxspencer.c39 for (; (str = strpbrk (str, "NTSZ")) != NULL; ++str) in replace_special_chars()
55 for (p = str; (p = strstr (p, "[[:")) != NULL; ) in glibc_re_syntax()
119 if (str == NULL) in mb_frob_string()
120 return NULL; in mb_frob_string()
123 if (ret == NULL) in mb_frob_string()
124 return NULL; in mb_frob_string()
145 if (str == NULL) in mb_frob_pattern()
146 return NULL; in mb_frob_pattern()
149 if (ret == NULL) in mb_frob_pattern()
150 return NULL; in mb_frob_pattern()
[all …]
Dbug-regex8.c43 if (s != NULL) in main()
49 match[0] = re_match_2(&regex,"xyz",3,NULL,0,0,NULL,2); in main()
55 if (s != NULL) in main()
61 match[1] = re_search_2(&regex,"xyz",3,NULL,0,0,2,NULL,2); in main()
67 if (s != NULL) in main()
74 match[2] = re_match_2(&regex,"xy ",4,NULL,0,0,NULL,3); in main()
75 match[3] = re_match_2(&regex,"xy z",4,NULL,0,0,NULL,3); in main()
/ndk/sources/host-tools/ndk-stack/elff/
Delf_file.cc45 elf_file_path_(NULL), in ElfFile()
46 allocator_(NULL), in ElfFile()
47 sec_table_(NULL), in ElfFile()
50 last_cu_(NULL), in ElfFile()
57 while (cu_to_del != NULL) { in ~ElfFile()
67 if (elf_file_path_ != NULL) { in ~ElfFile()
71 if (sec_table_ != NULL) { in ~ElfFile()
76 if (allocator_ != NULL) { in ~ElfFile()
82 ElfFile* ret = NULL; in Create()
87 assert(path != NULL && *path != '\0'); in Create()
[all …]
Ddwarf_die.cc26 while (to_del != NULL) { in ~DIEObject()
39 return advance(NULL, &tag) != NULL ? tag : 0; in get_tag()
55 if (org_die_obj != NULL) { in get_name()
65 if (org_die_obj != NULL) { in get_name()
71 return NULL; in get_name()
78 const Elf_Byte* die_attr = advance(&at_abbr, NULL); in get_attrib()
79 if (die_attr == NULL) { in get_attrib()
109 return NULL; in get_leaf_for_address()
116 while (child != NULL) { in get_leaf_for_address()
118 if (leaf != NULL) { in get_leaf_for_address()
[all …]
Delff_api.cc36 if (handle != NULL) { in elff_close()
44 assert(handle != NULL); in elff_is_exec()
45 if (handle == NULL) { in elff_is_exec()
57 assert(handle != NULL && address_info != NULL); in elff_get_pc_address_info()
58 if (handle == NULL || address_info == NULL) { in elff_get_pc_address_info()
74 assert(handle != NULL && address_info != NULL); in elff_free_pc_address_info()
75 if (handle == NULL || address_info == NULL) { in elff_free_pc_address_info()
Ddwarf_cu.cc26 cu_die_(NULL), in DwarfCU()
27 prev_cu_(NULL) { in DwarfCU()
31 if (cu_die_ != NULL) { in ~DwarfCU()
48 assert(ret != NULL); in create_instance()
49 if (ret == NULL) { in create_instance()
287 if (cu_die_ != NULL) { in dump()
319 if (process_DIE(parse_context, get_DIE(), NULL) == NULL) { in parse()
347 if (die_abbr == NULL) { in process_DIE()
348 return NULL; in process_DIE()
353 const Dwarf_Abbr_AT* at_abbr = die_abbr->process(NULL, &die_tag); in process_DIE()
[all …]
Dmapfile.c83 NULL, win32_disposition, win32_flags, NULL); in mapfile_open()
115 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) { in mapfile_read()
158 void* mapped_at = NULL; in mapfile_map()
184 return NULL; in mapfile_map()
210 map_handle = CreateFileMapping(handle, NULL, win32_prot, in mapfile_map()
211 converter.HighPart, converter.LowPart, NULL); in mapfile_map()
212 if (map_handle != NULL) { in mapfile_map()
220 if (mapped_at == NULL) { in mapfile_map()
222 return NULL; in mapfile_map()
228 return NULL; in mapfile_map()
/ndk/sources/host-tools/sed-4.2.1/sed/
Dsed.c56 # define ATOI(x) strtoul(x, NULL, 0)
76 char *in_place_extension = NULL;
88 static struct vector *the_program = NULL;
167 ck_fclose (NULL);
183 {"binary", 0, NULL, 'b'},
184 {"regexp-extended", 0, NULL, 'r'},
186 {"regexp-perl", 0, NULL, 'R'},
188 {"expression", 1, NULL, 'e'},
189 {"file", 1, NULL, 'f'},
190 {"in-place", 2, NULL, 'i'},
[all …]
Dcompile.c101 { { "/dev/stdin", false, NULL, NULL }, &my_stdin },
102 { { "/dev/stdout", false, NULL, NULL }, &my_stdout },
103 { { "/dev/stderr", false, NULL, NULL }, &my_stderr },
104 { { NULL, false, NULL, NULL }, NULL }
114 static struct sed_label *jumps = NULL;
115 static struct sed_label *labels = NULL;
122 static struct buffer *pending_text = NULL;
123 static struct text_buf *old_text_buf = NULL;
127 static struct sed_label *blocks = NULL;
187 static struct output *file_read = NULL;
[all …]
/ndk/sources/host-tools/sed-4.2.1/lib/
Dlocalcharset.c119 if (cp == NULL) in get_charset_aliases()
130 if (dir == NULL || dir[0] == '\0') in get_charset_aliases()
139 if (file_name != NULL) in get_charset_aliases()
148 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) in get_charset_aliases()
154 char *res_ptr = NULL; in get_charset_aliases()
196 if (res_ptr == NULL) in get_charset_aliases()
200 if (old_res_ptr != NULL) in get_charset_aliases()
217 if (file_name != NULL) in get_charset_aliases()
344 if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) in locale_charset()
350 if (locale == NULL || locale[0] == '\0') in locale_charset()
[all …]
Dregcomp.c240 return NULL;
399 if (__mbrtowc (NULL, (char *) &c, 1, &mbs) == (size_t) -2) in re_compile_fastmap_iter()
485 preg->buffer = NULL;
491 if (BE (preg->fastmap == NULL, 0))
507 preg->translate = NULL;
525 preg->fastmap = NULL;
620 if (dfa->eclosures != NULL) in free_dfa_content()
622 if (dfa->inveclosures != NULL) in free_dfa_content()
624 if (dfa->edests != NULL) in free_dfa_content()
664 if (BE (dfa != NULL, 1))
[all …]
Derror.c129 __fxprintf (NULL, ": %s", s); in print_errno_message()
143 wchar_t *wmessage = NULL; in error_tail()
156 wmessage = NULL; in error_tail()
160 if (p == NULL) in error_tail()
212 __fxprintf (NULL, "\n"); in error_tail()
248 __fxprintf (NULL, "%s: ", program_name); in error()
260 __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); in error()
307 __fxprintf (NULL, "%s:", program_name); in error_at_line()
314 __fxprintf (NULL, file_name != NULL ? "%s:%d: " : " ", in error_at_line()
317 fprintf (stderr, file_name != NULL ? "%s:%d: " : " ", in error_at_line()
[all …]
Dgetopt.c168 if (new_str == NULL) in exchange()
237 d->__nextchar = NULL; in _getopt_initialize()
264 if (__getopt_nonoption_flags == NULL in _getopt_initialize()
275 if (__getopt_nonoption_flags == NULL) in _getopt_initialize()
358 d->optarg = NULL; in _getopt_internal_r()
381 if (d->__nextchar == NULL || *d->__nextchar == '\0') in _getopt_internal_r()
457 + (longopts != NULL && argv[d->optind][1] == '-')); in _getopt_internal_r()
475 if (longopts != NULL in _getopt_internal_r()
482 const struct option *pfound = NULL; in _getopt_internal_r()
505 else if (pfound == NULL) in _getopt_internal_r()
[all …]
Dcopy-acl.c58 if (acl == NULL) in qcopy_acl()
102 if (acl == NULL) in qcopy_acl()
145 if (acl == NULL) in qcopy_acl()
190 acl_t *aclp = NULL; in qcopy_acl()
251 ? facl (source_desc, ACE_GETACLCNT, 0, NULL) in qcopy_acl()
252 : acl (src_name, ACE_GETACLCNT, 0, NULL)); in qcopy_acl()
259 ace_entries = NULL; in qcopy_acl()
268 ace_entries = NULL; in qcopy_acl()
273 if (ace_entries == NULL) in qcopy_acl()
292 ? facl (source_desc, GETACLCNT, 0, NULL) in qcopy_acl()
[all …]
Dmbrtowc.c43 if (pstate == NULL) in mbrtowc()
46 if (s == NULL) in mbrtowc()
48 pwc = NULL; in mbrtowc()
96 mbtowc (NULL, NULL, 0); in mbrtowc()
103 if (pwc != NULL && ((*pwc == 0) != (res == 0))) in mbrtowc()
325 if (s == NULL) in rpl_mbrtowc()
327 pwc = NULL; in rpl_mbrtowc()
339 if (ps == NULL) in rpl_mbrtowc()
357 if (pwc != NULL) in rpl_mbrtowc()
374 if (pwc != NULL) in rpl_mbrtowc()
/ndk/sources/cxx-stl/stlport/src/
Dcxa.c74 if ( new == NULL ) in __cxa_atexit()
92 { PTHREAD_MUTEX_RECURSIVE /* PTHREAD_MUTEX_DEFAULT */, PTHREAD_PRIO_NONE, {NULL,NULL},
93 NULL, { NULL }, /* MUTEX_FLAGS_PRIVATE */ 0x1, 0, 0, 0, {NULL, NULL},
120 for (l = __exit_funcs; l != NULL; l = l->next) { in __new_exitfn()
133 if (l == NULL) { in __new_exitfn()
135 if (l != NULL) { in __new_exitfn()
145 if ( l != NULL ) in __new_exitfn()
152 return l == NULL ? NULL : &l->fns[i]; in __new_exitfn()
175 if ( (d == NULL || d == f->func.cxa.dso_handle) && (f->flavor == ef_cxa) ) { in __cxa_finalize()
185 if (d != NULL) in __cxa_finalize()
/ndk/sources/host-tools/make-3.81/glob/
Dglob.c85 #ifndef NULL
86 # define NULL 0 macro
201 if (p == NULL)
342 return NULL;
373 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0)
382 if (begin != NULL)
396 if (onealt == NULL)
415 if (next == NULL)
429 if (rest == NULL)
453 pglob->gl_pathv = NULL;
[all …]
/ndk/sources/host-tools/sed-4.2.1/m4/
Dwcrtomb.m421 dnl On AIX 4.3, OSF/1 5.1 and Solaris 10, wcrtomb (NULL, 0, NULL) sometimes
50 if (setlocale (LC_ALL, "$LOCALE_FR") != NULL)
52 if (wcrtomb (NULL, 0, NULL) != 1)
55 if (setlocale (LC_ALL, "$LOCALE_FR_UTF8") != NULL)
57 if (wcrtomb (NULL, 0, NULL) != 1)
60 if (setlocale (LC_ALL, "$LOCALE_JA") != NULL)
62 if (wcrtomb (NULL, 0, NULL) != 1)
65 if (setlocale (LC_ALL, "$LOCALE_ZH_CN") != NULL)
67 if (wcrtomb (NULL, 0, NULL) != 1)
/ndk/sources/cxx-stl/gabi++/src/
Ddynamic_cast.cc121 return (match_object == NULL || object == match_object) ? object : NULL; in walk_object()
127 return NULL; in walk_object()
145 const void* result = NULL; in walk_object()
159 else if (walk_subobject_result != NULL) in walk_object()
161 if (result == NULL) in walk_object()
175 return NULL; in walk_object()
193 dst_object(NULL), result(NULL) in cast_context()
210 && context->dst_object != NULL in base_to_derived_cast()
213 if (context->result == NULL) in base_to_derived_cast()
303 most_derived_class_type_info, NULL, dst)); in __dynamic_cast()
[all …]
/ndk/sources/host-tools/make-3.81/
Dgetopt.c110 char *optarg = NULL;
321 if (new_str == NULL) in exchange()
392 nextchar = NULL; in _getopt_initialize()
408 else if (posixly_correct != NULL) in _getopt_initialize()
414 if (posixly_correct == NULL in _getopt_initialize()
419 if (__getopt_nonoption_flags == NULL in _getopt_initialize()
430 if (__getopt_nonoption_flags == NULL) in _getopt_initialize()
506 optarg = NULL; in _getopt_internal()
528 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
602 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal()
[all …]
/ndk/sources/host-tools/ndk-stack/
Dndk-stack-parser.c133 if (parser == NULL) in CreateNdkCrashParser()
134 return NULL; in CreateNdkCrashParser()
152 return NULL; in CreateNdkCrashParser()
158 if (parser != NULL) { in DestroyNdkCrashParser()
175 if (line == NULL || *line == '\0') { in ParseLine()
181 if (strstr(line, _crash_dump_header) != NULL) { in ParseLine()
196 if (strstr(line, _build_fingerprint_header) != NULL) { in ParseLine()
272 return NULL; in get_next_token()
293 if (wrk == NULL) { in ParseFrame()
295 if (wrk == NULL) { in ParseFrame()
[all …]
/ndk/sources/host-tools/ndk-stack/regex/
Dengine.c155 if (g->must != NULL) { in matcher()
167 m->pmatch = NULL; in matcher()
168 m->lastpos = NULL; in matcher()
182 if (endp == NULL) { /* a miss */ in matcher()
192 assert(m->coldp != NULL); in matcher()
196 if (endp != NULL) in matcher()
205 if (m->pmatch == NULL) in matcher()
208 if (m->pmatch == NULL) { in matcher()
218 if (g->nplus > 0 && m->lastpos == NULL) in matcher()
221 if (g->nplus > 0 && m->lastpos == NULL) { in matcher()
[all …]
/ndk/sources/android/cpufeatures/
Dcpu-features.c136 char* result = NULL; in extract_cpuinfo_field()
146 if (p == NULL) in extract_cpuinfo_field()
158 if (p == NULL || p[1] != ' ') in extract_cpuinfo_field()
164 if (q == NULL) in extract_cpuinfo_field()
170 if (result == NULL) in extract_cpuinfo_field()
193 if (list == NULL) in has_list_item()
240 return NULL; in parse_decimal()
304 if (q == NULL) { in cpulist_parse()
310 if (p == NULL) in cpulist_parse()
320 if (p == NULL) in cpulist_parse()
[all …]
/ndk/sources/host-tools/make-3.81/w32/compat/
Ddirent.c38 return NULL; in opendir()
42 return NULL; in opendir()
46 return NULL; in opendir()
53 return NULL; in opendir()
115 return NULL; in readdir()
121 return NULL; in readdir()
127 return NULL; in readdir()
129 return NULL; in readdir()

1234567