/external/kernel-headers/original/linux/ |
node.h | 34 extern int register_one_node(int nid); 35 extern void unregister_one_node(int nid); 36 extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); 37 extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); 39 static inline int register_one_node(int nid) 43 static inline int unregister_one_node(int nid) 47 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) 51 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid)
|
mmzone.h | 333 #define node_present_pages(nid) (NODE_DATA(nid)->node_present_pages) 334 #define node_spanned_pages(nid) (NODE_DATA(nid)->node_spanned_pages) 340 #define nid_page_nr(nid, pagenr) pgdat_page_nr(NODE_DATA(nid),(pagenr)) 357 void memory_present(int nid, unsigned long start, unsigned long end); 359 static inline void memory_present(int nid, unsigned long start, unsigned long end) {} 434 #define NODE_DATA(nid) (&contig_page_data) 435 #define NODE_MEM_MAP(nid) mem_ma [all...] |
/external/openssl/crypto/objects/ |
obj_dat.pl | 11 $A=$obj_len{$obj{$nid{$a}}}; 12 $B=$obj_len{$obj{$nid{$b}}}; 17 $A=$obj_der{$obj{$nid{$a}}}; 18 $B=$obj_der{$obj{$nid{$b}}}; 76 { $nid{$d}=$1; } 87 @a=sort { $a <=> $b } keys %nid; 95 if (!defined($nid{$i})) 101 $sn=defined($sn{$nid{$i}})?"$sn{$nid{$i}}":"NULL"; 102 $ln=defined($ln{$nid{$i}})?"$ln{$nid{$i}}":"NULL" [all...] |
obj_dat.c | 136 ret=a->nid; 172 return(a->nid-b->nid); 189 a->obj->nid=0; 196 { a->obj->nid++; } 200 if (--a->obj->nid == 0) 216 void check_defer(int nid) 218 if (!obj_cleanup_defer && nid >= NUM_NID) 279 return(o->nid); 296 if ((n != NID_undef) && (nid_objs[n].nid == NID_undef) 429 int nid = NID_undef; local 468 int i,n=0,len,nid, first, use_bn; local 631 int nid; local [all...] |
/external/openssl/crypto/x509/ |
x509_ext.c | 74 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) 76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos)); 99 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) 101 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx); 104 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, 107 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags); 120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) 122 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos)); 150 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) 152 return X509V3_get_d2i(x->cert_info->extensions, nid, crit, idx) [all...] |
x509_req.c | 168 int i, nid; local 170 nid = ext_nids[i]; 171 if(nid == NID_undef) return 0; 172 else if (req_nid == nid) return 1; 219 int nid) 237 attr->object = OBJ_nid2obj(nid); 263 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, 266 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos); 301 int nid, int type, 304 if(X509at_add1_attr_by_NID(&req->req_info->attributes, nid, [all...] |
/external/openssl/crypto/engine/ |
eng_table.c | 63 /* The 'nid' of this algorithm/mode */ 64 int nid; member in struct:st_engine_pile 106 return c->nid; 111 return a->nid - b->nid; 145 tmplate.nid = *nids; 152 fnd->nid = *nids; 238 /* return a functional reference for a given 'nid' */ 240 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid) 242 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, int l [all...] |
tb_cipher.c | 59 * brief debugging summaries to stderr with the 'nid'. */ 112 * references) for a given cipher 'nid' */ 113 ENGINE *ENGINE_get_cipher_engine(int nid) 115 return engine_table_select(&cipher_table, nid); 119 const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid) 123 if(!fn || !fn(e, &ret, NULL, nid))
|
tb_digest.c | 59 * brief debugging summaries to stderr with the 'nid'. */ 112 * references) for a given digest 'nid' */ 113 ENGINE *ENGINE_get_digest_engine(int nid) 115 return engine_table_select(&digest_table, nid); 119 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid) 123 if(!fn || !fn(e, &ret, NULL, nid))
|
eng_openssl.c | 114 const int **nids, int nid); 118 const int **nids, int nid); 278 const int **nids, int nid) 287 if(nid == NID_rc4) 289 else if(nid == NID_rc4_40) 295 "nid %d\n", nid); 346 const int **nids, int nid) 355 if(nid == NID_sha1) 361 "nid %d\n", nid) [all...] |
/external/openssl/crypto/x509v3/ |
v3_lib.c | 97 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) 102 if(nid < 0) return NULL; 103 tmp.ext_nid = nid; 114 int nid; local 115 if((nid = OBJ_obj2nid(ext->object)) == NID_undef) return NULL; 116 return X509V3_EXT_get_nid(nid); 179 /* Get critical flag and decoded version of extension from a NID. 181 * be used to retrieve multiple extensions of the same NID. 182 * However multiple extensions with the same NID is usually 194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx [all...] |
/external/openssl/crypto/asn1/ |
a_strnid.c | 124 int inlen, int inform, int nid) 131 tbl = ASN1_STRING_TABLE_get(nid); 158 /* This table must be kept in NID order */ 185 return (*a)->nid - (*b)->nid; 192 return a->nid - b->nid; 197 ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) 202 fnd.nid = nid; [all...] |
asn_moid.c | 113 int nid; local 131 nid = OBJ_create(ostr, name, ln); 133 if (nid == NID_undef) 153 oid = OBJ_nid2obj(nid);
|
x_attrib.c | 99 X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value) 106 ret->object=OBJ_nid2obj(nid);
|
/external/openssl/crypto/ocsp/ |
ocsp_ext.c | 81 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) 83 return(X509v3_get_ext_by_NID(x->tbsRequest->requestExtensions,nid,lastpos)); 106 void *OCSP_REQUEST_get1_ext_d2i(OCSP_REQUEST *x, int nid, int *crit, int *idx) 108 return X509V3_get_d2i(x->tbsRequest->requestExtensions, nid, crit, idx); 111 int OCSP_REQUEST_add1_ext_i2d(OCSP_REQUEST *x, int nid, void *value, int crit, 114 return X509V3_add1_i2d(&x->tbsRequest->requestExtensions, nid, value, crit, flags); 129 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) 131 return(X509v3_get_ext_by_NID(x->singleRequestExtensions,nid,lastpos)); 154 void *OCSP_ONEREQ_get1_ext_d2i(OCSP_ONEREQ *x, int nid, int *crit, int *idx) 156 return X509V3_get_d2i(x->singleRequestExtensions, nid, crit, idx) 455 int nid; local [all...] |
/external/openssl/crypto/pem/ |
pem_pk8.c | 70 int nid, const EVP_CIPHER *enc, 74 int nid, const EVP_CIPHER *enc, 80 * is NULL then it uses the unencrypted private key form. The 'nid' versions 84 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, 88 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); 105 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, 109 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u); 112 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, 125 if(enc || (nid != -1)) { 137 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf) [all...] |
/external/openssl/crypto/evp/ |
evp_lib.c | 118 /* Convert the various cipher NIDs and dummies to a proper OID NID */ 121 int nid; local 123 nid = EVP_CIPHER_nid(ctx); 125 switch(nid) { 170 otmp = OBJ_nid2obj(nid); 171 if(!otmp || !otmp->data) nid = NID_undef; 173 return nid; 239 return cipher->nid; 244 return ctx->cipher->nid;
|
evp_locl.h | 133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 137 nid##_##nmode, block_size, key_len, iv_len, \ 149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 155 #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ 158 BLOCK_CIPHER_def1(cname, cfb##cbits, cfb##cbits, CFB, kstruct, nid, 1, \ 162 #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ 165 BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \ 169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, [all...] |
/external/chromium/net/base/ |
x509_openssl_util.h | 32 bool ParsePrincipalValueByNID(X509_NAME* name, int nid, std::string* value);
|
x509_openssl_util.cc | 50 bool ParsePrincipalValueByNID(X509_NAME* name, int nid, std::string* value) { 51 int index = X509_NAME_get_index_by_NID(name, nid, -1);
|
/external/openssl/crypto/ecdsa/ |
ecdsatest.c | 102 int x9_62_test_internal(BIO *out, int nid, const char *r, const char *s); 181 int x9_62_test_internal(BIO *out, int nid, const char *r_in, const char *s_in) 198 BIO_printf(out, "testing %s: ", OBJ_nid2sn(nid)); 200 if ((key = EC_KEY_new_by_curve_name(nid)) == NULL) 292 int nid, ret = 0; local 329 nid = curves[n].nid; 330 if (nid == NID_ipsec4) 335 group = EC_GROUP_new_by_curve_name(nid); 348 BIO_printf(out, "%s: ", OBJ_nid2sn(nid)); [all...] |
/external/kernel-headers/original/asm-generic/ |
memory_model.h | 20 #define arch_local_page_offset(pfn, nid) \ 21 ((pfn) - NODE_DATA(nid)->node_start_pfn)
|
/external/openssl/crypto/rsa/ |
rsa_x931.c | 158 int RSA_X931_hash_id(int nid) 160 switch (nid)
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 96 int nid, is_odd, primebitlen, primebytelen, ret = 0; local 100 nid = NID_X9_62_prime256v1; 103 nid = NID_secp384r1; 106 nid = NID_secp521r1; 109 nid = NID_X9_62_prime192v1; 112 nid = NID_secp224r1; 123 if ((grp->group = EC_GROUP_new_by_curve_name(nid)) == NULL) {
|
/external/tcpdump/ |
print-wb.c | 155 u_int16_t nid; member in struct:pgstate 189 int nid; local 204 nid = EXTRACT_16BITS(&id->pi_ps.nid); 205 len -= sizeof(*io) * nid; 207 cp = (char *)(io + nid); 215 for (i = 0; i < nid && (u_char *)(io + 1) <= snapend; ++io, ++i) { 220 if (i >= nid) { 279 for (ie = io + ps->nid; io < ie && (u_char *)(io + 1) <= ep; ++io) {
|