• Home
  • Raw
  • Download

Lines Matching refs:nid

130   r->nid = o->nid;  in OBJ_dup()
193 unsigned nid = *((const unsigned*) element); in obj_cmp() local
195 const ASN1_OBJECT *b = &kObjects[nid]; in obj_cmp()
212 if (obj->nid != 0) { in OBJ_obj2nid()
213 return obj->nid; in OBJ_obj2nid()
223 return match->nid; in OBJ_obj2nid()
234 return kObjects[*nid_ptr].nid; in OBJ_obj2nid()
255 unsigned nid = *((unsigned*) element); in short_name_cmp() local
257 return strcmp(name, kObjects[nid].sn); in short_name_cmp()
271 return match->nid; in OBJ_sn2nid()
283 return kObjects[*nid_ptr].nid; in OBJ_sn2nid()
291 unsigned nid = *((unsigned*) element); in long_name_cmp() local
293 return strcmp(name, kObjects[nid].ln); in long_name_cmp()
307 return match->nid; in OBJ_ln2nid()
319 return kObjects[*nid_ptr].nid; in OBJ_ln2nid()
324 int nid; in OBJ_txt2nid() local
327 nid = OBJ_obj2nid(obj); in OBJ_txt2nid()
329 return nid; in OBJ_txt2nid()
332 OPENSSL_EXPORT int OBJ_nid2cbb(CBB *out, int nid) { in OBJ_nid2cbb() argument
333 const ASN1_OBJECT *obj = OBJ_nid2obj(nid); in OBJ_nid2cbb()
346 const ASN1_OBJECT *OBJ_nid2obj(int nid) { in OBJ_nid2obj() argument
347 if (nid >= 0 && nid < NUM_NID) { in OBJ_nid2obj()
348 if (nid != NID_undef && kObjects[nid].nid == NID_undef) { in OBJ_nid2obj()
351 return &kObjects[nid]; in OBJ_nid2obj()
358 template.nid = nid; in OBJ_nid2obj()
372 const char *OBJ_nid2sn(int nid) { in OBJ_nid2sn() argument
373 const ASN1_OBJECT *obj = OBJ_nid2obj(nid); in OBJ_nid2sn()
381 const char *OBJ_nid2ln(int nid) { in OBJ_nid2ln() argument
382 const ASN1_OBJECT *obj = OBJ_nid2obj(nid); in OBJ_nid2ln()
413 int nid = OBJ_sn2nid(s); in OBJ_txt2obj() local
414 if (nid == NID_undef) { in OBJ_txt2obj()
415 nid = OBJ_ln2nid(s); in OBJ_txt2obj()
418 if (nid != NID_undef) { in OBJ_txt2obj()
419 return (ASN1_OBJECT*) OBJ_nid2obj(nid); in OBJ_txt2obj()
444 int nid = OBJ_obj2nid(obj); in OBJ_obj2txt() local
445 if (nid != NID_undef) { in OBJ_obj2txt()
446 const char *name = OBJ_nid2ln(nid); in OBJ_obj2txt()
448 name = OBJ_nid2sn(nid); in OBJ_obj2txt()
472 return obj->nid; in hash_nid()
476 return a->nid - b->nid; in cmp_nid()
551 return op->nid; in OBJ_create()