Searched refs:loc (Results 1 - 25 of 60) sorted by relevance

123

/barrelfish-2018-10-04/include/bsm/
H A Daudit_internal.h84 #define ADD_U_CHAR(loc, val) \
86 *(loc) = (val); \
87 (loc) += sizeof(u_char); \
91 #define ADD_U_INT16(loc, val) \
93 be16enc((loc), (val)); \
94 (loc) += sizeof(u_int16_t); \
97 #define ADD_U_INT32(loc, val) \
99 be32enc((loc), (val)); \
100 (loc) += sizeof(u_int32_t); \
103 #define ADD_U_INT64(loc, va
[all...]
/barrelfish-2018-10-04/lib/libc/locale/
H A Dnl_langinfo.c52 nl_langinfo_l(nl_item item, locale_t loc) argument
56 FIX_LOCALE(loc);
60 s = XLOCALE_CTYPE(loc)->runes->__encoding;
81 ret = (char *) __get_current_time_locale(loc)->c_fmt;
84 ret = (char *) __get_current_time_locale(loc)->x_fmt;
87 ret = (char *) __get_current_time_locale(loc)->X_fmt;
90 ret = (char *) __get_current_time_locale(loc)->ampm_fmt;
93 ret = (char *) __get_current_time_locale(loc)->am;
96 ret = (char *) __get_current_time_locale(loc)->pm;
100 ret = (char*) __get_current_time_locale(loc)
[all...]
H A Dlocaleconv.c61 localeconv_l(locale_t loc) argument
63 FIX_LOCALE(loc);
64 struct lconv *ret = &loc->lconv;
66 if (loc->monetary_locale_changed) {
73 mptr = __get_current_monetary_locale(loc);
95 loc->monetary_locale_changed = 0;
98 if (loc->numeric_locale_changed) {
104 nptr = __get_current_numeric_locale(loc);
108 loc->numeric_locale_changed = 0;
H A Dlnumeric.h49 struct lc_numeric_T *__get_current_numeric_locale(locale_t loc);
H A Dlmessages.c70 messages_load_locale(struct xlocale_messages *loc, int *using_locale, const char *name) argument
73 struct lc_messages_T *l = &loc->locale;
76 &loc->buffer, "LC_MESSAGES",
106 __get_current_messages_locale(locale_t loc) argument
108 return (loc->using_messages_locale
109 ? &((struct xlocale_messages *)loc->components[XLC_MESSAGES])->locale
H A Dlnumeric.c64 numeric_load_locale(struct xlocale_numeric *loc, int *using_locale, int *changed, argument
68 struct lc_numeric_T *l = &loc->locale;
71 &loc->buffer, "LC_NUMERIC",
109 __get_current_numeric_locale(locale_t loc) argument
111 return (loc->using_numeric_locale
112 ? &((struct xlocale_numeric *)loc->components[XLC_NUMERIC])->locale
H A Dxlocale.c155 set_thread_locale(locale_t loc) argument
157 locale_t l = (loc == LC_GLOBAL_LOCALE) ? 0 : loc;
175 __set_thread_rune_locale(loc);
186 locale_t loc = l; local
189 if (loc->components[type]) {
190 xlocale_release(loc->components[type]);
193 if (loc->csym) {
194 free(loc->csym);
329 freelocale(locale_t loc) argument
345 querylocale(int mask, locale_t loc) argument
359 uselocale(locale_t loc) argument
[all...]
H A Dlmonetary.h67 struct lc_monetary_T *__get_current_monetary_locale(locale_t loc);
H A Dlmonetary.c98 monetary_load_locale_l(struct xlocale_monetary *loc, int *using_locale, argument
102 struct lc_monetary_T *l = &loc->locale;
105 &loc->buffer, "LC_MONETARY",
171 __get_current_monetary_locale(locale_t loc) argument
173 return (loc->using_monetary_locale
174 ? &((struct xlocale_monetary*)loc->components[XLC_MONETARY])->locale
H A Dsetrunelocale.c188 __set_thread_rune_locale(locale_t loc) argument
191 if (loc == NULL) {
193 } else if (loc == LC_GLOBAL_LOCALE) {
196 _ThreadRuneLocale = XLOCALE_CTYPE(loc)->runes;
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/x509/
H A Dx509_ext.c89 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc) argument
91 return(X509v3_get_ext(x->crl->extensions,loc));
94 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) argument
96 return(X509v3_delete_ext(x->crl->extensions,loc));
110 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) argument
112 return(X509v3_add_ext(&(x->crl->extensions),ex,loc) != NULL);
135 X509_EXTENSION *X509_get_ext(X509 *x, int loc) argument
137 return(X509v3_get_ext(x->cert_info->extensions,loc));
140 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) argument
142 return(X509v3_delete_ext(x->cert_info->extensions,loc));
145 X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) argument
183 X509_REVOKED_get_ext(X509_REVOKED *x, int loc) argument
188 X509_REVOKED_delete_ext(X509_REVOKED *x, int loc) argument
193 X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) argument
[all...]
H A Dx509name.c129 X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc) argument
131 if(name == NULL || sk_X509_NAME_ENTRY_num(name->entries) <= loc
132 || loc < 0)
135 return(sk_X509_NAME_ENTRY_value(name->entries,loc));
138 X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc) argument
144 if (name == NULL || sk_X509_NAME_ENTRY_num(name->entries) <= loc
145 || loc < 0)
148 ret=sk_X509_NAME_ENTRY_delete(sk,loc);
151 if (loc == n) return(ret);
154 if (loc !
174 X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set) argument
186 X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set) argument
198 X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, const unsigned char *bytes, int len, int loc, int set) argument
212 X509_NAME_add_entry(X509_NAME *name, X509_NAME_ENTRY *ne, int loc, int set) argument
[all...]
H A Dx509_v3.c125 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc)
127 if (x == NULL || sk_X509_EXTENSION_num(x) <= loc || loc < 0)
130 return sk_X509_EXTENSION_value(x,loc);
133 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc)
137 if (x == NULL || sk_X509_EXTENSION_num(x) <= loc || loc < 0)
139 ret=sk_X509_EXTENSION_delete(x,loc);
144 X509_EXTENSION *ex, int loc)
165 if (loc >
[all...]
/barrelfish-2018-10-04/lib/libc/xdr/
H A Dxdr_reference.c76 caddr_t loc = *pp; local
79 if (loc == NULL)
85 *pp = loc = (caddr_t) mem_alloc(size);
86 if (loc == NULL) {
90 memset(loc, 0, size);
97 stat = (*proc)(xdrs, loc);
100 mem_free(loc, size);
/barrelfish-2018-10-04/include/xlocale/
H A D_locale.h52 void freelocale(locale_t loc);
54 const char *querylocale(int mask, locale_t loc);
55 locale_t uselocale(locale_t loc);
/barrelfish-2018-10-04/lib/libc/stdtime/
H A Dstrftime.c91 const struct tm * __restrict t, locale_t loc)
95 FIX_LOCALE(loc);
99 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn, loc);
102 (void) fprintf_l(stderr, loc, "\n");
105 else (void) fprintf_l(stderr, loc, "strftime format \"%s\" ",
131 const char * const ptlim, int *warnp, locale_t loc)
134 struct lc_time_T *tptr = __get_current_time_locale(loc);
181 pt, ptlim, loc);
187 pt = _fmt(tptr->c_fmt, t, pt, ptlim, &warn2, loc);
195 pt = _fmt("%m/%d/%y", t, pt, ptlim, warnp, loc);
90 strftime_l(char * __restrict s, size_t maxsize, const char * __restrict format, const struct tm * __restrict t, locale_t loc) argument
130 _fmt(const char *format, const struct tm * const t, char *pt, const char * const ptlim, int *warnp, locale_t loc) argument
590 _conv(const int n, const char * const format, char * const pt, const char * const ptlim, locale_t loc) argument
616 _yconv(const int a, const int b, const int convert_top, const int convert_yy, char *pt, const char * const ptlim, locale_t loc) argument
[all...]
H A Dtimelocal.c121 __get_current_time_locale(locale_t loc) argument
123 return (loc->using_time_locale
124 ? &((struct xlocale_time *)loc->components[XLC_TIME])->locale
143 void* __time_load(const char* name, locale_t loc) argument
147 if (time_load_locale(new, &loc->using_time_locale, name) == _LDP_ERROR)
/barrelfish-2018-10-04/lib/openssl-1.0.0d/Netware/
H A Dcpy_tests.bat26 set loc=. variable
27 if exist cpy_tests.bat set loc=.. variable
30 if not exist %loc%\%1\NUL goto invalid_dir
55 copy %loc%\%1\*.nlm %2\openssl\
58 copy %loc%\netware\do_tests.pl %2\openssl\
61 xcopy %loc%\certs\*.* %2\openssl\certs\ /s
64 copy %loc%\test\CAss.cnf %2\openssl\test\
65 copy %loc%\test\Uss.cnf %2\openssl\test\
66 copy %loc%\test\pkcs7.pem %2\openssl\test\
67 copy %loc
[all...]
/barrelfish-2018-10-04/lib/usb/class/
H A Dusb_hid.c34 c->loc.count = 0;
35 c->loc.size = 0;
80 s->last_pos[i].position = c->loc.position;
101 c->loc.position = s->last_pos[i].position;
104 c->loc.position = 0;
233 c->loc.position += c->loc.size * c->loc.count;
299 ret: c->loc.count = s->loc_count;
300 c->loc
580 usb_hid_locate(const void *desc, uint32_t size, uint32_t usage, enum usb_hid_kind k, uint8_t repindex, struct usb_hid_location *loc, uint32_t *flags, uint8_t *id) argument
624 usb_hid_get_data_generic(const uint8_t *buf, uint32_t len, struct usb_hid_location *loc, int32_t is_signed) argument
679 usb_hid_get_data(const uint8_t *buf, uint32_t len, struct usb_hid_location *loc) argument
695 usb_hid_get_data_unsigned(const uint8_t *buf, uint32_t len, struct usb_hid_location *loc) argument
709 usb_hid_put_data_unsigned(uint8_t *buf, uint32_t len, struct usb_hid_location *loc, uint32_t value) argument
[all...]
/barrelfish-2018-10-04/lib/gdtoa/
H A Dstrtof.c38 strtof_l(s, sp, loc) CONST char *s; char **sp; locale_t loc;
40 strtof_l(CONST char *s, char **sp, locale_t loc)
54 k = strtodg_l(s, sp, fpi, &exp, bits, loc);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/stack/
H A Dstack.c142 int sk_insert(_STACK *st, void *data, int loc) argument
156 if ((loc >= (int)st->num) || (loc < 0))
165 for (i=st->num; i>=loc; i--)
169 memmove(&(st->data[loc+1]),
170 &(st->data[loc]),
171 sizeof(char *)*(st->num-loc));
173 st->data[loc]=data;
190 void *sk_delete(_STACK *st, int loc) argument
195 if(!st || (loc <
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ocsp/
H A Docsp_ext.c96 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc) argument
98 return(X509v3_get_ext(x->tbsRequest->requestExtensions,loc));
101 X509_EXTENSION *OCSP_REQUEST_delete_ext(OCSP_REQUEST *x, int loc) argument
103 return(X509v3_delete_ext(x->tbsRequest->requestExtensions,loc));
117 int OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc) argument
119 return(X509v3_add_ext(&(x->tbsRequest->requestExtensions),ex,loc) != NULL);
144 X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *x, int loc) argument
146 return(X509v3_get_ext(x->singleRequestExtensions,loc));
149 X509_EXTENSION *OCSP_ONEREQ_delete_ext(OCSP_ONEREQ *x, int loc) argument
151 return(X509v3_delete_ext(x->singleRequestExtensions,loc));
165 OCSP_ONEREQ_add_ext(OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc) argument
192 OCSP_BASICRESP_get_ext(OCSP_BASICRESP *x, int loc) argument
197 OCSP_BASICRESP_delete_ext(OCSP_BASICRESP *x, int loc) argument
213 OCSP_BASICRESP_add_ext(OCSP_BASICRESP *x, X509_EXTENSION *ex, int loc) argument
240 OCSP_SINGLERESP_get_ext(OCSP_SINGLERESP *x, int loc) argument
245 OCSP_SINGLERESP_delete_ext(OCSP_SINGLERESP *x, int loc) argument
261 OCSP_SINGLERESP_add_ext(OCSP_SINGLERESP *x, X509_EXTENSION *ex, int loc) argument
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/cms/
H A Dcms_att.c80 X509_ATTRIBUTE *CMS_signed_get_attr(const CMS_SignerInfo *si, int loc) argument
82 return X509at_get_attr(si->signedAttrs, loc);
85 X509_ATTRIBUTE *CMS_signed_delete_attr(CMS_SignerInfo *si, int loc) argument
87 return X509at_delete_attr(si->signedAttrs, loc);
146 X509_ATTRIBUTE *CMS_unsigned_get_attr(const CMS_SignerInfo *si, int loc) argument
148 return X509at_get_attr(si->unsignedAttrs, loc);
151 X509_ATTRIBUTE *CMS_unsigned_delete_attr(CMS_SignerInfo *si, int loc) argument
153 return X509at_delete_attr(si->unsignedAttrs, loc);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ts/
H A Dts_req_utils.c216 X509_EXTENSION *TS_REQ_get_ext(TS_REQ *a, int loc) argument
218 return X509v3_get_ext(a->extensions,loc);
221 X509_EXTENSION *TS_REQ_delete_ext(TS_REQ *a, int loc) argument
223 return X509v3_delete_ext(a->extensions,loc);
226 int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc) argument
228 return X509v3_add_ext(&a->extensions,ex,loc) != NULL;
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/evp/
H A Devp_pkey.c201 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) argument
203 return X509at_get_attr(key->attributes, loc);
206 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) argument
208 return X509at_delete_attr(key->attributes, loc);

Completed in 193 milliseconds

123