Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 109) sorted by relevance

12345

/glibc-2.36/resolv/
Dtst-resolv-nondecimal.c47 char *context = xasprintf ("getaddrinfo \"%s\" AF_INET", quoted_query); in run_query_addrinfo() local
51 check_addrinfo (context, ai, ret, expected); in run_query_addrinfo()
54 free (context); in run_query_addrinfo()
56 context = xasprintf ("getaddrinfo \"%s\" AF_UNSPEC", quoted_query); in run_query_addrinfo()
59 check_addrinfo (context, ai, ret, expected); in run_query_addrinfo()
63 free (context); in run_query_addrinfo()
65 context = xasprintf ("getaddrinfo \"%s\" AF_INET6", quoted_query); in run_query_addrinfo()
72 check_addrinfo (context, ai, ret, expected); in run_query_addrinfo()
76 free (context); in run_query_addrinfo()
85 char *context = xasprintf ("gethostbyname (\"%s\")", quoted_query); in run_query() local
[all …]
/glibc-2.36/sysdeps/generic/
Dunwind-dw2.c174 _Unwind_GetGR (struct _Unwind_Context *context, int index) in _Unwind_GetGR() argument
177 return * (_Unwind_Word *) context->reg[index]; in _Unwind_GetGR()
183 _Unwind_SetGR (struct _Unwind_Context *context, int index, _Unwind_Word val) in _Unwind_SetGR() argument
185 * (_Unwind_Word *) context->reg[index] = val; in _Unwind_SetGR()
191 _Unwind_GetIP (struct _Unwind_Context *context) in _Unwind_GetIP() argument
193 return (_Unwind_Ptr) context->ra; in _Unwind_GetIP()
199 _Unwind_SetIP (struct _Unwind_Context *context, _Unwind_Ptr val) in _Unwind_SetIP() argument
201 context->ra = (void *) val; in _Unwind_SetIP()
205 _Unwind_GetLanguageSpecificData (struct _Unwind_Context *context) in _Unwind_GetLanguageSpecificData() argument
207 return context->lsda; in _Unwind_GetLanguageSpecificData()
[all …]
Dunwind-pe.h66 (struct _Unwind_Context *context, unsigned char encoding,
118 base_of_encoded_value (unsigned char encoding, struct _Unwind_Context *context) in base_of_encoded_value() argument
131 return _Unwind_GetTextRelBase (context); in base_of_encoded_value()
133 return _Unwind_GetDataRelBase (context); in base_of_encoded_value()
135 return _Unwind_GetRegionStart (context); in base_of_encoded_value()
296 read_encoded_value (struct _Unwind_Context *context, unsigned char encoding, in read_encoded_value() argument
300 base_of_encoded_value (encoding, context), in read_encoded_value()
Dunwind-resume.h26 struct _Unwind_Context *context)
28 (version, actions, exception_class, ue_header, context)
Dunwind-resume.c56 _Unwind_GetCFA (struct _Unwind_Context *context) in _Unwind_GetCFA() argument
58 return UNWIND_LINK_PTR (link (), _Unwind_GetCFA) (context); in _Unwind_GetCFA()
/glibc-2.36/hesiod/nss_hesiod/
Dhesiod-grp.c54 void *context; in lookup() local
60 if (hesiod_init (&context) < 0) in lookup()
63 list = hesiod_resolve (context, name, type); in lookup()
67 hesiod_end (context); in lookup()
76 hesiod_free_list (context, list); in lookup()
77 hesiod_end (context); in lookup()
83 hesiod_free_list (context, list); in lookup()
84 hesiod_end (context); in lookup()
129 internal_gid_from_group (void *context, const char *groupname, gid_t *group) in internal_gid_from_group() argument
134 grp_res = hesiod_resolve (context, groupname, "group"); in internal_gid_from_group()
[all …]
Dhesiod-proto.c64 void *context; in lookup() local
70 if (hesiod_init (&context) < 0) in lookup()
73 list = hesiod_resolve (context, name, type); in lookup()
77 hesiod_end (context); in lookup()
92 hesiod_free_list (context, list); in lookup()
93 hesiod_end (context); in lookup()
103 hesiod_free_list (context, list); in lookup()
104 hesiod_end (context); in lookup()
115 hesiod_free_list (context, list); in lookup()
116 hesiod_end (context); in lookup()
Dhesiod-service.c65 void *context; in lookup() local
71 if (hesiod_init (&context) < 0) in lookup()
74 list = hesiod_resolve (context, name, type); in lookup()
78 hesiod_end (context); in lookup()
93 hesiod_free_list (context, list); in lookup()
94 hesiod_end (context); in lookup()
104 hesiod_free_list (context, list); in lookup()
105 hesiod_end (context); in lookup()
116 hesiod_free_list (context, list); in lookup()
117 hesiod_end (context); in lookup()
Dhesiod-pwd.c52 void *context; in lookup() local
58 if (hesiod_init (&context) < 0) in lookup()
61 list = hesiod_resolve (context, name, type); in lookup()
65 hesiod_end (context); in lookup()
74 hesiod_free_list (context, list); in lookup()
75 hesiod_end (context); in lookup()
81 hesiod_free_list (context, list); in lookup()
82 hesiod_end (context); in lookup()
/glibc-2.36/stdlib/
Dtst-makecontext-align.c29 static const char *context; variable
42 context, address, alignment); in check_align()
145 context = "callback_0"; in callback_0()
147 context = "after return from callback_0"; in callback_0()
162 context = "callback_1"; in callback_1()
165 context = "after return from callback_1"; in callback_1()
180 context = "callback_2"; in callback_2()
184 context = "after return from callback_2"; in callback_2()
199 context = "callback_3"; in callback_3()
204 context = "after return from callback_3"; in callback_3()
[all …]
/glibc-2.36/support/
Dsupport_capture_subprocess_check.c26 print_context (const char *context, bool *failed) in print_context() argument
32 printf ("error: subprocess failed: %s\n", context); in print_context()
50 const char *context, int status_or_signal, in support_capture_subprocess_check() argument
67 print_context (context, &failed); in support_capture_subprocess_check()
78 print_context (context, &failed); in support_capture_subprocess_check()
86 print_context (context, &failed); in support_capture_subprocess_check()
93 print_context (context, &failed); in support_capture_subprocess_check()
/glibc-2.36/hesiod/
Dhesiod.c77 hesiod_init(void **context) { in hesiod_init() argument
124 *context = ctx; in hesiod_init()
136 hesiod_end(void *context) { in hesiod_end() argument
137 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_end()
151 hesiod_to_bind(void *context, const char *name, const char *type) { in hesiod_to_bind() argument
152 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_to_bind()
162 else if ((rhs_list = hesiod_resolve(context, cp + 1, in hesiod_to_bind()
181 hesiod_free_list(context, rhs_list); in hesiod_to_bind()
199 hesiod_free_list(context, rhs_list); in hesiod_to_bind()
209 hesiod_resolve(void *context, const char *name, const char *type) { in hesiod_resolve() argument
[all …]
Dhesiod.h42 int hesiod_init (void **context) attribute_hidden;
43 void hesiod_end (void *context) attribute_hidden;
44 char * hesiod_to_bind (void *context, const char *name,
46 char ** hesiod_resolve (void *context, const char *name,
48 void hesiod_free_list (void *context, char **list) attribute_hidden;
/glibc-2.36/sysdeps/arm/
Dunwind.h246 _Unwind_GetGR (_Unwind_Context *context, int regno) in _Unwind_GetGR() argument
249 _Unwind_VRS_Get (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val); in _Unwind_GetGR()
254 #define _Unwind_GetIP(context) \ argument
255 (_Unwind_GetGR (context, 15) & ~(_Unwind_Word)1)
258 _Unwind_SetGR (_Unwind_Context *context, int regno, _Unwind_Word val) in _Unwind_SetGR() argument
260 _Unwind_VRS_Set (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val); in _Unwind_SetGR()
265 #define _Unwind_SetIP(context, val) \ argument
266 _Unwind_SetGR (context, 15, val | (_Unwind_GetGR (context, 15) & 1))
Dbacktrace.c35 _Unwind_Context *context, int regno) in unwind_getgr() argument
39 (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val); in unwind_getgr()
45 #define unwind_getip(context) \ argument
46 (unwind_getgr (arg->unwind_link, context, 15) & ~(_Unwind_Word)1)
Dunwind-resume.h25 struct _Unwind_Context *context)
27 (state, ue_header, context)
/glibc-2.36/manual/
Dsetjmp.texi17 * System V contexts:: Complete context control a la System V.
263 This is a pointer to the next context structure which is used if the
264 context described in the current structure returns.
267 Set of signals which are blocked when this context is used.
270 Stack used for this context. The value need not be (and normally is
292 @var{ucp} with the context of the calling thread. The context contains
298 information about the current context's stack may be in the
308 the first time or whether an initialized context has just been restored.
310 be done carefully since the context contains registers which might contain
314 Once the context variable is initialized it can be used as is or it can
[all …]
/glibc-2.36/posix/
Dregex_internal.h510 #define NOT_SATISFY_PREV_CONSTRAINT(constraint,context) \ argument
511 ((((constraint) & PREV_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \
512 || ((constraint & PREV_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \
513 || ((constraint & PREV_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context))\
514 || ((constraint & PREV_BEGBUF_CONSTRAINT) && !IS_BEGBUF_CONTEXT (context)))
516 #define NOT_SATISFY_NEXT_CONSTRAINT(constraint,context) \ argument
517 ((((constraint) & NEXT_WORD_CONSTRAINT) && !IS_WORD_CONTEXT (context)) \
518 || (((constraint) & NEXT_NOTWORD_CONSTRAINT) && IS_WORD_CONTEXT (context)) \
519 || (((constraint) & NEXT_NEWLINE_CONSTRAINT) && !IS_NEWLINE_CONTEXT (context)) \
520 || (((constraint) & NEXT_ENDBUF_CONSTRAINT) && !IS_ENDBUF_CONTEXT (context)))
[all …]
Dregexec.c1007 unsigned int context; in acquire_init_state_context() local
1008 context = re_string_context_at (&mctx->input, idx - 1, mctx->eflags); in acquire_init_state_context()
1009 if (IS_WORD_CONTEXT (context)) in acquire_init_state_context()
1011 else if (IS_ORDINARY_CONTEXT (context)) in acquire_init_state_context()
1013 else if (IS_BEGBUF_CONTEXT (context) && IS_NEWLINE_CONTEXT (context)) in acquire_init_state_context()
1015 else if (IS_NEWLINE_CONTEXT (context)) in acquire_init_state_context()
1017 else if (IS_BEGBUF_CONTEXT (context)) in acquire_init_state_context()
1022 context); in acquire_init_state_context()
1175 check_halt_node_context (const re_dfa_t *dfa, Idx node, unsigned int context) in check_halt_node_context() argument
1183 if (NOT_SATISFY_NEXT_CONSTRAINT (constraint, context)) in check_halt_node_context()
[all …]
/glibc-2.36/nptl/
Dtst-pthread-attr-sigmask.c46 check_sigmask (const char *context, signals expected_mask, in check_sigmask() argument
54 context, sig, in check_sigmask()
63 check_current_sigmask (const char *context, signals expected_mask) in check_current_sigmask() argument
67 check_sigmask (context, expected_mask, &actual_mask); in check_current_sigmask()
Dunwind.c42 struct _Unwind_Context *context, void *stop_parameter) in unwind_stop() argument
60 || ! _JMPBUF_CFA_UNWINDS_ADJ (buf->cancel_jmp_buf[0].jmp_buf, context, in unwind_stop()
70 void *cfa = (void *) (_Unwind_Ptr) _Unwind_GetCFA (context); in unwind_stop()
/glibc-2.36/sysdeps/ia64/
Dunwind-resume.c21 _Unwind_GetBSP (struct _Unwind_Context *context) in _Unwind_GetBSP() argument
23 return UNWIND_LINK_PTR (link (), _Unwind_GetBSP) (context); in _Unwind_GetBSP()
/glibc-2.36/sysdeps/mach/hurd/i386/
Dtrampoline.c126 if (ss->context) in _hurd_setup_sighandler()
131 if (! _hurdsig_catch_memory_fault (ss->context)) in _hurd_setup_sighandler()
133 memcpy (&state->basic, &ss->context->sc_i386_thread_state, in _hurd_setup_sighandler()
135 memcpy (&state->fpu, &ss->context->sc_i386_float_state, in _hurd_setup_sighandler()
/glibc-2.36/sysdeps/aarch64/
Djmpbuf-unwind.h29 #define _JMPBUF_CFA_UNWINDS_ADJ(jmpbuf, context, adj) \ argument
30 _JMPBUF_UNWINDS_ADJ (jmpbuf, (void *) (uintptr_t) _Unwind_GetCFA (context), \
/glibc-2.36/nss/
Dtst-nss-files-hosts-getent.c138 char *context = xasprintf ("do_stayopen=%d host=%d", do_stayopen, i); in subprocess_getent() local
147 check_hostent (context, e, expected.buffer); in subprocess_getent()
148 free (context); in subprocess_getent()

12345