Home
last modified time | relevance | path

Searched refs:nid (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/boringssl/src/crypto/obj/
Dobj.c129 r->nid = o->nid; in OBJ_dup()
192 uint16_t nid = *((const uint16_t *)element); in obj_cmp() local
194 const ASN1_OBJECT *b = &kObjects[nid]; in obj_cmp()
209 if (obj->nid != 0) { in OBJ_obj2nid()
210 return obj->nid; in OBJ_obj2nid()
220 return match->nid; in OBJ_obj2nid()
232 return kObjects[*nid_ptr].nid; in OBJ_obj2nid()
253 uint16_t nid = *((const uint16_t *)element); in short_name_cmp() local
255 return strcmp(name, kObjects[nid].sn); in short_name_cmp()
267 return match->nid; in OBJ_sn2nid()
[all …]
Dobjects.go90 nid, err := strconv.Atoi(fields[1])
94 if nid < 0 {
99 if name == "undef" && nid == 0 {
107 if _, ok := nidsSeen[nid]; ok {
108 return nil, 0, withLine(fmt.Errorf("duplicate NID %d", nid))
111 nameToNID[name] = nid
112 nidsSeen[nid] = struct{}{}
114 if nid >= numNIDs {
115 numNIDs = nid + 1
333 nid, ok := nameToNID[obj.name]
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/obj/
Dobj.c129 r->nid = o->nid; in OBJ_dup()
192 uint16_t nid = *((const uint16_t *)element); in obj_cmp() local
194 const ASN1_OBJECT *b = &kObjects[nid]; in obj_cmp()
209 if (obj->nid != 0) { in OBJ_obj2nid()
210 return obj->nid; in OBJ_obj2nid()
220 return match->nid; in OBJ_obj2nid()
232 return kObjects[*nid_ptr].nid; in OBJ_obj2nid()
253 uint16_t nid = *((const uint16_t *)element); in short_name_cmp() local
255 return strcmp(name, kObjects[nid].sn); in short_name_cmp()
267 return match->nid; in OBJ_sn2nid()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_ext.c70 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument
72 return (X509v3_get_ext_by_NID(x->crl->extensions, nid, lastpos)); in X509_CRL_get_ext_by_NID()
95 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx) in X509_CRL_get_ext_d2i() argument
97 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx); in X509_CRL_get_ext_d2i()
100 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, in X509_CRL_add1_ext_i2d() argument
103 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags); in X509_CRL_add1_ext_i2d()
116 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
118 return (X509v3_get_ext_by_NID(x->cert_info->extensions, nid, lastpos)); in X509_get_ext_by_NID()
147 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) in X509_get_ext_d2i() argument
149 return X509V3_get_d2i(x->cert_info->extensions, nid, crit, idx); in X509_get_ext_d2i()
[all …]
/external/boringssl/src/crypto/x509/
Dx509_ext.c70 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument
72 return (X509v3_get_ext_by_NID(x->crl->extensions, nid, lastpos)); in X509_CRL_get_ext_by_NID()
96 void *X509_CRL_get_ext_d2i(const X509_CRL *crl, int nid, int *out_critical, in X509_CRL_get_ext_d2i() argument
99 return X509V3_get_d2i(crl->crl->extensions, nid, out_critical, out_idx); in X509_CRL_get_ext_d2i()
102 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, in X509_CRL_add1_ext_i2d() argument
105 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags); in X509_CRL_add1_ext_i2d()
118 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
120 return (X509v3_get_ext_by_NID(x->cert_info->extensions, nid, lastpos)); in X509_get_ext_by_NID()
149 void *X509_get_ext_d2i(const X509 *x509, int nid, int *out_critical, in X509_get_ext_d2i() argument
152 return X509V3_get_d2i(x509->cert_info->extensions, nid, out_critical, in X509_get_ext_d2i()
[all …]
/external/arm-trusted-firmware/plat/xilinx/zynqmp/pm_service/
Dpm_api_sys.h39 enum pm_ret_status pm_req_suspend(enum pm_node_id nid,
44 enum pm_ret_status pm_self_suspend(enum pm_node_id nid,
49 enum pm_ret_status pm_force_powerdown(enum pm_node_id nid,
54 enum pm_ret_status pm_req_wakeup(enum pm_node_id nid,
71 enum pm_ret_status pm_req_node(enum pm_node_id nid,
75 enum pm_ret_status pm_release_node(enum pm_node_id nid);
77 enum pm_ret_status pm_set_requirement(enum pm_node_id nid,
81 enum pm_ret_status pm_set_max_latency(enum pm_node_id nid,
90 enum pm_ret_status pm_register_notifier(enum pm_node_id nid,
94 enum pm_ret_status pm_get_op_characteristic(enum pm_node_id nid,
[all …]
Dpm_api_ioctl.c92 static enum pm_ret_status pm_ioctl_config_boot_addr(enum pm_node_id nid, in pm_ioctl_config_boot_addr() argument
97 if (nid == NODE_RPU_0) in pm_ioctl_config_boot_addr()
99 else if (nid == NODE_RPU_1) in pm_ioctl_config_boot_addr()
175 static enum pm_ret_status pm_ioctl_set_sgmii_mode(enum pm_node_id nid, in pm_ioctl_set_sgmii_mode() argument
184 switch (nid) { in pm_ioctl_set_sgmii_mode()
231 static enum pm_ret_status pm_ioctl_sd_dll_reset(enum pm_node_id nid, in pm_ioctl_sd_dll_reset() argument
237 if (nid == NODE_SD_0) { in pm_ioctl_sd_dll_reset()
240 } else if (nid == NODE_SD_1) { in pm_ioctl_sd_dll_reset()
279 static enum pm_ret_status pm_ioctl_sd_set_tapdelay(enum pm_node_id nid, in pm_ioctl_sd_set_tapdelay() argument
287 if (nid == NODE_SD_0) { in pm_ioctl_sd_set_tapdelay()
[all …]
Dpm_api_sys.c84 enum pm_ret_status pm_self_suspend(enum pm_node_id nid, in pm_self_suspend() argument
266 enum pm_ret_status pm_req_node(enum pm_node_id nid, in pm_req_node() argument
273 PM_PACK_PAYLOAD5(payload, PM_REQ_NODE, nid, capabilities, qos, ack); in pm_req_node()
292 enum pm_ret_status pm_set_requirement(enum pm_node_id nid, in pm_set_requirement() argument
299 PM_PACK_PAYLOAD5(payload, PM_SET_REQUIREMENT, nid, capabilities, qos, in pm_set_requirement()
314 enum pm_ret_status pm_release_node(enum pm_node_id nid) in pm_release_node() argument
318 PM_PACK_PAYLOAD2(payload, PM_RELEASE_NODE, nid); in pm_release_node()
329 enum pm_ret_status pm_set_max_latency(enum pm_node_id nid, in pm_set_max_latency() argument
334 PM_PACK_PAYLOAD3(payload, PM_SET_MAX_LATENCY, nid, latency); in pm_set_max_latency()
395 enum pm_ret_status pm_get_node_status(enum pm_node_id nid, in pm_get_node_status() argument
[all …]
/external/f2fs-tools/fsck/
Dfsck.c71 u32 nid, u32 link_cnt) in add_into_hard_link_list() argument
79 node->nid = nid; in add_into_hard_link_list()
92 while (tmp && (nid < tmp->nid)) { in add_into_hard_link_list()
93 ASSERT(tmp->nid != nid); in add_into_hard_link_list()
107 DBG(2, "ino[0x%x] has hard links [0x%x]\n", nid, link_cnt); in add_into_hard_link_list()
111 static int find_and_dec_hard_link_list(struct f2fs_sb_info *sbi, u32 nid) in find_and_dec_hard_link_list() argument
121 while (node && (nid < node->nid)) { in find_and_dec_hard_link_list()
126 if (node == NULL || (nid != node->nid)) in find_and_dec_hard_link_list()
144 static int is_valid_ssa_node_blk(struct f2fs_sb_info *sbi, u32 nid, in is_valid_ssa_node_blk() argument
184 if (le32_to_cpu(sum_entry->nid) != nid) { in is_valid_ssa_node_blk()
[all …]
Ddump.c38 nid_t nid; in nat_dump() local
51 for (nid = start_nat; nid < end_nat; nid++) { in nat_dump()
54 if(nid == 0 || nid == F2FS_NODE_INO(sbi) || in nat_dump()
55 nid == F2FS_META_INO(sbi)) in nat_dump()
58 ni.nid = nid; in nat_dump()
59 block_addr = current_nat_addr(sbi, nid, &pack); in nat_dump()
61 if (lookup_nat_in_journal(sbi, nid, &raw_nat) >= 0) { in nat_dump()
70 ni.nid, ni.ino, in nat_dump()
81 &nat_block->entries[nid % NAT_ENTRY_PER_BLOCK]); in nat_dump()
91 ni.nid, ni.ino, in nat_dump()
[all …]
Dnode.c19 void f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid) in f2fs_alloc_nid() argument
30 *nid = i; in f2fs_alloc_nid()
33 void f2fs_release_nid(struct f2fs_sb_info *sbi, nid_t nid) in f2fs_release_nid() argument
37 ASSERT(nid < nm_i->max_nid); in f2fs_release_nid()
38 ASSERT(f2fs_test_bit(nid, nm_i->nid_bitmap)); in f2fs_release_nid()
40 f2fs_clear_bit(nid, nm_i->nid_bitmap); in f2fs_release_nid()
79 node_blk->footer.nid = cpu_to_le32(dn->nid); in new_node_block()
97 get_node_info(sbi, dn->nid, &ni); in new_node_block()
98 set_summary(&sum, dn->nid, 0, ni.version); in new_node_block()
107 dn->nid, blkaddr); in new_node_block()
[all …]
Dnode.h23 return ((node)->footer.nid == (node)->footer.ino); in IS_INODE()
71 static inline void set_nid(struct f2fs_node * rn, int off, nid_t nid, int i) in set_nid() argument
74 rn->i.i_nid[off - NODE_DIR1_BLOCK] = cpu_to_le32(nid); in set_nid()
76 rn->in.nid[off] = cpu_to_le32(nid); in set_nid()
84 return le32_to_cpu(rn->in.nid[off]); in get_nid()
94 struct f2fs_node *iblk, struct f2fs_node *nblk, nid_t nid) in set_new_dnode() argument
99 dn->nid = nid; in set_new_dnode()
/external/rust/crates/quiche/deps/boringssl/src/crypto/asn1/
Da_strnid.c130 int inform, int nid) in ASN1_STRING_set_by_NID() argument
138 tbl = ASN1_STRING_TABLE_get(nid); in ASN1_STRING_set_by_NID()
200 return (*a)->nid - (*b)->nid; in sk_table_cmp()
207 return a->nid - b->nid; in table_cmp()
210 ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) in ASN1_STRING_TABLE_get() argument
216 fnd.nid = nid; in ASN1_STRING_TABLE_get()
233 int ASN1_STRING_TABLE_add(int nid, in ASN1_STRING_TABLE_add() argument
246 if (!(tmp = ASN1_STRING_TABLE_get(nid))) { in ASN1_STRING_TABLE_add()
253 tmp->nid = nid; in ASN1_STRING_TABLE_add()
293 if (tmp->nid < last_nid) { in main()
[all …]
/external/boringssl/src/crypto/asn1/
Da_strnid.c130 int inform, int nid) in ASN1_STRING_set_by_NID() argument
138 tbl = ASN1_STRING_TABLE_get(nid); in ASN1_STRING_set_by_NID()
200 return (*a)->nid - (*b)->nid; in sk_table_cmp()
207 return a->nid - b->nid; in table_cmp()
210 ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid) in ASN1_STRING_TABLE_get() argument
216 fnd.nid = nid; in ASN1_STRING_TABLE_get()
233 int ASN1_STRING_TABLE_add(int nid, in ASN1_STRING_TABLE_add() argument
246 if (!(tmp = ASN1_STRING_TABLE_get(nid))) { in ASN1_STRING_TABLE_add()
253 tmp->nid = nid; in ASN1_STRING_TABLE_add()
293 if (tmp->nid < last_nid) { in main()
[all …]
/external/erofs-utils/lib/
Dnamei.c32 const erofs_off_t inode_loc = iloc(vi->nid); in erofs_read_inode_from_disk()
44 vi->datalayout, vi->nid | 0ULL); in erofs_read_inode_from_disk()
122 erofs_inode_version(ifmt), vi->nid | 0ULL); in erofs_read_inode_from_disk()
131 erofs_err("bogus i_mode (%o) @ nid %llu", vi->i_mode, vi->nid | 0ULL); in erofs_read_inode_from_disk()
174 erofs_nid_t nid; member
181 erofs_nid_t nid = nd->nid; in erofs_namei() local
184 struct erofs_inode vi = { .nid = nid }; in erofs_namei()
206 nameoff, nid | 0ULL); in erofs_namei()
210 de = find_target_dirent(nid, buf, name, len, in erofs_namei()
216 nd->nid = le64_to_cpu(de->nid); in erofs_namei()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/
Ddigest_extra.c69 int nid; member
104 const EVP_MD* EVP_get_digestbynid(int nid) { in EVP_get_digestbynid() argument
105 if (nid == NID_undef) { in EVP_get_digestbynid()
111 if (nid_to_digest_mapping[i].nid == nid) { in EVP_get_digestbynid()
122 int nid; member
145 return EVP_get_digestbynid(kMDOIDs[i].nid); in cbs_to_md()
154 if (obj->nid != NID_undef) { in EVP_get_digestbyobj()
155 return EVP_get_digestbynid(obj->nid); in EVP_get_digestbyobj()
203 int nid = EVP_MD_type(md); in EVP_marshal_digest_algorithm() local
205 if (nid == kMDOIDs[i].nid) { in EVP_marshal_digest_algorithm()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_pk8.c68 int nid, const EVP_CIPHER *enc,
71 int nid, const EVP_CIPHER *enc,
81 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid() argument
85 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); in PEM_write_bio_PKCS8PrivateKey_nid()
102 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio() argument
106 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u); in i2d_PKCS8PrivateKey_nid_bio()
109 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, in do_pk8pkey() argument
121 if (enc || (nid != -1)) { in do_pk8pkey()
135 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
201 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_fp() argument
[all …]
/external/boringssl/src/crypto/pem/
Dpem_pk8.c68 int nid, const EVP_CIPHER *enc,
71 int nid, const EVP_CIPHER *enc,
81 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid() argument
85 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u); in PEM_write_bio_PKCS8PrivateKey_nid()
102 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio() argument
106 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u); in i2d_PKCS8PrivateKey_nid_bio()
109 static int do_pk8pkey(BIO *bp, EVP_PKEY *x, int isder, int nid, in do_pk8pkey() argument
121 if (enc || (nid != -1)) { in do_pk8pkey()
135 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
201 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_fp() argument
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZFile.java353 int nid = getUnsignedByte(buf); in readHeaders() local
354 if (nid == NID.kEncodedHeader) { in readHeaders()
358 nid = getUnsignedByte(buf); in readHeaders()
360 if (nid == NID.kHeader) { in readHeaders()
382 int nid = getUnsignedByte(header); in readHeader() local
384 if (nid == NID.kArchiveProperties) { in readHeader()
386 nid = getUnsignedByte(header); in readHeader()
389 if (nid == NID.kAdditionalStreamsInfo) { in readHeader()
394 if (nid == NID.kMainStreamsInfo) { in readHeader()
396 nid = getUnsignedByte(header); in readHeader()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_lib.c102 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) in X509V3_EXT_get_nid() argument
108 if (nid < 0) in X509V3_EXT_get_nid()
110 tmp.ext_nid = nid; in X509V3_EXT_get_nid()
127 int nid; in X509V3_EXT_get() local
128 if ((nid = OBJ_obj2nid(ext->object)) == NID_undef) in X509V3_EXT_get()
130 return X509V3_EXT_get_nid(nid); in X509V3_EXT_get()
133 int X509V3_EXT_free(int nid, void *ext_data) in X509V3_EXT_free() argument
135 const X509V3_EXT_METHOD *ext_method = X509V3_EXT_get_nid(nid); in X509V3_EXT_free()
233 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, in X509V3_get_d2i() argument
254 if (OBJ_obj2nid(ex->object) == nid) { in X509V3_get_d2i()
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_lib.c102 const X509V3_EXT_METHOD *X509V3_EXT_get_nid(int nid) in X509V3_EXT_get_nid() argument
108 if (nid < 0) in X509V3_EXT_get_nid()
110 tmp.ext_nid = nid; in X509V3_EXT_get_nid()
127 int nid; in X509V3_EXT_get() local
128 if ((nid = OBJ_obj2nid(ext->object)) == NID_undef) in X509V3_EXT_get()
130 return X509V3_EXT_get_nid(nid); in X509V3_EXT_get()
133 int X509V3_EXT_free(int nid, void *ext_data) in X509V3_EXT_free() argument
135 const X509V3_EXT_METHOD *ext_method = X509V3_EXT_get_nid(nid); in X509V3_EXT_free()
220 void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *extensions, int nid, in X509V3_get_d2i() argument
241 if (OBJ_obj2nid(ex->object) == nid) { in X509V3_get_d2i()
[all …]
/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c71 int nid; member
106 const EVP_MD* EVP_get_digestbynid(int nid) { in EVP_get_digestbynid() argument
107 if (nid == NID_undef) { in EVP_get_digestbynid()
113 if (nid_to_digest_mapping[i].nid == nid) { in EVP_get_digestbynid()
124 int nid; member
147 return EVP_get_digestbynid(kMDOIDs[i].nid); in cbs_to_md()
156 if (obj->nid != NID_undef) { in EVP_get_digestbyobj()
157 return EVP_get_digestbynid(obj->nid); in EVP_get_digestbyobj()
205 int nid = EVP_MD_type(md); in EVP_marshal_digest_algorithm() local
207 if (nid == kMDOIDs[i].nid) { in EVP_marshal_digest_algorithm()
/external/arm-trusted-firmware/tools/cert_create/src/
Dext.c51 int nid, ret; variable
69 nid = OBJ_create(ext->oid, ext->sn, ext->ln);
71 X509V3_EXT_add_alias(nid, ext->alias);
89 m->ext_nid = nid;
117 X509_EXTENSION *ext_new(int nid, int crit, unsigned char *data, int len) in ext_new() argument
127 ex = X509_EXTENSION_create_by_NID(NULL, nid, crit, ext_data); in ext_new()
157 X509_EXTENSION *ext_new_hash(int nid, int crit, const EVP_MD *md, in ext_new_hash() argument
195 ex = ext_new(nid, crit, p, sz); in ext_new_hash()
216 X509_EXTENSION *ext_new_nvcounter(int nid, int crit, int value) in ext_new_nvcounter() argument
229 ex = ext_new(nid, crit, p, sz); in ext_new_nvcounter()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/f2fs/f2fs_truncate_partial_nodes/
Dformat11 field:nid_t nid[3]; offset:36; size:4; signed:0;
15nid[0] = %u, nid[1] = %u, nid[2] = %u, depth = %d, err = %d", ((unsigned int) ((REC->dev) >> 20)),…
/external/perfetto/protos/perfetto/trace/ftrace/
Dcompaction.proto16 optional int32 nid = 1; field
24 optional int32 nid = 1; field
32 optional int32 nid = 1; field
48 optional int32 nid = 1; field
66 optional int32 nid = 1; field
69 optional int32 nid = 1; field
78 optional int32 nid = 1; field
89 optional int32 nid = 1; field

1234567891011