Lines Matching defs:idx
399 quote_string(const char *s, char *out, size_t idx, size_t len, int display)
402 for(p = s; *p && idx < len; p++){
405 add_char(out, idx, len, replace_chars[q - quotable_chars]);
407 add_char(out, idx, len, '\\');
408 add_char(out, idx, len, replace_chars[q - quotable_chars]);
410 add_char(out, idx, len, *p);
412 if(idx < len)
413 out[idx] = '\0';
414 return idx;
425 size_t idx = 0;
440 add_char(name, idx, len, '/');
441 idx = quote_string(princ_ncomp(principal, i), name, idx, len, display);
442 if(idx == len) {
460 add_char(name, idx, len, '@');
461 idx = quote_string(princ_realm(principal), name, idx, len, display);
462 if(idx == len) {