Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/loader/
Dloader.c359 size_t required_len = 0; in loader_platform_combine_path() local
366 if (required_len > 0) { in loader_platform_combine_path()
369 if (dest && required_len + 1 < len) { in loader_platform_combine_path()
370 snprintf(dest + required_len, len - required_len, "%c", in loader_platform_combine_path()
373 required_len++; in loader_platform_combine_path()
376 if (dest && required_len < len) { in loader_platform_combine_path()
377 strncpy(dest + required_len, component, len - required_len); in loader_platform_combine_path()
379 required_len += strlen(component); in loader_platform_combine_path()
385 if (dest && required_len >= len) { in loader_platform_combine_path()
389 return required_len; in loader_platform_combine_path()