Home
last modified time | relevance | path

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

12

/third_party/elfutils/tests/
Demptyfile.c37 static size_t stridx = 0; variable
43 size_t lastidx = stridx; in add_string()
59 stridx += size; in add_string()
61 str, stridx, lastidx); in add_string()
69 stridx = 0; // Reset strtab strings index in check_elf()
Delfstrtab.c36 static size_t stridx = 0; variable
110 size_t lastidx = stridx; in add_string()
126 stridx += size; in add_string()
128 str, stridx, lastidx); in add_string()
136 stridx = 0; in check_elf()
318 stridx = shdr->sh_size; in check_elf()
Dfillfile.c37 static size_t stridx = 0; variable
43 size_t lastidx = stridx; in add_strtab_entry()
59 stridx += size; in add_strtab_entry()
61 str, stridx, lastidx); in add_strtab_entry()
203 stridx = 0; // Reset strtab strings index in check_elf()
/third_party/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.c418 i = stridx("bcdlpfs", *t); in do_find()
431 new->st.st_mtime}[stridx("acm", *s)]; in do_find()
434 if (len && -1!=(uu = stridx("dhms",tolower(copy[len-1])))) { in do_find()
489 + macoff[!*s ? 0 : stridx("ac", s[1])+1]); in do_find()
506 + macoff[!s[5] ? 0 : stridx("ac", s[5])+1]); in do_find()
Dtest.c69 if (-1 != (i = stridx("hLbcdefgpSusxwr", c))) { in do_test()
Dsed.c435 x = stridx("\\\a\b\f\r\t\v", line[i]); in sed_line()
617 j = stridx(from, line[i]); in sed_line()
899 if (0 <= (l = stridx("igp", *line))) command->sflags |= 1<<l; in parse_pattern()
Dps.c896 while (-1!=(k = stridx(s, '/')) && k<i) { in get_ps()
1103 else if (-1==(k = stridx((char []){PS_NI, PS_SCH, PS_ELAPSED, PS__CPU, in parse_ko()
1581 run[1+stridx("RTtZ", *string_field(mix.tb[i], &field))]++; in top_common()
/third_party/toybox/porting/liteos_a/toys/other/
Dreboot.c25 idx = stridx("hp", *toys.which->name)+1; in reboot_main()
/third_party/toybox/toys/other/
Dreboot.c43 idx = stridx("hp", *toys.which->name)+1;
Dtruncate.c58 if (-1 != (TT.type = stridx("+-<>/%", *TT.s))) TT.s++; in truncate_main()
Ddevmem.c30 if (strlen(toys.optargs[1])!=1 || (i=stridx("1248", *toys.optargs[1]))==-1) in devmem_main()
Dbase64.c80 if ((x = stridx(toybuf, buf[i])) != -1) { in do_base()
Dinotifyd.c60 i = stridx(masklist, *masks);; in inotifyd_main()
Dmakedevs.c77 i = stridx("pcbdf", type);
/third_party/toybox/lib/
Dargs.c300 } else if (-1 != (idx = stridx("|^ ;", *options))) new->flags |= 1<<idx; in parse_optflaglist()
302 else if (-1 != (idx = stridx("<>=", *options))) { in parse_optflaglist()
347 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()
453 if (-1 == (idx = stridx("\\abeEfnrtv'\"?0", **c))) return '\\'; in unescape2()
860 if (-1 != (new = stridx("ny", tolower(buf)))) def = new; in fyesno()
1209 while (0 <= stridx("0'#-+ ", *s)) s++; in next_printf()
Dlib.h236 int stridx(char *haystack, char needle);
/third_party/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()
/third_party/toybox/toys/android/
Dlog.c35 i = stridx("defisvw", tolower(*TT.p)); in log_main()
/third_party/toybox/toys/example/
Dlogwrapper.c40 if (-1 == (len = stridx("\n\\\"", *sss))) *(ss++) = *sss; in logwrapper_main()
/third_party/toybox/toys/pending/
Dwget.c259 return xstrndup(redir, stridx(redir, '\r')); in wget_redirect()
/third_party/toybox/porting/liteos_a/toys/posix/
Dps.c853 while (-1!=(k = stridx(s, '/')) && k<i) { in get_ps()
1060 else if (-1==(k = stridx((char []){PS_NI, PS_SCH, PS_ELAPSED, PS__CPU, in parse_ko()
1437 run[1+stridx("RTtZ", *string_field(mix.tb[i], &field))]++; in top_common()
/third_party/toybox/porting/liteos_a/lib/
Dlib.h229 int stridx(char *haystack, char needle);

12