Searched refs:shortlen (Results 1 – 5 of 5) sorted by relevance
/openbsd/gnu/usr.bin/perl/cpan/Win32/ |
H A D | Win32.xs | 258 DWORD shortlen = GetShortPathNameW(widename, NULL, 0); in my_ansipath() local 259 if (shortlen) { in my_ansipath() 261 New(0, shortname, shortlen, WCHAR); in my_ansipath() 262 shortlen = GetShortPathNameW(widename, shortname, shortlen)+1; in my_ansipath() 264 len = WideCharToMultiByte(CP_ACP, WC_NO_BEST_FIT_CHARS, shortname, shortlen, in my_ansipath() 267 WideCharToMultiByte(CP_ACP, WC_NO_BEST_FIT_CHARS, shortname, shortlen, in my_ansipath()
|
/openbsd/gnu/usr.bin/perl/win32/ |
H A D | win32.c | 2296 DWORD shortlen = GetShortPathNameW(widename, NULL, 0); in win32_ansipath() local 2297 if (shortlen) { in win32_ansipath() 2298 WCHAR *shortname = (WCHAR*)win32_malloc(shortlen*sizeof(WCHAR)); in win32_ansipath() 2301 shortlen = GetShortPathNameW(widename, shortname, shortlen)+1; in win32_ansipath() 2303 len = WideCharToMultiByte(CP_ACP, WC_NO_BEST_FIT_CHARS, shortname, shortlen, in win32_ansipath() 2308 WideCharToMultiByte(CP_ACP, WC_NO_BEST_FIT_CHARS, shortname, shortlen, in win32_ansipath()
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | elflink.c | 1194 size_t len, shortlen; in _bfd_elf_add_default_symbol() local 1227 shortlen = p - name; in _bfd_elf_add_default_symbol() 1228 shortname = bfd_hash_allocate (&info->hash->table, shortlen + 1); in _bfd_elf_add_default_symbol() 1231 memcpy (shortname, name, shortlen); in _bfd_elf_add_default_symbol() 1232 shortname[shortlen] = '\0'; in _bfd_elf_add_default_symbol() 1341 memcpy (shortname, name, shortlen); in _bfd_elf_add_default_symbol() 1342 memcpy (shortname + shortlen, p + 1, len - shortlen); in _bfd_elf_add_default_symbol()
|
H A D | elflink.h | 1059 size_t len, shortlen; local 1092 shortlen = p - name; 1093 shortname = bfd_hash_allocate (&info->hash->table, shortlen + 1); 1096 memcpy (shortname, name, shortlen); 1097 shortname[shortlen] = '\0'; 1212 memcpy (shortname, name, shortlen); 1213 memcpy (shortname + shortlen, p + 1, len - shortlen);
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elflink.c | 1379 size_t len, shortlen; in _bfd_elf_add_default_symbol() local 1412 shortlen = p - name; in _bfd_elf_add_default_symbol() 1413 shortname = bfd_hash_allocate (&info->hash->table, shortlen + 1); in _bfd_elf_add_default_symbol() 1416 memcpy (shortname, name, shortlen); in _bfd_elf_add_default_symbol() 1417 shortname[shortlen] = '\0'; in _bfd_elf_add_default_symbol() 1523 memcpy (shortname, name, shortlen); in _bfd_elf_add_default_symbol() 1524 memcpy (shortname + shortlen, p + 1, len - shortlen); in _bfd_elf_add_default_symbol()
|