Lines Matching defs:cOid
608 gss_OID cOid;
616 cOid = malloc(sizeof(struct gss_OID_desc_struct));
617 cOid->length = (*env)->GetArrayLength(env, jbytes) - 2;
618 cOid->elements = malloc(cOid->length);
619 (*env)->GetByteArrayRegion(env, jbytes, 2, cOid->length,
620 cOid->elements);
622 return cOid;
642 jobject getJavaOID(JNIEnv *env, gss_OID cOid) {
648 if ((cOid == NULL) || (cOid == GSS_C_NO_OID)) {
651 cLen = cOid->length;
656 (*env)->SetByteArrayRegion(env, jbytes, 2, cLen, (jbyte *) cOid->elements);