/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...] |
/external/valgrind/memcheck/tests/solaris/ |
strlcpy.vgtest | 1 prog: strlcpy
|
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:...)
|
/external/syslinux/com32/lib/ |
strlcpy.c | 2 * strlcpy.c 8 size_t 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/libevent/ |
strlcpy-internal.h | 13 #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...] |
/bionic/libc/arch-x86_64/string/ |
sse2-strlcat-slm.S | 33 #ifndef STRLCPY 34 # define STRLCPY strlcat 37 #include "sse2-strlcpy-slm.S"
|
/cts/hostsidetests/security/securityPatch/Bug-35047217/ |
poc.cpp | 43 strlcpy(&(query_intf.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX); 49 strlcpy(&(tx_props_2.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX); 57 strlcpy(&(tx_props.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX);
|
/cts/hostsidetests/security/securityPatch/Bug-35047780/ |
poc.cpp | 44 strlcpy(&(query_intf.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX); 50 strlcpy(&(ext_props_2.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX); 58 strlcpy(&(ext_props.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX);
|
/cts/hostsidetests/security/securityPatch/Bug-35048450/ |
poc.cpp | 42 strlcpy(&(query_intf.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX); 48 strlcpy(&(rx_props_2.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX); 56 strlcpy(&(rx_props.name[0]), "rmnet_data0", IPA_RESOURCE_NAME_MAX);
|
/device/linaro/bootloader/edk2/StdLib/LibC/String/ |
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 $ */
28 __RCSID("$NetBSD: strlcpy.c,v 1.3 2007/06/04 18:19:27 christos Exp $");
40 __weak_alias(strlcpy, _strlcpy)
55 strlcpy(char *dst, const char *src, size_t siz)
|
/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)
|
/external/syslinux/com32/gpllib/dmi/ |
dmi.c | 76 strlcpy(dmi->base_board.devices_information[i].type, 80 strlcpy(dmi->base_board.devices_information[i].description, 106 strlcpy(array, "Unknown", sizeof array); 114 strlcpy(array, "Unknown", sizeof array); 182 strlcpy(array, status[code], SYSTEM_BOOT_STATUS_SIZE); 184 strlcpy(array, "OEM-specific", SYSTEM_BOOT_STATUS_SIZE); 186 strlcpy(array, "Product-specific", SYSTEM_BOOT_STATUS_SIZE); 193 strlcpy(dmi->bios.runtime_size_unit, "bytes", 197 strlcpy(dmi->bios.runtime_size_unit, "KB", 282 strlcpy(dmi->system.wakeup_type, type[code] [all...] |
/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);
|
/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)); 52 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); 54 strlcpy(hw_info->name, "msm8952", sizeof(hw_info->name)); 74 strlcpy(hw_info->type, "", sizeof(hw_info->type)); 75 strlcpy(hw_info->name, "", sizeof(hw_info->name)); 78 strlcpy(hw_info->dev_extn, "", sizeof(hw_info->dev_extn));
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_dump_layers.cpp | 70 strlcpy(mDisplayName, "external", sizeof(mDisplayName)); 72 strlcpy(mDisplayName, "primary", sizeof(mDisplayName)); 123 strlcpy(mDumpPropStrPng, dumpPropStr, sizeof(mDumpPropStrPng)); 153 strlcpy(mDumpPropStrRaw, dumpPropStr, sizeof(mDumpPropStrRaw)); 386 strlcpy(pixFormatStr, "RGBA_8888", sizeof(pixFormatStr)); 389 strlcpy(pixFormatStr, "RGBX_8888", sizeof(pixFormatStr)); 392 strlcpy(pixFormatStr, "RGB_888", sizeof(pixFormatStr)); 395 strlcpy(pixFormatStr, "RGB_565", sizeof(pixFormatStr)); 398 strlcpy(pixFormatStr, "BGRA_8888", sizeof(pixFormatStr)); 401 strlcpy(pixFormatStr, "RGBA_5551", sizeof(pixFormatStr)) [all...] |
/external/syslinux/com32/lib/pci/ |
scan.c | 90 strlcpy(dev->dev_info->linux_kernel_module[i], "unknown",7); 193 strlcpy(dev->dev_info->class_name, "unknown", 7); 212 strlcpy(class_name, "unknown", 7); 217 strlcpy(class_id_str, &line[2], 2); 221 strlcpy(class_name, skipspace(strstr(line, " ")), 229 strlcpy(dev->dev_info->class_name, class_name, 232 strlcpy(dev->dev_info->category_name, class_name + 4, 240 strlcpy(sub_class_name, skipspace(strstr(line, " ")), 245 strlcpy(sub_class_id_str, &line[1], 2); 254 strlcpy(dev->dev_info->class_name, sub_class_name [all...] |
/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) __overloadable 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/openssh/openbsd-compat/ |
strlcpy.c | 1 /* $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $ */ 19 /* OPENBSD ORIGINAL: lib/libc/string/strlcpy.c */ 33 strlcpy(char *dst, const char *src, size_t siz) function
|
/external/syslinux/bios/com32/lua/src/ |
pci.c32 | |