/glibc-2.36/nis/ |
D | nis_xdr.c | 31 bool_t res = xdr_string (xdrs, &objp->zattr_ndx, ~0); in xdr_nis_attr() local 32 if (__builtin_expect (res, TRUE)) in xdr_nis_attr() 33 res = xdr_bytes (xdrs, (char **) &objp->zattr_val.zattr_val_val, in xdr_nis_attr() 35 return res; in xdr_nis_attr() 65 bool_t res = xdr_u_int (xdrs, &objp->oa_rights); in xdr_oar_mask() local 66 if (__builtin_expect (res, TRUE)) in xdr_oar_mask() 67 res = xdr_zotypes (xdrs, &objp->oa_otype); in xdr_oar_mask() 68 return res; in xdr_oar_mask() 74 bool_t res = xdr_string (xdrs, &objp->uaddr, ~0); in xdr_endpoint() local 75 if (__builtin_expect (res, TRUE)) in xdr_endpoint() [all …]
|
D | nis_table.c | 138 nis_result res; in get_tablepath() local 141 memset (&res, '\0', sizeof (res)); in get_tablepath() 149 (caddr_t) &res, RPCTIMEOUT); in get_tablepath() 152 if (result == RPC_SUCCESS && NIS_RES_STATUS (&res) == NIS_SUCCESS in get_tablepath() 153 && __type_of (NIS_RES_OBJECT (&res)) == NIS_TABLE_OBJ) in get_tablepath() 154 cptr = NIS_RES_OBJECT (&res)->TA_data.ta_path; in get_tablepath() 161 xdr_free ((xdrproc_t) _xdr_nis_result, (char *) &res); in get_tablepath() 213 nis_result *res = malloc (sizeof (nis_result)); in libnsl_hidden_nolink_def() local 228 if (res == NULL) in libnsl_hidden_nolink_def() 236 memset (res, '\0', sizeof (nis_result)); in libnsl_hidden_nolink_def() [all …]
|
D | nis_ismember.c | 33 nis_result *res; in internal_ismember() local 46 res = nis_lookup (buf, EXPAND_NAME|FOLLOW_LINKS); in internal_ismember() 47 if (res == NULL || NIS_RES_STATUS (res) != NIS_SUCCESS) in internal_ismember() 49 nis_freeresult (res); in internal_ismember() 53 if ((NIS_RES_NUMOBJ (res) != 1) in internal_ismember() 54 || (__type_of (NIS_RES_OBJECT (res)) != NIS_GROUP_OBJ)) in internal_ismember() 56 nis_freeresult (res); in internal_ismember() 62 for (i = 0; i < NIS_RES_OBJECT(res)->GR_data.gr_members.gr_members_len; ++i) in internal_ismember() 64 cp = NIS_RES_OBJECT (res)->GR_data.gr_members.gr_members_val[i]; in internal_ismember() 69 nis_freeresult (res); in internal_ismember() [all …]
|
D | nis_lookup.c | 29 nis_result *res = calloc (1, sizeof (nis_result)); in nis_lookup() local 39 if (res == NULL) in nis_lookup() 47 NIS_RES_STATUS (res) = NIS_NAMEUNREACHABLE; in nis_lookup() 48 return res; in nis_lookup() 68 NIS_RES_STATUS (res) = status; in nis_lookup() 81 (caddr_t) res, RPCTIMEOUT); in nis_lookup() 89 if (NIS_RES_STATUS (res) == NIS_SUCCESS) in nis_lookup() 91 if (__type_of (NIS_RES_OBJECT (res)) == NIS_LINK_OBJ in nis_lookup() 97 NIS_RES_STATUS (res) = NIS_LINKNAMEERROR; in nis_lookup() 102 strdupa (NIS_RES_OBJECT (res)->LI_data.li_name); in nis_lookup() [all …]
|
D | nis_addmember.c | 31 nis_result *res, *res2; in nis_addmember() local 43 res = nis_lookup (buf, FOLLOW_LINKS | EXPAND_NAME); in nis_addmember() 44 if (NIS_RES_STATUS (res) != NIS_SUCCESS) in nis_addmember() 46 status = NIS_RES_STATUS (res); in nis_addmember() 47 nis_freeresult (res); in nis_addmember() 50 if (NIS_RES_NUMOBJ (res) != 1 in nis_addmember() 51 || __type_of (NIS_RES_OBJECT (res)) != NIS_GROUP_OBJ) in nis_addmember() 53 nis_freeresult (res); in nis_addmember() 58 = NIS_RES_OBJECT(res)->GR_data.gr_members.gr_members_len; in nis_addmember() 61 = realloc (NIS_RES_OBJECT (res)->GR_data.gr_members.gr_members_val, in nis_addmember() [all …]
|
D | nis_print_group_entry.c | 33 nis_result *res; in nis_print_group_entry() local 45 res = nis_lookup (buf, FOLLOW_LINKS | EXPAND_NAME); in nis_print_group_entry() 47 if (res == NULL) in nis_print_group_entry() 50 if (NIS_RES_STATUS (res) != NIS_SUCCESS in nis_print_group_entry() 51 || NIS_RES_NUMOBJ (res) != 1 in nis_print_group_entry() 52 || __type_of (NIS_RES_OBJECT (res)) != NIS_GROUP_OBJ) in nis_print_group_entry() 54 nis_freeresult (res); in nis_print_group_entry() 58 char *mem_exp[NIS_RES_NUMOBJ (res)]; in nis_print_group_entry() 59 char *mem_imp[NIS_RES_NUMOBJ (res)]; in nis_print_group_entry() 60 char *mem_rec[NIS_RES_NUMOBJ (res)]; in nis_print_group_entry() [all …]
|
D | nis_removemember.c | 31 nis_result *res, *res2; in nis_removemember() local 43 res = nis_lookup (buf, FOLLOW_LINKS | EXPAND_NAME); in nis_removemember() 44 if (res == NULL) in nis_removemember() 46 if (NIS_RES_STATUS (res) != NIS_SUCCESS) in nis_removemember() 48 status = NIS_RES_STATUS (res); in nis_removemember() 49 nis_freeresult (res); in nis_removemember() 53 if (NIS_RES_NUMOBJ (res) != 1 in nis_removemember() 54 || __type_of (NIS_RES_OBJECT (res)) != NIS_GROUP_OBJ) in nis_removemember() 56 nis_freeresult (res); in nis_removemember() 61 = NIS_RES_OBJECT(res)->GR_data.gr_members.gr_members_val; in nis_removemember() [all …]
|
/glibc-2.36/elf/ |
D | vismain.c | 47 int res = 0; in do_test() local 68 res = 1; in do_test() 73 res = 1; in do_test() 78 res = 1; in do_test() 83 res = 1; in do_test() 94 res = 1; in do_test() 99 res = 1; in do_test() 104 res = 1; in do_test() 109 res = 1; in do_test() 115 res = 1; in do_test() [all …]
|
D | tst-protected1b.c | 49 int res = 0; in do_test() local 55 res = 1; in do_test() 60 res = 1; in do_test() 67 res = 1; in do_test() 74 res = 1; in do_test() 81 res = 1; in do_test() 88 res = 1; in do_test() 95 res = 1; in do_test() 100 res = 1; in do_test() 107 res = 1; in do_test() [all …]
|
D | tst-protected1a.c | 49 int res = 0; in do_test() local 55 res = 1; in do_test() 60 res = 1; in do_test() 67 res = 1; in do_test() 74 res = 1; in do_test() 81 res = 1; in do_test() 88 res = 1; in do_test() 95 res = 1; in do_test() 100 res = 1; in do_test() 107 res = 1; in do_test() [all …]
|
/glibc-2.36/nptl/ |
D | tst-setgetname.c | 50 int res = 0; in get_self_comm() local 61 res = errno; in get_self_comm() 67 res = ERANGE; in get_self_comm() 73 return res; in get_self_comm() 80 int res; in do_test() local 91 res = pthread_getname_np (self, name, TASK_COMM_LEN); in do_test() 93 if (res == 0) in do_test() 95 res = get_self_comm (gettid (), name_check, TASK_COMM_LEN); in do_test() 97 if (res == 0) in do_test() 116 printf ("FAIL: Test 1 - pthread_getname_np failed with error %d\n", res); in do_test() [all …]
|
/glibc-2.36/stdio-common/ |
D | tstscanf.c | 192 int res, val, n; in main() local 194 res = sscanf ("-242", "%3o%n", &val, &n); in main() 195 printf ("res = %d, val = %d, n = %d\n", res, val, n); in main() 196 if (res != 1 || val != -20 || n != 3) in main() 206 int res, n; in main() local 208 res = sscanf ("1234567", "%3lg%3lg%n", &a, &b, &n); in main() 209 printf ("res = %d, a = %g, b = %g, n = %d\n", res, a, b, n); in main() 211 if (res != 2 || a != 123 || b != 456 || n != 6) in main() 217 res = sscanf ("0", "%lg", &a); in main() 218 printf ("res = %d, a = %g\n", res, a); in main() [all …]
|
/glibc-2.36/time/ |
D | bug-getdate1.c | 32 struct tm *res; in process_getdate_on() local 49 res = getdate (str); in process_getdate_on() 50 if (res == NULL) in process_getdate_on() 58 printf ("Seconds: %d\n", res->tm_sec); in process_getdate_on() 59 printf ("Minutes: %d\n", res->tm_min); in process_getdate_on() 60 printf ("Hour: %d\n", res->tm_hour); in process_getdate_on() 61 printf ("Day of month: %d\n", res->tm_mday); in process_getdate_on() 62 printf ("Month of year: %d\n", res->tm_mon); in process_getdate_on() 63 printf ("Years since 1900: %d\n", res->tm_year); in process_getdate_on() 64 printf ("Day of week: %d\n", res->tm_wday); in process_getdate_on() [all …]
|
/glibc-2.36/math/ |
D | k_casinh_template.c | 34 CFLOAT res; in M_DECL_FUNC() local 58 res = M_SUF (__clog) (y); in M_DECL_FUNC() 59 __real__ res += M_MLIT (M_LN2); in M_DECL_FUNC() 65 __real__ res = M_LOG (rx + s); in M_DECL_FUNC() local 67 __imag__ res = M_ATAN2 (s, __imag__ x); in M_DECL_FUNC() local 69 __imag__ res = M_ATAN2 (ix, s); in M_DECL_FUNC() local 75 __real__ res = M_LOG (ix + s); in M_DECL_FUNC() local 77 __imag__ res = M_ATAN2 (rx, M_COPYSIGN (s, __imag__ x)); in M_DECL_FUNC() local 79 __imag__ res = M_ATAN2 (s, rx); in M_DECL_FUNC() local 88 __real__ res = M_LOG1P (2 * (ix2m1 + ix * s)) / 2; in M_DECL_FUNC() local [all …]
|
D | s_cacosh_template.c | 26 CFLOAT res; in M_DECL_FUNC() local 34 __real__ res = M_HUGE_VAL; in M_DECL_FUNC() local 37 __imag__ res = M_NAN; in M_DECL_FUNC() local 39 __imag__ res = M_COPYSIGN ((rcls == FP_INFINITE in M_DECL_FUNC() local 47 __real__ res = M_HUGE_VAL; in M_DECL_FUNC() local 50 __imag__ res = M_COPYSIGN (signbit (__real__ x) in M_DECL_FUNC() local 53 __imag__ res = M_NAN; in M_DECL_FUNC() local 57 __real__ res = M_NAN; in M_DECL_FUNC() local 59 __imag__ res = M_MLIT (M_PI_2); in M_DECL_FUNC() local 61 __imag__ res = M_NAN; in M_DECL_FUNC() local [all …]
|
D | s_catan_template.c | 28 CFLOAT res; in M_DECL_FUNC() local 36 __real__ res = M_COPYSIGN (M_MLIT (M_PI_2), __real__ x); in M_DECL_FUNC() local 37 __imag__ res = M_COPYSIGN (0, __imag__ x); in M_DECL_FUNC() local 42 __real__ res = M_COPYSIGN (M_MLIT (M_PI_2), __real__ x); in M_DECL_FUNC() local 44 __real__ res = M_NAN; in M_DECL_FUNC() local 45 __imag__ res = M_COPYSIGN (0, __imag__ x); in M_DECL_FUNC() local 49 __real__ res = M_NAN; in M_DECL_FUNC() local 50 __imag__ res = M_COPYSIGN (0, __imag__ x); in M_DECL_FUNC() local 54 __real__ res = M_NAN; in M_DECL_FUNC() local 55 __imag__ res = M_NAN; in M_DECL_FUNC() local [all …]
|
D | s_ctan_template.c | 29 CFLOAT res; in M_DECL_FUNC() local 39 __real__ res = M_COPYSIGN (0, sinrx * cosrx); in M_DECL_FUNC() local 42 __real__ res = M_COPYSIGN (0, __real__ x); in M_DECL_FUNC() local 43 __imag__ res = M_COPYSIGN (1, __imag__ x); in M_DECL_FUNC() local 47 res = x; in M_DECL_FUNC() 51 __real__ res = M_NAN; in M_DECL_FUNC() local 53 __imag__ res = __imag__ x; in M_DECL_FUNC() local 55 __imag__ res = M_NAN; in M_DECL_FUNC() local 88 __imag__ res = M_COPYSIGN (1, __imag__ x); in M_DECL_FUNC() local 89 __real__ res = 4 * sinrx * cosrx; in M_DECL_FUNC() local [all …]
|
D | s_ctanh_template.c | 29 CFLOAT res; in M_DECL_FUNC() local 35 __real__ res = M_COPYSIGN (1, __real__ x); in M_DECL_FUNC() local 40 __imag__ res = M_COPYSIGN (0, sinix * cosix); in M_DECL_FUNC() local 43 __imag__ res = M_COPYSIGN (0, __imag__ x); in M_DECL_FUNC() local 47 res = x; in M_DECL_FUNC() 52 __real__ res = __real__ x; in M_DECL_FUNC() local 54 __real__ res = M_NAN; in M_DECL_FUNC() local 55 __imag__ res = M_NAN; in M_DECL_FUNC() local 88 __real__ res = M_COPYSIGN (1, __real__ x); in M_DECL_FUNC() local 89 __imag__ res = 4 * sinix * cosix; in M_DECL_FUNC() local [all …]
|
D | s_catanh_template.c | 28 CFLOAT res; in M_DECL_FUNC() local 36 __real__ res = M_COPYSIGN (0, __real__ x); in M_DECL_FUNC() local 37 __imag__ res = M_COPYSIGN (M_MLIT (M_PI_2), __imag__ x); in M_DECL_FUNC() local 41 __real__ res = M_COPYSIGN (0, __real__ x); in M_DECL_FUNC() local 43 __imag__ res = M_COPYSIGN (M_MLIT (M_PI_2), __imag__ x); in M_DECL_FUNC() local 45 __imag__ res = M_NAN; in M_DECL_FUNC() local 49 __real__ res = M_NAN; in M_DECL_FUNC() local 50 __imag__ res = M_NAN; in M_DECL_FUNC() local 55 res = x; in M_DECL_FUNC() 62 __imag__ res = M_COPYSIGN (M_MLIT (M_PI_2), __imag__ x); in M_DECL_FUNC() local [all …]
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | s_llrintl.c | 32 long long res, hi, lo; in __llrintl() local 73 res = hi + lo; in __llrintl() 76 if (__glibc_unlikely (((~(hi ^ lo) & (res ^ hi)) < 0))) in __llrintl() 82 hi = res; in __llrintl() 90 || (xl == 0.0 && (res & 1) == 0)))) in __llrintl() 91 return res; in __llrintl() 94 res -= 1; in __llrintl() 96 res += 1; in __llrintl() 100 if (res > 0 && (xh < 0.0 || (xh == 0.0 && xl < 0.0))) in __llrintl() 101 res -= 1; in __llrintl() [all …]
|
D | s_lrintl.c | 32 long res, hi, lo; in __lrintl() local 88 res = (long int) ((unsigned long int) hi + (unsigned long int) lo); in __lrintl() 91 if (__glibc_unlikely (((~(hi ^ lo) & (res ^ hi)) < 0))) in __lrintl() 97 hi = res; in __lrintl() 105 || (xl == 0.0 && (res & 1) == 0)))) in __lrintl() 106 return res; in __lrintl() 109 res -= 1UL; in __lrintl() 111 res += 1UL; in __lrintl() 115 if (res > 0 && (xh < 0.0 || (xh == 0.0 && xl < 0.0))) in __lrintl() 116 res -= 1UL; in __lrintl() [all …]
|
/glibc-2.36/inet/ |
D | tst-inet6_rth.c | 9 int res = 0; in do_test() local 15 res = 1; in do_test() 20 res = 1; in do_test() 27 res = 1; in do_test() 32 res = 1; in do_test() 43 res = 1; in do_test() 56 res = 1; in do_test() 65 res = 1; in do_test() 77 res = 1; in do_test() 83 res = 1; in do_test() [all …]
|
/glibc-2.36/iconvdata/ |
D | ibm932.c | 50 uint32_t res; \ 63 res = __ibm932sb_to_ucs4[ch]; \ 64 if (__builtin_expect (res == 0, 0) && ch != 0) \ 82 || (res = __ibm932db_to_ucs4[ch + rp2->idx], \ 83 __builtin_expect (res, '\1') == 0 && ch !=0)) \ 90 put32 (outptr, res); \ 97 if (res == 0xa5) \ 98 res = 0x5c; \ 99 else if (res == 0x203e) \ 100 res = 0x7e; \ [all …]
|
D | ibm943.c | 50 uint32_t res; \ 64 || (res = __ibm943sb_to_ucs4[ch], \ 65 __builtin_expect (res == 0, 0) && ch != 0)) \ 83 || (res = __ibm943db_to_ucs4[ch + rp2->idx], \ 84 __builtin_expect (res, '\1') == 0 && ch !=0)) \ 91 put32 (outptr, res); \ 98 if (res == 0xa5) \ 99 res = 0x5c; \ 100 else if (res == 0x203e) \ 101 res = 0x7e; \ [all …]
|
/glibc-2.36/crypt/ |
D | crypt.c | 38 ufc_long *res) in _ufc_doit_r() argument 46 l1 = (long32)res[0]; l2 = (long32)res[1]; in _ufc_doit_r() 47 r1 = (long32)res[2]; r2 = (long32)res[3]; in _ufc_doit_r() 68 res[0] = l1; res[1] = l2; res[2] = r1; res[3] = r2; in _ufc_doit_r() 83 ufc_long *res) in _ufc_doit_r() argument 90 l = (((long64)res[0]) << 32) | ((long64)res[1]); in _ufc_doit_r() 91 r = (((long64)res[2]) << 32) | ((long64)res[3]); in _ufc_doit_r() 111 res[0] = l >> 32; res[1] = l & 0xffffffff; in _ufc_doit_r() 112 res[2] = r >> 32; res[3] = r & 0xffffffff; in _ufc_doit_r()
|