Home
last modified time | relevance | path

Searched refs:tok_begin (Results 1 – 1 of 1) sorted by relevance

/NextBSD/crypto/heimdal/lib/krb5/
HDexpand_path.c406 char *tok_begin, *tok_end, *append; in _krb5_expand_path_tokens() local
419 tok_begin = strstr(path_left, "%{"); in _krb5_expand_path_tokens()
421 if (tok_begin && tok_begin != path_left) { in _krb5_expand_path_tokens()
423 append = malloc((tok_begin - path_left) + 1); in _krb5_expand_path_tokens()
425 memcpy(append, path_left, tok_begin - path_left); in _krb5_expand_path_tokens()
426 append[tok_begin - path_left] = '\0'; in _krb5_expand_path_tokens()
428 path_left = tok_begin; in _krb5_expand_path_tokens()
430 } else if (tok_begin) { in _krb5_expand_path_tokens()
432 tok_end = strchr(tok_begin, '}'); in _krb5_expand_path_tokens()
442 if (_expand_token(context, tok_begin, tok_end, &append)) { in _krb5_expand_path_tokens()