/external/syslinux/com32/gpllib/disk/ |
labels.c | 21 strlcpy(buffer, "DOS 12-bit fat", buffer_size); 24 strlcpy(buffer, "XENIX root", buffer_size); 27 strlcpy(buffer, "XENIX /usr", buffer_size); 30 strlcpy(buffer, "DOS 3.0+ 16-bit FAT (up to 32M)", buffer_size); 33 strlcpy(buffer, "DOS 3.3+ Extended Partition", buffer_size); 36 strlcpy(buffer, "DOS 3.31+ 16-bit FAT (over 32M)", buffer_size); 39 strlcpy(buffer, "NTFS/exFAT/HPFS", buffer_size); 40 //case 0x07: strlcpy(buffer, "Advanced Unix", buffer_size); break; 41 //case 0x07: strlcpy(buffer, "Windows NT NTFS", buffer_size); break; 42 //case 0x07: strlcpy(buffer, "QNX2.x (pre-1988)", buffer_size); break [all...] |
mbrs.c | 31 strlcpy(buffer, "No bootloader", buffer_size - 1); 34 strlcpy(buffer, "ThinkPad", buffer_size - 1); 37 strlcpy(buffer, "Acer 3", buffer_size - 1); 42 strlcpy(buffer, "Windows", buffer_size - 1); 44 strlcpy(buffer, "DiskCryptor", buffer_size - 1); 46 strlcpy(buffer, "Syslinux", buffer_size - 1); 48 strlcpy(buffer, "Unknown mbr", buffer_size - 1); 51 strlcpy(buffer, "Syslinux ISOhybrid", buffer_size - 1); 54 strlcpy(buffer, "HP/Gateway", buffer_size - 1); 57 strlcpy(buffer, "PloP", buffer_size - 1) [all...] |
bootloaders.c | 34 strlcpy(buffer, "SYSLINUX", buffer_size - 1); 36 strlcpy(buffer, "EXTLINUX", buffer_size - 1); 38 strlcpy(buffer, "MSWIN4.1", buffer_size - 1);
|
/external/dhcpcd-6.8.2/compat/ |
strlcpy.h | 33 size_t strlcpy(char *, const char *, size_t);
|
strlcpy.c | 30 #include "strlcpy.h" 33 strlcpy(char *dst, const char *src, size_t size) function
|
/external/clang/test/Sema/ |
warn-strlcpycat-size.c | 4 size_t strlcpy (char * restrict dst, const char * restrict src, size_t size); 21 strlcpy(s1, s2, sizeof(s1)); // no warning 22 strlcpy(s1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 23 strlcpy(s1, s3, strlen(s3)+1); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 25 strlcpy(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 26 strlcpy((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{cha (…) [all...] |
builtins-gnu-mode.c | 18 int strlcpy; variable
|
/external/valgrind/memcheck/tests/solaris/ |
strlcpy.c | 1 /* Tests for some interesting cases in non-standard strlcpy(). */ 25 copied = strlcpy(dst, src, 10); 30 copied = strlcpy(dst, src, strlen(src) + 1); 36 copied = strlcpy(NULL, src, 0); 41 strlcpy(src + 9, src, strlen(src) + 1);
|
strlcpy.stderr.exp | 2 at 0x........: strlcpy (vg_replace_strmem.c:...) 8 Source and destination overlap in strlcpy(0x........, 0x........, 11) 9 at 0x........: strlcpy (vg_replace_strmem.c:...)
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
strlcpy.c | 1 /* $OpenBSD: strlcpy.c,v 1.15 2016/10/16 17:37:39 dtucker Exp $ */ 28 strlcpy(char *dst, const char *src, size_t dsize) function 51 DEF_WEAK(strlcpy); variable
|
/external/mksh/src/ |
strlcpy.c | 21 __RCSID("$MirOS: src/bin/mksh/strlcpy.c,v 1.10 2015/11/29 17:05:02 tg Exp $"); 28 #undef strlcpy macro 30 strlcpy(char *dst, const char *src, size_t siz) function
|
/external/syslinux/com32/hdt/ |
hdt-util.c | 57 strlcpy(unit, "KB", 2); 58 strlcpy(previous_unit, unit, 2); 62 strlcpy(unit, "MB", 2); 66 strlcpy(previous_unit, unit, 2); 67 strlcpy(unit, "GB", 2); 71 strlcpy(previous_unit, unit, 2); 72 strlcpy(unit, "TB", 2);
|
/art/libartbase/base/ |
strlcpy.h | 23 // Expose a simple implementation of strlcpy when we're not compiling against bionic. This is to 31 static inline size_t strlcpy(char* dst, const char* src, size_t size) { function
|
/external/libevent/ |
strlcpy-internal.h | 14 #define strlcpy event_strlcpy_ macro
|
/external/syslinux/com32/lua/src/ |
pci.c | 109 strlcpy(vendor_id,line,4); 113 strlcpy(vendor,skipspace(strstr(line," ")),255); 127 strlcpy(product,skipspace(strstr(line," ")),255); 131 strlcpy(productvendor,vendor_id,4); 133 strlcpy(productvendor+4,&line[1],4); 144 strlcpy(product,skipspace(strstr(line," ")),255); 145 strlcpy(product,skipspace(strstr(product," ")),255); 148 strlcpy(productvendorsub, productvendor,8); 149 strlcpy(productvendorsub+8, &line[2],4); 150 strlcpy(productvendorsub+12, &line[7],4) [all...] |
/external/syslinux/com32/gpllib/vpd/ |
vpd.c | 84 strlcpy(vpd->bios_build_id, q + 0x0D, 9); 85 strlcpy(vpd->box_serial_number, q + 0x16, 7); 86 strlcpy(vpd->motherboard_serial_number, q + 0x1D, 11); 87 strlcpy(vpd->machine_type_model, q + 0x28, 7); 92 strlcpy(vpd->bios_release_date, q + 0x30, 8); 93 strlcpy(vpd->default_flash_filename, q + 0x38, 12); 96 strlcpy(vpd->bios_version, q + 0x44, 255);
|
/external/libedit/src/ |
strlcpy.c | 1 /* $NetBSD: strlcpy.c,v 1.3 2007/06/04 18:19:27 christos Exp $ */ 2 /* $OpenBSD: strlcpy.c,v 1.7 2003/04/12 21:56:39 millert Exp $ */ 23 __RCSID("$NetBSD: strlcpy.c,v 1.3 2007/06/04 18:19:27 christos Exp $"); 32 __weak_alias(strlcpy, _strlcpy) 43 strlcpy(char *dst, const char *src, size_t siz)
|
/hardware/qcom/audio/hal/msm8916/ |
hw_info.c | 46 strlcpy(hw_info->name, "msm8x16", sizeof(hw_info->name)); 49 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); 51 strlcpy(hw_info->name, "msm8909", sizeof(hw_info->name)); 54 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); 56 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); 77 strlcpy(hw_info->type, "", sizeof(hw_info->type)); 78 strlcpy(hw_info->name, "", sizeof(hw_info->name)); 81 strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn));
|
/system/bt/osi/include/ |
compat.h | 32 size_t strlcpy(char* dst, const char* src, size_t siz);
|
/system/media/audio_utils/include/audio_utils/ |
string.h | 22 /** similar to strlcpy but also zero fills to end of string buffer, ensures no data leak 25 const size_t srclen = strlcpy(dst, src, dst_size); 42 /** similar to strlcpy for fixed size destination string. */ 45 return strlcpy(dst, src, size);
|
/external/google-breakpad/src/client/mac/crash_generation/ |
Inspector.h | 67 strlcpy(key, inEntry.key, sizeof(key) ); 68 strlcpy(value, inEntry.value, sizeof(value) ); 90 strlcpy(minidump_dir_path_, [minidumpDir fileSystemRepresentation], 100 strlcpy(minidump_id_, next_minidump_id.c_str(), sizeof(minidump_id_));
|
/external/libpcap/ |
pcap-null.c | 41 (void)strlcpy(ebuf, nosup, PCAP_ERRBUF_SIZE);
|
/external/syslinux/com32/lib/ |
strlcpy.c | 2 * strlcpy.c 8 size_t strlcpy(char *dst, const char *src, size_t size) function
|
/external/tcpdump/missing/ |
strlcpy.c | 1 /* $NetBSD: strlcpy.c,v 1.5 1999/09/20 04:39:47 lukem Exp $ */ 2 /* from OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp */ 47 strlcpy(char *dst, const char *src, size_t siz) function
|
/system/core/libcutils/include/cutils/ |
memory.h | 34 /* Declaration of strlcpy() for platforms that don't already have it. */ 35 size_t strlcpy(char *dst, const char *src, size_t size);
|