Lines Matching refs:name_string
61 extern Name normalize_name(wchar_t *name_string, int length);
337 normalize_name(wchar_t *name_string, int length) in normalize_name() argument
357 (name_string[0] == (int) period_char) && in normalize_name()
358 (name_string[1] == (int) slash_char)) { in normalize_name()
359 name_string += 2; in normalize_name()
361 while ((length > 0) && (name_string[0] == (int) slash_char)) { in normalize_name()
362 name_string++; in normalize_name()
370 (name_string[0] == (int) slash_char) && in normalize_name()
371 (name_string[1] == (int) period_char) && in normalize_name()
372 (name_string[2] == (int) slash_char)) || in normalize_name()
374 (name_string[0] == (int) slash_char) && in normalize_name()
375 (name_string[1] == (int) period_char))) { in normalize_name()
376 name_string += 2; in normalize_name()
381 (name_string[0] == (int) slash_char) && in normalize_name()
382 (name_string[1] == (int) slash_char)) { in normalize_name()
383 name_string++; in normalize_name()
387 *cdp++ = *name_string++; in normalize_name()
397 name_string = string; in normalize_name()
398 string2 = name_string; /*save for free*/ in normalize_name()
402 ALLOC_WC((length = wcslen(name_string)) + 1); in normalize_name()
405 (name_string[0] == (int) slash_char) && in normalize_name()
406 (name_string[1] == (int) period_char) && in normalize_name()
407 (name_string[2] == (int) period_char) && in normalize_name()
408 (name_string[3] == (int) slash_char)) || in normalize_name()
410 (name_string[0] == (int) slash_char) && in normalize_name()
411 (name_string[1] == (int) period_char) && in normalize_name()
412 (name_string[2] == (int) period_char))) { in normalize_name()
420 name_string += 3; in normalize_name()
423 name_string++; /* skip slash */ in normalize_name()
426 *cdp++ = *name_string++; in normalize_name()
436 if ((*cdp++ = *name_string++) == (int) slash_char) { in normalize_name()