Lines Matching refs:tr
257 const char *tr, int length, struct tr_realm **realms) in decode_realms() argument
263 const char *start = tr; in decode_realms()
271 if(tr[i] == '\\'){ in decode_realms()
275 if(tr[i] == ','){ in decode_realms()
276 tmp = malloc(tr + i - start + 1); in decode_realms()
279 memcpy(tmp, start, tr + i - start); in decode_realms()
280 tmp[tr + i - start] = '\0'; in decode_realms()
288 start = tr + i + 1; in decode_realms()
291 tmp = malloc(tr + i - start + 1); in decode_realms()
297 memcpy(tmp, start, tr + i - start); in decode_realms()
298 tmp[tr + i - start] = '\0'; in decode_realms()
313 krb5_data tr, char ***realms, unsigned int *num_realms, in krb5_domain_x500_decode() argument
320 if(tr.length == 0) { in krb5_domain_x500_decode()
327 ret = decode_realms(context, tr.data, tr.length, &r); in krb5_domain_x500_decode()