/third_party/elfutils/tests/ |
D | emptyfile.c | 37 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()
|
D | elfstrtab.c | 36 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()
|
D | fillfile.c | 37 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/ |
D | od.c | 234 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()
|
D | find.c | 418 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()
|
D | test.c | 69 if (-1 != (i = stridx("hLbcdefgpSusxwr", c))) { in do_test()
|
D | sed.c | 435 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()
|
D | ps.c | 896 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/ |
D | reboot.c | 25 idx = stridx("hp", *toys.which->name)+1; in reboot_main()
|
/third_party/toybox/toys/other/ |
D | reboot.c | 43 idx = stridx("hp", *toys.which->name)+1;
|
D | truncate.c | 58 if (-1 != (TT.type = stridx("+-<>/%", *TT.s))) TT.s++; in truncate_main()
|
D | devmem.c | 30 if (strlen(toys.optargs[1])!=1 || (i=stridx("1248", *toys.optargs[1]))==-1) in devmem_main()
|
D | base64.c | 80 if ((x = stridx(toybuf, buf[i])) != -1) { in do_base()
|
D | inotifyd.c | 60 i = stridx(masklist, *masks);; in inotifyd_main()
|
D | makedevs.c | 77 i = stridx("pcbdf", type);
|
/third_party/toybox/lib/ |
D | args.c | 300 } 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()
|
D | lib.c | 336 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()
|
D | lib.h | 236 int stridx(char *haystack, char needle);
|
/third_party/toybox/toys/lsb/ |
D | mknod.c | 43 type = stridx("pcub", *toys.optargs[1]); in mknod_main()
|
D | seq.c | 40 if (-1 == stridx("aAeEfFgG", *s) || (s = next_printf(s, 0))) { in insanitize()
|
/third_party/toybox/toys/android/ |
D | log.c | 35 i = stridx("defisvw", tolower(*TT.p)); in log_main()
|
/third_party/toybox/toys/example/ |
D | logwrapper.c | 40 if (-1 == (len = stridx("\n\\\"", *sss))) *(ss++) = *sss; in logwrapper_main()
|
/third_party/toybox/toys/pending/ |
D | wget.c | 259 return xstrndup(redir, stridx(redir, '\r')); in wget_redirect()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | ps.c | 853 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/ |
D | lib.h | 229 int stridx(char *haystack, char needle);
|