Home
last modified time | relevance | path

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

/glibc-2.36/string/
Dstrstr.c39 strstr2 (const unsigned char *hs, const unsigned char *ne) in strstr2() argument
43 for (int c = hs[0]; h1 != h2 && c != 0; c = *++hs) in strstr2()
45 return h1 == h2 ? (char *)hs - 2 : NULL; in strstr2()
49 strstr3 (const unsigned char *hs, const unsigned char *ne) in strstr3() argument
53 for (int c = hs[0]; h1 != h2 && c != 0; c = *++hs) in strstr3()
55 return h1 == h2 ? (char *)hs - 3 : NULL; in strstr3()
78 const unsigned char *hs = (const unsigned char *) haystack; in STRSTR() local
83 return (char *)hs; in STRSTR()
84 hs = (const unsigned char *)strchr ((const char*)hs, ne[0]); in STRSTR()
85 if (hs == NULL || ne[1] == '\0') in STRSTR()
[all …]
Dmemmem.c56 const unsigned char *hs = (const unsigned char *) haystack; in __memmem() local
60 return (void *) hs; in __memmem()
62 return (void *) memchr (hs, ne[0], hs_len); in __memmem()
68 const unsigned char *end = hs + hs_len - ne_len; in __memmem()
72 uint32_t nw = ne[0] << 16 | ne[1], hw = hs[0] << 16 | hs[1]; in __memmem()
73 for (hs++; hs <= end && hw != nw; ) in __memmem()
74 hw = hw << 16 | *++hs; in __memmem()
75 return hw == nw ? (void *)hs - 1 : NULL; in __memmem()
80 return two_way_long_needle (hs, hs_len, ne, ne_len); in __memmem()
95 for ( ; hs <= end; ) in __memmem()
[all …]
/glibc-2.36/benchtests/
Dbench-strstr.c227 char *hs = (char *) buf2; in test_hard_needle() local
236 memset (hs, 'a', hs_len); in test_hard_needle()
239 hs[i - 5] = 'b'; in test_hard_needle()
240 hs[i - 62] = 'b'; in test_hard_needle()
254 do_one_test (json_ctx, impl, hs, ne, NULL); in test_hard_needle()
267 memset (hs, 'a', hs_len); in test_hard_needle()
270 hs[i - 5] = 'b'; in test_hard_needle()
271 hs[i - 6] = 'b'; in test_hard_needle()
285 do_one_test (json_ctx, impl, hs, ne, NULL); in test_hard_needle()
296 hs[i] = (rand () & 255) > 155 ? 'a' : 'b'; in test_hard_needle()
[all …]
Dbench-memmem.c32 const char *hs = haystack; in basic_memmem() local
36 return (void *)hs; in basic_memmem()
39 const char *end = hs + hs_len - ne_len; in basic_memmem()
41 for ( ; hs <= end; hs++) in basic_memmem()
43 if (hs[0] != c) in basic_memmem()
46 if (hs[i] != ne[i]) in basic_memmem()
49 return (void *)hs; in basic_memmem()
/glibc-2.36/sysdeps/powerpc/fpu/
Dt_sqrt.c129 double hs = sqrt((mval+1/512.0)*eval);
130 double as = (ls+hs)*0.5;
132 double hx = 1/(2.0*hs);
137 assert((hs-ls)/as < 1/256.0);
/glibc-2.36/manual/
Dsummary.pl177 push @{$standardsx{$e}{hs}}, [$h, $s];
186 for ($j=0; $j<@{$standardsx{$e}{hs}}; ++$j) {
187 $h = $standardsx{$e}{hs}[$j]->[0];
188 $s = $standardsx{$e}{hs}[$j]->[1];
/glibc-2.36/sysdeps/aarch64/multiarch/
Dmemset_base64.S51 b.hs L(set_medium)
121 b.hs 1b
166 b.hs 1b
Dmemset_kunpeng.S41 b.hs L(set_long)
105 b.hs 1b
Dmemset_a64fx.S132 b.hs L(L2)
142 b.hs 1b
Dmemcpy_sve.S179 b.hs L(copy_long)
Dmemcpy_advsimd.S209 b.hs L(copy_long)
Dmemcpy_a64fx.S271 b.hs L(copy_large)
/glibc-2.36/sysdeps/aarch64/
Dmemset.S43 b.hs L(set_medium)
184 b.hs 3b
Dmemrchr.S116 csel result, tmp, xzr, hs
Dmemcmp.S64 b.hs L(loop_align)
Dstrncmp.S193 b.hs L(try_misaligned_words)
Dmemcpy.S238 b.hs L(copy_long)
/glibc-2.36/sysdeps/sh/
D____longjmp_chk.S73 cmp/hs r15, reg; \
/glibc-2.36/sysdeps/unix/sysv/linux/sh/
D____longjmp_chk.S78 cmp/hs r15, reg; \
/glibc-2.36/hesiod/
DREADME.hesiod74 classes=in,hs