/barrelfish-master/lib/libc/rpc/ |
H A D | clnt_perror.c | 80 char *str; local 87 str = _buf(); /* side effect: sets CLNT_PERROR_BUFLEN */ 88 if (str == NULL) 91 strstart = str; 94 if ((i = snprintf(str, len, "%s: ", s)) > 0) { 95 str += i; 99 (void)strncpy(str, clnt_sperrno(e.re_status), len - 1); 100 i = strlen(str); 101 str += i; 122 i = snprintf(str, le 237 char *str; local [all...] |
/barrelfish-master/lib/libc/stdio/ |
H A D | vsscanf.c | 61 vsscanf_l(const char * __restrict str, locale_t locale, argument 68 f._bf._base = f._p = (unsigned char *)str; 69 f._bf._size = f._r = strlen(str); 74 vsscanf(const char * __restrict str, const char * __restrict fmt, argument 77 return vsscanf_l(str, __get_locale(), fmt, ap);
|
H A D | vsnprintf.c | 51 vsnprintf_l(char * __restrict str, size_t n, locale_t locale, argument 65 *str = '\0'; 71 *str = '\0'; 72 str = dummy; 76 f._bf._base = f._p = (unsigned char *)str; 84 vsnprintf(char * __restrict str, size_t n, const char * __restrict fmt, argument 87 return vsnprintf_l(str, n, __get_locale(), fmt, ap);
|
H A D | swscanf.c | 41 swscanf(const wchar_t * __restrict str, const wchar_t * __restrict fmt, ...) argument 47 r = vswscanf(str, fmt, ap); 53 swscanf_l(const wchar_t * __restrict str, locale_t locale, argument 60 r = vswscanf_l(str, locale, fmt, ap);
|
H A D | vsprintf.c | 50 vsprintf_l(char * __restrict str, locale_t locale, argument 58 f._bf._base = f._p = (unsigned char *)str; 65 vsprintf(char * __restrict str, const char * __restrict fmt, __va_list ap) argument 67 return vsprintf_l(str, __get_locale(), fmt, ap);
|
H A D | xprintf_quote.c | 52 const char *str, *p, *t, *o; local 56 str = *((const char *const *)arg[0]); 57 if (str == NULL) 59 if (*str == '\0') 62 for (i = 0, p = str; *p; p++) 66 return (__printf_out(io, pi, str, strlen(str))); 69 for (t = p = str; *p; p++) {
|
H A D | vswscanf.c | 66 vswscanf_l(const wchar_t * __restrict str, locale_t locale, argument 82 if ((mbstr = malloc(wcslen(str) * MB_CUR_MAX + 1)) == NULL) 85 strp = str; 100 vswscanf(const wchar_t * __restrict str, const wchar_t * __restrict fmt, argument 103 return vswscanf_l(str, __get_locale(), fmt, ap);
|
H A D | snprintf.c | 53 snprintf(char * __restrict str, size_t n, char const * __restrict fmt, ...) argument 65 *str = '\0'; 70 f._bf._base = f._p = (unsigned char *)str; 79 snprintf_l(char * __restrict str, size_t n, locale_t locale, argument 93 *str = '\0'; 98 f._bf._base = f._p = (unsigned char *)str;
|
/barrelfish-master/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 47 format_who(char *str, size_t size, const acl_entry_t entry, int numeric) argument 61 snprintf(str, size, "owner@"); 74 snprintf(str, size, "user:%d", (unsigned int)*id); 76 snprintf(str, size, "user:%s", pwd->pw_name); 80 snprintf(str, size, "group@"); 93 snprintf(str, size, "group:%d", (unsigned int)*id); 95 snprintf(str, size, "group:%s", grp->gr_name); 99 snprintf(str, size, "everyone@"); 110 format_entry_type(char *str, size_t size, const acl_entry_t entry) argument 121 snprintf(str, siz 140 format_additional_id(char *str, size_t size, const acl_entry_t entry) argument 168 format_entry(char *str, size_t size, const acl_entry_t entry, int flags) argument 231 char *str; local [all...] |
/barrelfish-master/lib/openssl-1.0.0d/crypto/des/ |
H A D | str2key.c | 62 void DES_string_to_key(const char *str, DES_cblock *key) argument 69 length=strlen(str); 72 (*key)[i%8]^=(str[i]<<1); 76 j=str[i]; 97 DES_cbc_cksum((const unsigned char*)str,key,length,&ks,key); 102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument 110 length=strlen(str); 116 (*key2)[i]=(*key1)[i]=(str[i]<<1); 124 (*key2)[i%8]^=(str[i]<<1); 126 (*key1)[i%8]^=(str[ [all...] |
/barrelfish-master/lib/openssl-1.0.0d/demos/ssl/ |
H A D | inetdsrv.cpp | 32 char* str; local 65 str = X509_NAME_oneline (X509_get_subject_name (client_cert)); 66 CHK_NULL(str); 67 fprintf (log, "\t subject: %s\n", str); 68 OPENSSL_free (str); 70 str = X509_NAME_oneline (X509_get_issuer_name (client_cert)); 71 CHK_NULL(str); 72 fprintf (log, "\t issuer: %s\n", str); 73 OPENSSL_free (str);
|
H A D | cli.cpp | 36 char* str; local 79 str = X509_NAME_oneline (X509_get_subject_name (server_cert),0,0); 80 CHK_NULL(str); 81 printf ("\t subject: %s\n", str); 82 OPENSSL_free (str); 84 str = X509_NAME_oneline (X509_get_issuer_name (server_cert),0,0); 85 CHK_NULL(str); 86 printf ("\t issuer: %s\n", str); 87 OPENSSL_free (str);
|
/barrelfish-master/lib/debug_log/ |
H A D | debug_log.c | 20 char *str = log[log_size++ & (LOG_SIZE - 1)]; local 25 len = snprintf(str, sizeof(log[0]), "\033[34m%.*s.\033[31m%u.%s\033[0m: ", 29 len += vsnprintf(str + len, sizeof(log[0]) - len, fmt, argptr); 32 if (str[len - 1] == '\n') 33 str[len - 1] = 0; 44 char str[256]; local 49 len = snprintf(str, sizeof(str), "\033[34m%.*s.\033[31m%u.%s\033[0m: ", 51 if (len < sizeof(str)) { 53 len += vsnprintf(str [all...] |
/barrelfish-master/lib/openssl-1.0.0d/crypto/buffer/ |
H A D | buffer.h | 86 int BUF_MEM_grow(BUF_MEM *str, size_t len); 87 int BUF_MEM_grow_clean(BUF_MEM *str, size_t len); 88 char * BUF_strdup(const char *str); 89 char * BUF_strndup(const char *str, size_t siz);
|
/barrelfish-master/include/openssl/ |
H A D | buffer.h | 86 int BUF_MEM_grow(BUF_MEM *str, size_t len); 87 int BUF_MEM_grow_clean(BUF_MEM *str, size_t len); 88 char * BUF_strdup(const char *str); 89 char * BUF_strndup(const char *str, size_t siz);
|
H A D | pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn [all...] |
/barrelfish-master/lib/openssl-1.0.0d/crypto/ |
H A D | mem.c | 84 static void *default_realloc_ex(void *str, size_t num, argument 86 { return realloc_func(str,num); } 282 void CRYPTO_free_locked(void *str) argument 285 free_debug_func(str, 0); 287 fprintf(stderr, "LEVITTE_DEBUG_MEM: < 0x%p\n", str); 289 free_locked_func(str); 325 char *CRYPTO_strdup(const char *str, const char *file, int line) argument 327 char *ret = CRYPTO_malloc(strlen(str)+1, file, line); 329 strcpy(ret, str); 333 void *CRYPTO_realloc(void *str, in argument 354 CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, int line) argument 384 CRYPTO_free(void *str) argument [all...] |
/barrelfish-master/lib/cxx/cxx/ |
H A D | string.cpp | 62 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) argument 65 const typename S::value_type* const p = str.c_str(); 179 as_float_helper(const string& func, const S& str, size_t* idx, F f ) argument 182 const typename S::value_type* const p = str.c_str(); 251 stoi(const string& str, size_t* idx, int base) argument 253 return as_integer<int>( "stoi", str, idx, base ); 257 stoi(const wstring& str, size_t* idx, int base) argument 259 return as_integer<int>( "stoi", str, idx, base ); 263 stol(const string& str, size_t* idx, int base) argument 265 return as_integer<long>( "stol", str, id 269 stol(const wstring& str, size_t* idx, int base) argument 275 stoul(const string& str, size_t* idx, int base) argument 281 stoul(const wstring& str, size_t* idx, int base) argument 287 stoll(const string& str, size_t* idx, int base) argument 293 stoll(const wstring& str, size_t* idx, int base) argument 299 stoull(const string& str, size_t* idx, int base) argument 305 stoull(const wstring& str, size_t* idx, int base) argument 311 stof(const string& str, size_t* idx) argument 317 stof(const wstring& str, size_t* idx) argument 323 stod(const string& str, size_t* idx) argument 329 stod(const wstring& str, size_t* idx) argument 335 stold(const string& str, size_t* idx) argument 341 stold(const wstring& str, size_t* idx) argument [all...] |
/barrelfish-master/lib/libc/string/ |
H A D | strlen.c | 79 return (p - str + x); \ 83 strlen(const char *str) argument 99 lp = (const unsigned long *)((uintptr_t)str & ~LONGPTR_MASK); 105 for (p = str; p < (const char *)lp; p++) 107 return (p - str);
|
/barrelfish-master/lib/libc/tests/stdio/ |
H A D | fmemopen2_test.c | 47 char str[] = "Test writing some stuff"; local 59 nofw = fwrite(str, 1, sizeof(str), fp); 60 ATF_REQUIRE(nofw == sizeof(str)); 80 ATF_REQUIRE(strcmp(str, buf2) == 0); 87 fp = fmemopen(str, 4, "w"); 101 ATF_REQUIRE(strcmp(str, str3) == 0); 153 char str[] = "Test data length. "; local 155 char str3[sizeof(str) + sizeof(str2) -1]; 165 nofw = fwrite(str, 217 char str[] = "Test"; local [all...] |
/barrelfish-master/lib/openssl-1.0.0d/crypto/bio/ |
H A D | bss_null.c | 66 static int null_puts(BIO *h, const char *str); 67 static int null_gets(BIO *h, char *str, int size); 145 static int null_puts(BIO *bp, const char *str) argument 147 if (str == NULL) return(0); 148 return(strlen(str));
|
/barrelfish-master/lib/openssl-1.0.0d/crypto/err/ |
H A D | err_prn.c | 66 void ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), argument 90 static int print_fp(const char *str, size_t len, void *fp) argument 97 return BIO_printf(&bio, "%s", str); 105 static int print_bio(const char *str, size_t len, void *bp) argument 107 return BIO_write((BIO *)bp, str, len);
|
/barrelfish-master/lib/openssl-1.0.0d/crypto/x509v3/ |
H A D | v3_ia5.c | 67 static ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str); 95 X509V3_CTX *ctx, char *str) 98 if(!str) { 103 if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str, 104 strlen(str))) { 94 s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *str) argument
|
/barrelfish-master/lib/openssl-1.0.0d/crypto/pem/ |
H A D | pem.h | 214 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) /**/ 215 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) /**/ 216 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn1) /**/ 217 #define IMPLEMENT_PEM_write_cb_fp(name, type, str, asn1) /**/ 218 #define IMPLEMENT_PEM_write_cb_fp_const(name, type, str, asn1) /**/ 222 #define IMPLEMENT_PEM_read_fp(name, type, str, asn1) \ 225 return PEM_ASN1_read((d2i_of_void *)d2i_##asn1, str,fp,(void **)x,cb,u); \ 228 #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ 231 return PEM_ASN1_write((i2d_of_void *)i2d_##asn1,str,fp,x,NULL,NULL,0,NULL,NULL); \ 234 #define IMPLEMENT_PEM_write_fp_const(name, type, str, asn [all...] |
/barrelfish-master/lib/openssl-1.0.0d/crypto/asn1/ |
H A D | asn1_lib.c | 343 int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str) argument 345 if (str == NULL) 347 dst->type = str->type; 348 if (!ASN1_STRING_set(dst,str->data,str->length)) 350 dst->flags = str->flags; 354 ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *str) argument 357 if (!str) 362 if (!ASN1_STRING_copy(ret,str)) 370 int ASN1_STRING_set(ASN1_STRING *str, cons argument 407 ASN1_STRING_set0(ASN1_STRING *str, void *data, int len) argument [all...] |