Home
last modified time | relevance | path

Searched refs:stridx (Results 1 – 25 of 29) sorted by relevance

12

/external/bcc/src/cc/
Dbcc_elf.c129 size_t stridx; in listprobes() local
133 if (elf_getshdrstrndx(e, &stridx) != 0) in listprobes()
161 name = elf_strptr(e, stridx, header.sh_name); in listprobes()
187 static int list_in_scn(Elf *e, Elf_Scn *section, size_t stridx, size_t symsize, in list_in_scn() argument
205 if ((name = elf_strptr(e, stridx, sym.st_name)) == NULL) in list_in_scn()
255 size_t stridx; in get_section_elf_data() local
256 if (elf_getshdrstrndx(e, &stridx) != 0) in get_section_elf_data()
263 name = elf_strptr(e, stridx, header.sh_name); in get_section_elf_data()
511 size_t stridx; in bcc_elf_get_text_scn_info() local
515 (err = elf_getshdrstrndx(e, &stridx)) < 0) in bcc_elf_get_text_scn_info()
[all …]
/external/elfutils/tests/
Demptyfile.c36 static size_t stridx = 0; variable
42 size_t lastidx = stridx; in add_string()
58 stridx += size; in add_string()
60 str, stridx, lastidx); in add_string()
68 stridx = 0; // Reset strtab strings index in check_elf()
Delfstrtab.c35 static size_t stridx = 0; variable
109 size_t lastidx = stridx; in add_string()
125 stridx += size; in add_string()
127 str, stridx, lastidx); in add_string()
135 stridx = 0; in check_elf()
317 stridx = shdr->sh_size; in check_elf()
Dfillfile.c36 static size_t stridx = 0; variable
42 size_t lastidx = stridx; in add_strtab_entry()
58 stridx += size; in add_strtab_entry()
60 str, stridx, lastidx); in add_strtab_entry()
202 stridx = 0; // Reset strtab strings index in check_elf()
/external/u-boot/cmd/
Dfdt.c761 int stridx = 0; in fdt_parse_prop() local
769 while ((*newp != '>') && (stridx < count)) { in fdt_parse_prop()
775 newp = newval[++stridx]; in fdt_parse_prop()
809 while ((stridx < count) && (*newp != ']')) { in fdt_parse_prop()
813 newp = newval[++stridx]; in fdt_parse_prop()
832 while (stridx < count) { in fdt_parse_prop()
837 newp = newval[++stridx]; in fdt_parse_prop()
/external/toybox/toys/posix/
Dod.c234 if (-1 == (type = stridx("acduox"USE_TOYBOX_FLOAT("f"), *(s++)))) break; in append_base()
243 if (-1 == (size = stridx("FDL", *s))) size = sizeof(double); in append_base()
249 if (-1 == (size = stridx("CSIL", *s))) size = 4; in append_base()
273 else if (0>(TT.address_idx = stridx("ndox", *TT.A))) in od_main()
Dfind.c375 S_IFREG, S_IFSOCK}, i = stridx("bcdlpfs", *ss[1]); in do_find()
387 new->st.st_mtime}[stridx("acm", *s)]; in do_find()
390 if (len && -1!=(uu = stridx("dhms",tolower(copy[len-1])))) { in do_find()
Dtest.c68 if (-1 != (i = stridx("hLbcdefgpSusxwr", c))) { in do_test()
Dsed.c430 x = stridx("\\\a\b\f\r\t\v", line[i]); in sed_line()
598 j = stridx(from, line[i]); in sed_line()
877 if (0 <= (l = stridx("igp", *line))) command->sflags |= 1<<l; in parse_pattern()
/external/toybox/toys/other/
Dreboot.c32 idx = stridx("hp", *toys.which->name)+1; in reboot_main()
Dtruncate.c58 if (-1 != (TT.type = stridx("+-<>/%", *TT.s))) TT.s++; in truncate_main()
Ddevmem.c31 if (strlen(toys.optargs[1])!=1 || (i=stridx("1248", *toys.optargs[1]))==-1) in devmem_main()
Dbase64.c64 if ((x = stridx(toybuf, buf[i])) != -1) { in do_base64()
Dinotifyd.c60 i = stridx(masklist, *masks);; in inotifyd_main()
Dmakedevs.c75 i = stridx("pcbdf", type);
/external/toybox/lib/
Dargs.c302 } else if (-1 != (idx = stridx("|^ ;", *options))) new->flags |= 1<<idx; in parse_optflaglist()
304 else if (-1 != (idx = stridx("<>=", *options))) { in parse_optflaglist()
349 idx = stridx("-+!", *++options); in parse_optflaglist()
Dlib.c336 int stridx(char *haystack, char needle) in stridx() function
431 int idx = stridx(from, c); in unescape()
829 if (-1 != (new = stridx("ny", tolower(buf)))) def = new; in yesno()
1213 while (0 <= stridx("0'#-+ ", *s)) s++; in next_printf()
Dlib.h224 int stridx(char *haystack, char needle);
/external/toybox/toys/lsb/
Dmknod.c43 type = stridx("pcub", *toys.optargs[1]); in mknod_main()
Dseq.c40 if (-1 == stridx("aAeEfFgG", *s) || (s = next_printf(s, 0))) { in insanitize()
/external/toybox/toys/android/
Dlog.c35 i = stridx("defisvw", tolower(*TT.p)); in log_main()
/external/toybox/toys/example/
Dlogwrapper.c40 if (-1 == (len = stridx("\n\\\"", *sss))) *(ss++) = *sss; in logwrapper_main()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/vim/
Dvimrc155 let l:spacecolonspace = stridx(l:value, " : ")
162 let l:hidden = stridx(l:value, " (Hidden)")
171 let l:pound = stridx(l:value, "#")
/external/swiftshader/third_party/LLVM/utils/vim/
Dvimrc148 let l:spacecolonspace = stridx(l:value, " : ")
155 let l:hidden = stridx(l:value, " (Hidden)")
164 let l:pound = stridx(l:value, "#")
/external/llvm/utils/vim/
Dvimrc155 let l:spacecolonspace = stridx(l:value, " : ")
162 let l:hidden = stridx(l:value, " (Hidden)")
171 let l:pound = stridx(l:value, "#")

12