Home
last modified time | relevance | path

Searched refs:namelist (Results 1 – 20 of 20) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Dthread_map.c27 struct dirent **namelist = NULL; in thread_map__new_by_pid() local
31 items = scandir(name, &namelist, filter, NULL); in thread_map__new_by_pid()
38 threads->map[i] = atoi(namelist[i]->d_name); in thread_map__new_by_pid()
43 free(namelist[i]); in thread_map__new_by_pid()
44 free(namelist); in thread_map__new_by_pid()
66 struct dirent dirent, *next, **namelist = NULL; in thread_map__new_by_uid() local
96 items = scandir(path, &namelist, filter, NULL); in thread_map__new_by_uid()
117 threads->map[threads->nr + i] = atoi(namelist[i]->d_name); in thread_map__new_by_uid()
120 free(namelist[i]); in thread_map__new_by_uid()
121 free(namelist); in thread_map__new_by_uid()
[all …]
Dprobe-event.c1785 struct strlist *namelist, bool allow_suffix) in get_new_event_name() argument
1795 if (!strlist__has_entry(namelist, buf)) in get_new_event_name()
1811 if (!strlist__has_entry(namelist, buf)) in get_new_event_name()
1830 struct strlist *namelist; in __add_probe_trace_events() local
1840 namelist = get_probe_trace_event_names(fd, false); in __add_probe_trace_events()
1841 if (!namelist) { in __add_probe_trace_events()
1864 namelist, allow_suffix); in __add_probe_trace_events()
1879 strlist__add(namelist, event); in __add_probe_trace_events()
1907 strlist__delete(namelist); in __add_probe_trace_events()
2102 struct strlist *namelist) in del_trace_probe_event() argument
[all …]
Dmachine.c565 struct dirent **namelist = NULL; in machines__create_guest_kernel_maps() local
578 items = scandir(symbol_conf.guestmount, &namelist, NULL, NULL); in machines__create_guest_kernel_maps()
582 if (!isdigit(namelist[i]->d_name[0])) { in machines__create_guest_kernel_maps()
586 pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10); in machines__create_guest_kernel_maps()
588 (endp == namelist[i]->d_name) || in machines__create_guest_kernel_maps()
591 namelist[i]->d_name); in machines__create_guest_kernel_maps()
596 namelist[i]->d_name); in machines__create_guest_kernel_maps()
605 free(namelist); in machines__create_guest_kernel_maps()
/external/libselinux/src/
Dbooleans.c40 struct dirent **namelist; in security_get_boolean_names() local
50 *len = scandir(path, &namelist, &filename_select, alphasort); in security_get_boolean_names()
62 n[i] = strdup(namelist[i]->d_name); in security_get_boolean_names()
72 free(namelist[i]); in security_get_boolean_names()
74 free(namelist); in security_get_boolean_names()
/external/selinux/libselinux/src/
Dbooleans.c41 struct dirent **namelist; in security_get_boolean_names() local
54 *len = scandir(path, &namelist, &filename_select, alphasort); in security_get_boolean_names()
66 n[i] = (char *)malloc(_D_ALLOC_NAMLEN(namelist[i])); in security_get_boolean_names()
71 strcpy(n[i], namelist[i]->d_name); in security_get_boolean_names()
77 free(namelist[i]); in security_get_boolean_names()
79 free(namelist); in security_get_boolean_names()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c247 static int getall(struct listentry ** namelist);
357 listentry * namelist = NULL; in main() local
497 count = getall(&namelist); in main()
509 fakeargv[i + argc] = namelist->name; in main()
510 namelist = namelist->next; in main()
674 struct listentry * entry = namelist; in main()
1029 static int getall(struct listentry ** namelist) { in getall() argument
1036 *namelist = dummyentry.next; in getall()
/external/openssh/
Dssh-keyscan.08 [host | addrlist namelist] ...
73 host-or-namelist bits exponent modulus
77 host-or-namelist keytype base64-encoded-key
Dssh-keyscan.c351 char *namebase, *name, *namelist; in conalloc() local
354 namebase = namelist = xstrdup(iname); in conalloc()
357 name = xstrsep(&namelist, ","); in conalloc()
373 fdcon[s].c_namelist = namelist; in conalloc()
/external/selinux/policycoreutils/setfiles/
Drestore.c302 const char *namelist[2] = {name, NULL}; in process_one() local
313 fts_handle = fts_open((char **)namelist, r_opts->fts_flags, NULL); in process_one()
317 r_opts->progname, namelist[0], strerror(errno)); in process_one()
326 r_opts->progname, namelist[0], strerror(errno)); in process_one()
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java1086 return namelist (); in optnamelist()
1156 optdef.setRequiresSet (namelist ()); in optmetadata()
1167 optdef.setExcludesSet (namelist ()); in optmetadata()
1188 String [] namelist () in namelist() method in OptsParser.MetadataParser
/external/sonivox/jet_tools/JetCreator/
DJetUtils.py491 if not FileJustName(segment.filename) in zip.namelist():
494 if not FileJustName(segment.output) in zip.namelist():
500 if not FileJustName(library) in zip.namelist():
DJetCreator.py1017 fileList = zip.namelist()
1034 for name in zip.namelist():
/external/elfutils/src/src/
Delflint.c3043 struct namelist in check_verdef() struct
3046 struct namelist *next; in check_verdef() argument
3047 } *namelist = NULL; in check_verdef() local
3048 struct namelist *refnamelist = NULL; in check_verdef()
3118 struct namelist *newname = alloca (sizeof (*newname)); in check_verdef()
3120 newname->next = namelist; in check_verdef()
3121 namelist = newname; in check_verdef()
3173 while (namelist != NULL) in check_verdef()
3179 && strcmp (runp->name, namelist->name) == 0) in check_verdef()
3187 idx, section_name (ebl, idx), namelist->name); in check_verdef()
[all …]
/external/selinux/libsemanage/src/
Dsemanage_store.c781 struct dirent **namelist = NULL; in semanage_remove_directory() local
783 if ((num_entries = scandir(path, &namelist, semanage_filename_select, in semanage_remove_directory()
790 snprintf(s, sizeof(s), "%s/%s", path, namelist[i]->d_name); in semanage_remove_directory()
804 free(namelist[i]); in semanage_remove_directory()
806 free(namelist); in semanage_remove_directory()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc2757 INTERCEPTOR(int, scandir, char *dirp, __sanitizer_dirent ***namelist,
2760 COMMON_INTERCEPTOR_ENTER(ctx, scandir, dirp, namelist, filter, compar);
2767 int res = REAL(scandir)(dirp, namelist, filter ? wrapped_scandir_filter : 0,
2771 if (namelist && res > 0) {
2772 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, namelist, sizeof(*namelist));
2773 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *namelist, sizeof(**namelist) * res);
2775 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, (*namelist)[i],
2776 (*namelist)[i]->d_reclen);
2809 INTERCEPTOR(int, scandir64, char *dirp, __sanitizer_dirent64 ***namelist,
2812 COMMON_INTERCEPTOR_ENTER(ctx, scandir64, dirp, namelist, filter, compar);
[all …]
/external/selinux/sepolgen/src/sepolgen/
Dlex.py408 def _names_to_funcs(namelist,fdict): argument
410 for n in namelist:
/external/llvm/include/llvm/Support/
DDwarf.def77 HANDLE_DW_TAG(0x002b, namelist)
/external/elfutils/src/libdw/
Dknown-dwarf.h585 ONE_KNOWN_DW_TAG (namelist, DW_TAG_namelist) \
/external/owasp/sanitizer/tools/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...
/external/emma/lib/
Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/ ...