Lines Matching refs:strlen
302 UINTN strlen; in xstra_to_str() local
312 strlen = 0; in xstra_to_str()
317 utf8len = utf8_to_16(stra + i, str + strlen); in xstra_to_str()
324 strlen++; in xstra_to_str()
327 str[strlen] = '\0'; in xstra_to_str()
333 UINTN strlen; in xstra_to_path() local
343 strlen = 1; in xstra_to_path()
348 utf8len = utf8_to_16(stra + i, str + strlen); in xstra_to_path()
355 if (str[strlen] == '/') in xstra_to_path()
356 str[strlen] = '\\'; in xstra_to_path()
357 if (str[strlen] == '\\' && str[strlen-1] == '\\') { in xstra_to_path()
363 strlen++; in xstra_to_path()
366 str[strlen] = '\0'; in xstra_to_path()