Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 84) sorted by relevance

1234

/glibc-2.36/posix/
Dtst-vfork1.c41 pid_t p1; in do_test() local
42 if ((p1 = vfork ()) == 0) in do_test()
47 else if (p1 == -1) in do_test()
60 if (TEMP_FAILURE_RETRY (waitpid (p1, &r, 0)) != p1) in do_test()
81 else if (p1 == -1) in do_test()
114 if (p0 == p1) in do_test()
116 printf ("p0(%ld) == p1(%ld)\n", (long int) p0, (long int) p1); in do_test()
120 if (p1 != p2) in do_test()
122 printf ("p1(%ld) != p2(%ld)\n", (long int) p1, (long int) p2); in do_test()
Dtst-vfork2.c76 pid_t p1; in do_test() local
77 if ((p1 = vfork ()) == 0) in do_test()
87 else if (p1 == -1) in do_test()
103 if (TEMP_FAILURE_RETRY (waitpid (p1, &r, 0)) != p1) in do_test()
124 else if (p1 == -1) in do_test()
157 if (p0 == p1) in do_test()
159 printf ("p0(%ld) == p1(%ld)\n", (long int) p0, (long int) p1); in do_test()
163 if (p1 != p2) in do_test()
165 printf ("p1(%ld) != p2(%ld)\n", (long int) p1, (long int) p2); in do_test()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/
Dtest-fmodrem-ldbl-128ibm.c35 volatile union u p1 = { .d = { DBL_MIN, 0.0 } }; variable
64 result |= TEST_FUNC (p1.ld, p1.ld, 0.0L); in do_test()
65 result |= TEST_FUNC (p1.ld, p2.ld, 0.0L); in do_test()
66 result |= TEST_FUNC (p1.ld, m1.ld, 0.0L); in do_test()
67 result |= TEST_FUNC (p1.ld, m2.ld, 0.0L); in do_test()
68 result |= TEST_FUNC (p2.ld, p1.ld, 0.0L); in do_test()
72 result |= TEST_FUNC (m1.ld, p1.ld, -0.0L); in do_test()
76 result |= TEST_FUNC (m2.ld, p1.ld, -0.0L); in do_test()
/glibc-2.36/string/
Dtest-strcasecmp.c129 unsigned char *p1 = buf1 + page_size - 512; in do_random_tests() local
157 p1[i] = tolower (random () & 255); in do_random_tests()
158 if (i < len1 + align1 && !p1[i]) in do_random_tests()
160 p1[i] = tolower (random () & 255); in do_random_tests()
161 if (!p1[i]) in do_random_tests()
162 p1[i] = tolower (1 + (random () & 127)); in do_random_tests()
177 memcpy (p2 + align2, p1 + align1, pos); in do_random_tests()
180 if (tolower (p2[align2 + pos]) == p1[align1 + pos]) in do_random_tests()
183 if (tolower (p2[align2 + pos]) == p1[align1 + pos]) in do_random_tests()
184 p2[align2 + pos] = toupper (p1[align1 + pos] in do_random_tests()
[all …]
Dtest-strcmp.c176 UCHAR *p1 = (UCHAR *) (buf1 + page_size - 512 * CHARBYTES); in do_random_tests() local
211 p1[i] = random () & 255; in do_random_tests()
212 if (i < len1 + align1 && !p1[i]) in do_random_tests()
214 p1[i] = random () & 255; in do_random_tests()
215 if (!p1[i]) in do_random_tests()
216 p1[i] = 1 + (random () & 127); in do_random_tests()
231 MEMCPY (p2 + align2, p1 + align1, pos); in do_random_tests()
234 if (p2[align2 + pos] == p1[align1 + pos]) in do_random_tests()
237 if (p2[align2 + pos] == p1[align1 + pos]) in do_random_tests()
238 p2[align2 + pos] = p1[align1 + pos] + 3 + (random () & 127); in do_random_tests()
[all …]
Dstrverscmp.c44 const unsigned char *p1 = (const unsigned char *) s1; in __strverscmp() local
68 if (p1 == p2) in __strverscmp()
71 unsigned char c1 = *p1++; in __strverscmp()
83 c1 = *p1++; in __strverscmp()
96 while (isdigit (*p1++)) in __strverscmp()
Dtest-strncasecmp.c191 unsigned char *p1 = buf1 + page_size - 512; in do_random_tests() local
219 p1[i] = tolower (random () & 255); in do_random_tests()
220 if (i < len1 + align1 && !p1[i]) in do_random_tests()
222 p1[i] = tolower (random () & 255); in do_random_tests()
223 if (!p1[i]) in do_random_tests()
224 p1[i] = tolower (1 + (random () & 127)); in do_random_tests()
239 memcpy (p2 + align2, p1 + align1, pos); in do_random_tests()
242 if (tolower (p2[align2 + pos]) == p1[align1 + pos]) in do_random_tests()
245 if (tolower (p2[align2 + pos]) == p1[align1 + pos]) in do_random_tests()
246 p2[align2 + pos] = toupper (p1[align1 + pos] in do_random_tests()
[all …]
Dtest-strcpy.c124 UCHAR *p1 = (UCHAR *) (buf1 + page_size) - 512; in do_random_tests() local
153 p1[i] = 0; in do_random_tests()
156 p1[i] = random () & BIG_CHAR; in do_random_tests()
157 if (i >= align1 && i < len + align1 && !p1[i]) in do_random_tests()
158 p1[i] = (random () & SMALL_CHAR) + 3; in do_random_tests()
165 res = (UCHAR *) CALL (impl, (CHAR *) (p2 + align2), (CHAR *) (p1 + align1)); in do_random_tests()
193 if (MEMCMP (p1 + align1, p2 + align2, len + 1)) in do_random_tests()
Dstrcasecmp.c51 const unsigned char *p1 = (const unsigned char *) s1; in __strcasecmp() local
55 if (p1 == p2) in __strcasecmp()
58 while ((result = TOLOWER (*p1) - TOLOWER (*p2++)) == 0) in __strcasecmp()
59 if (*p1++ == '\0') in __strcasecmp()
Dstrncase.c54 const unsigned char *p1 = (const unsigned char *) s1; in __strncasecmp() local
58 if (p1 == p2 || n == 0) in __strncasecmp()
61 while ((result = TOLOWER (*p1) - TOLOWER (*p2++)) == 0) in __strncasecmp()
62 if (*p1++ == '\0' || --n == 0) in __strncasecmp()
Dtest-memccpy.c98 unsigned char *p1 = buf1 + page_size - 512; in do_random_tests() local
155 p1[i] = c; in do_random_tests()
158 p1[i] = random () & 255; in do_random_tests()
159 if (i >= align1 && i < len + align1 && p1[i] == c) in do_random_tests()
160 p1[i] = (random () & 127) + 3 + c; in do_random_tests()
168 res = CALL (impl, p2 + align2, p1 + align1, (char) c, size); in do_random_tests()
206 if (memcmp (p1 + align1, p2 + align2, j)) in do_random_tests()
Dtest-strcat.c127 UCHAR *p1 = (UCHAR *) (buf1 + page_size) - 512; in do_random_tests() local
164 p1[i] = 0; in do_random_tests()
167 p1[i] = random () & BIG_CHAR; in do_random_tests()
168 if (i >= align1 && i < len1 + align1 && !p1[i]) in do_random_tests()
169 p1[i] = (random () & SMALL_CHAR) + 3; in do_random_tests()
186 (CHAR *) (p1 + align1)); in do_random_tests()
220 if (MEMCMP (p1 + align1, p2 + align2 + len2, len1 + 1)) in do_random_tests()
/glibc-2.36/elf/
Ddblload.c10 void *p1; in main() local
17 p1 = dlopen ("dblloadmod1.so", RTLD_LAZY); in main()
18 if (p1 == NULL) in main()
25 if (p1 == NULL) in main()
31 fp = dlsym (p1, "foo"); in main()
40 if (dlclose (p1) != 0) in main()
Ddl-cache.c356 _dl_cache_libcmp (const char *p1, const char *p2) in _dl_cache_libcmp() argument
358 while (*p1 != '\0') in _dl_cache_libcmp()
360 if (*p1 >= '0' && *p1 <= '9') in _dl_cache_libcmp()
368 val1 = *p1++ - '0'; in _dl_cache_libcmp()
370 while (*p1 >= '0' && *p1 <= '9') in _dl_cache_libcmp()
371 val1 = val1 * 10 + *p1++ - '0'; in _dl_cache_libcmp()
382 else if (*p1 != *p2) in _dl_cache_libcmp()
383 return *p1 - *p2; in _dl_cache_libcmp()
386 ++p1; in _dl_cache_libcmp()
390 return *p1 - *p2; in _dl_cache_libcmp()
Ddblunload.c10 void *p1; in main() local
17 p1 = dlopen ("dblloadmod1.so", RTLD_LAZY); in main()
18 if (p1 == NULL) in main()
31 if (dlclose (p1) != 0) in main()
/glibc-2.36/sysdeps/arm/
Dsetjmp.S87 stcl p1, cr10, [r12], #8
88 stcl p1, cr11, [r12], #8
89 stcl p1, cr12, [r12], #8
90 stcl p1, cr13, [r12], #8
91 stcl p1, cr14, [r12], #8
92 stcl p1, cr15, [r12], #8
D__longjmp.S102 ldcl p1, cr10, [r12], #8
103 ldcl p1, cr11, [r12], #8
104 ldcl p1, cr12, [r12], #8
105 ldcl p1, cr13, [r12], #8
106 ldcl p1, cr14, [r12], #8
107 ldcl p1, cr15, [r12], #8
/glibc-2.36/sysdeps/unix/sysv/linux/x86/
Dtst-cet-vfork-1.c35 pid_t p1; in do_test_1() local
44 if ((p1 = vfork ()) == 0) in do_test_1()
51 else if (p1 == -1) in do_test_1()
64 if (TEMP_FAILURE_RETRY (waitpid (p1, &r, 0)) != p1) in do_test_1()
/glibc-2.36/sysdeps/unix/sysv/linux/arm/
Dsetcontext.S63 ldcl p1, cr10, [r0], #8
64 ldcl p1, cr11, [r0], #8
65 ldcl p1, cr12, [r0], #8
66 ldcl p1, cr13, [r0], #8
67 ldcl p1, cr14, [r0], #8
68 ldcl p1, cr15, [r0], #8
Dgetcontext.S87 stcl p1, cr10, [r0], #8
88 stcl p1, cr11, [r0], #8
89 stcl p1, cr12, [r0], #8
90 stcl p1, cr13, [r0], #8
91 stcl p1, cr14, [r0], #8
92 stcl p1, cr15, [r0], #8
/glibc-2.36/sysdeps/aarch64/multiarch/
Dmemcpy_a64fx.S109 whilelo p1.b, vlen, n
112 ld1b z1.b, p1/z, [src, 1, mul vl]
114 st1b z1.b, p1, [dstin, 1, mul vl]
167 whilelo p1.b, xzr, tmp
168 ld1b z1.b, p1/z, [src]
169 st1b z1.b, p1, [dstin]
199 whilelo p1.b, vlen, n
201 ld1b z1.b, p1/z, [src, 1, mul vl]
203 st1b z1.b, p1, [dst, 1, mul vl]
252 whilelo p1.b, vlen, n
[all …]
/glibc-2.36/sunrpc/
Dnetname.c176 char *p1, *p2; in libc_hidden_def() local
178 p1 = strchr (netname, '.'); in libc_hidden_def()
179 if (p1 == NULL) in libc_hidden_def()
181 p1++; in libc_hidden_def()
183 p2 = strchr (p1, '@'); in libc_hidden_def()
191 strncpy (hostname, p1, hostlen); in libc_hidden_def()
/glibc-2.36/debug/
Dtest-strcpy_chk.c148 unsigned char *p1 = buf1 + page_size - 512; in do_random_tests() local
171 p1[i] = 0; in do_random_tests()
174 p1[i] = random () & 255; in do_random_tests()
175 if (i >= align1 && i < len + align1 && !p1[i]) in do_random_tests()
176 p1[i] = (random () & 127) + 3; in do_random_tests()
221 (char *) p1 + align1, dlen); in do_random_tests()
231 CALL (impl, (char *) p2 + align2, (char *) p1 + align1, dlen); in do_random_tests()
262 if (memcmp (p1 + align1, p2 + align2, len + 1)) in do_random_tests()
/glibc-2.36/sysdeps/ieee754/flt-32/
De_lgammaf_r.c140 float t,y,z,nadj,p,p1,p2,p3,q,r,w; in __ieee754_lgammaf_r() local
193 p1 = a0+z*(a2+z*(a4+z*(a6+z*(a8+z*a10)))); in __ieee754_lgammaf_r()
195 p = y*p1+p2; in __ieee754_lgammaf_r()
200 p1 = t0+w*(t3+w*(t6+w*(t9 +w*t12))); /* parallel comp */ in __ieee754_lgammaf_r()
203 p = z*p1-(tt-w*(p2+y*p3)); in __ieee754_lgammaf_r()
206 p1 = y*(u0+y*(u1+y*(u2+y*(u3+y*(u4+y*u5))))); in __ieee754_lgammaf_r()
208 r += (-(float)0.5*y + p1/p2); in __ieee754_lgammaf_r()
/glibc-2.36/sysdeps/ieee754/ldbl-96/
De_lgammal_r.c277 long double t, y, z, nadj, p, p1, p2, q, r, w; in __ieee754_lgammal_r() local
374 p1 = a0 + y * (a1 + y * (a2 + y * (a3 + y * (a4 + y * a5)))); in __ieee754_lgammal_r()
376 r += half * y + y * p1/p2; in __ieee754_lgammal_r()
379 p1 = g0 + y * (g1 + y * (g2 + y * (g3 + y * (g4 + y * (g5 + y * g6))))); in __ieee754_lgammal_r()
381 p = tt + y * p1/p2; in __ieee754_lgammal_r()
385 p1 = y * (u0 + y * (u1 + y * (u2 + y * (u3 + y * (u4 + y * (u5 + y * u6)))))); in __ieee754_lgammal_r()
387 r += (-half * y + p1 / p2); in __ieee754_lgammal_r()

1234