Home
last modified time | relevance | path

Searched refs:strncpy (Results 1 – 25 of 101) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetpath.c223 strncpy(buffer+n, stuff, k); in joinpath()
270 strncpy(prefix, home, MAXPATHLEN); in search_for_prefix()
306 strncpy(prefix, PREFIX, MAXPATHLEN); in search_for_prefix()
330 strncpy(exec_prefix, delim+1, MAXPATHLEN); in search_for_exec_prefix()
332 strncpy(exec_prefix, home, MAXPATHLEN); in search_for_exec_prefix()
359 strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN); in search_for_exec_prefix()
406 strncpy(progpath, prog, MAXPATHLEN); in calculate_path()
429 strncpy(progpath, path, len); in calculate_path()
433 strncpy(progpath, path, MAXPATHLEN); in calculate_path()
450 strncpy(argv0_path, progpath, MAXPATHLEN); in calculate_path()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Dgetpath.c189 strncpy(buffer, volume_name, MAXPATHLEN); in joinpath()
207 strncpy(buffer+n, stuff, k); in joinpath()
421 strncpy(progpath, prog, MAXPATHLEN); in calculate_path()
430 strncpy(progpath, path, len); in calculate_path()
434 strncpy(progpath, path, MAXPATHLEN); in calculate_path()
451 strncpy(argv0_path, progpath, MAXPATHLEN); in calculate_path()
465 strncpy(prefix, volume_name, MAXPATHLEN); in calculate_path()
473 strncpy(zip_path, prefix, MAXPATHLEN); in calculate_path()
485 strncpy(exec_prefix, volume_name, MAXPATHLEN); // "fs0:" in calculate_path()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Efi/
Dgetpath.c258 strncpy(buffer, volume_name, MAXPATHLEN); in joinpath()
276 strncpy(buffer+n, stuff, k); in joinpath()
490 strncpy(progpath, prog, MAXPATHLEN); in calculate_path()
499 strncpy(progpath, path, len); in calculate_path()
503 strncpy(progpath, path, MAXPATHLEN); in calculate_path()
520 strncpy(argv0_path, progpath, MAXPATHLEN); in calculate_path()
534 strncpy(prefix, volume_name, MAXPATHLEN); in calculate_path()
542 strncpy(zip_path, prefix, MAXPATHLEN); in calculate_path()
554 strncpy(exec_prefix, volume_name, MAXPATHLEN); in calculate_path()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SplitFile/
Dsplitfile.c110 strncpy (OutName1, argv[1], 510); in main()
111 strncpy (OutName2, argv[1], 510); in main()
/device/google/contexthub/firmware/lib/libc/
Dstrncpy.c42 strncpy(char *dst, const char *src, size_t n) in strncpy() function
DAndroid.mk27 strncpy.c \
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgethostname.c87 strncpy (name, pHost, namelen); in gethostname()
Dgetnetbydns.c172 (void)strncpy(&ans[0], bp, sizeof(ans) - 1); in getnetanswer()
210 (void)strncpy(paux1, in getnetanswer()
293 strncpy(qbuf, net, sizeof(qbuf) - 1); in _getnetbydnsname()
Dres_init.c220 (void)strncpy(_res.defdname, cp, sizeof(_res.defdname) - 1); in res_init()
273 strncpy(_res.defdname, cp, sizeof(_res.defdname) - 1); in res_init()
289 strncpy(_res.defdname, cp, sizeof(_res.defdname) - 1); in res_init()
Dres_query.c371 strncpy(nbuf, name, n); in res_querydomain()
423 strncpy(abuf, cp1, sizeof(abuf) - 1); in hostalias()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
Dcharbuf.h43 #define zzcr_attr(a,tok,t) strncpy((a)->text, t, D_TextSize-1); \
DAToken_traditional.h171 { strncpy((char *)_text, (char *)s, ANTLRCommonTokenTEXTSIZE); } in setText()
201 { strncpy((char *)_text, (char *)s, ANTLRCommonTokenTEXTSIZE); } in setText()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
Dcharbuf.h43 #define zzcr_attr(a,tok,t) strncpy((a)->text, t, D_TextSize-1); \
/device/linaro/bootloader/edk2/CryptoPkg/Include/
DOpenSslSupport.h208 char *strncpy (char *, const char *, size_t);
214 char *strncpy (char *, const char *, size_t);
275 #define strncpy(strDest,strSource,count) AsciiStrnCpyS(strDest,MAX_STRING_SIZE,strSource,(UINTN)co… macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpystrtod.c991 strncpy(p, float_strings[OFS_INF], 3); in format_float_short()
998 strncpy(p, float_strings[OFS_NAN], 3); in format_float_short()
1007 strncpy(p, "ERR", 3); in format_float_short()
1137 strncpy(p, digits, decpt-0); in format_float_short()
1140 strncpy(p, digits+decpt, digits_len-decpt); in format_float_short()
1144 strncpy(p, digits, digits_len); in format_float_short()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpystrtod.c991 strncpy(p, float_strings[OFS_INF], 3); in format_float_short()
998 strncpy(p, float_strings[OFS_NAN], 3); in format_float_short()
1007 strncpy(p, "ERR", 3); in format_float_short()
1137 strncpy(p, digits, decpt-0); in format_float_short()
1140 strncpy(p, digits+decpt, digits_len-decpt); in format_float_short()
1144 strncpy(p, digits, digits_len); in format_float_short()
Dgetcwd.c45 strncpy(buf, localbuf, size); in getcwd()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
DExceptions.c136 strncpy (ExceptionLog[ExceptionLevel].ExceptionMsg, Msg, MAX_EXCEPTION_MSG); in ThrowException()
/device/generic/goldfish/dhcp/client/
Dinterface.cpp83 strncpy(request.ifr_name, mInterfaceName.c_str(), sizeof(request.ifr_name)); in setMtu()
133 strncpy(request.ifr_name, mInterfaceName.c_str(), sizeof(request.ifr_name)); in createRequest()
/device/google/cuttlefish_common/common/libs/utils/
Dnetwork.cpp55 strncpy(ifr.ifr_name, interface_name.c_str(), IFNAMSIZ); in OpenTapInterface()
/device/linaro/bootloader/edk2/StdLib/LibC/String/
DCopying.c90 char *strncpy(char * __restrict s1, const char * __restrict s2, size_t n) in strncpy() function
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedQemuCamera.cpp78 strncpy(first_dim, frame_dims, sizeof(first_dim)); in Initialize()
/device/generic/goldfish/wifi/ipv6proxy/
Dinterface.cpp42 strncpy(request.ifr_name, mName.c_str(), sizeof(request.ifr_name)); in setAllMulti()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dparsetok.c187 strncpy(str, a, len); in parsetok()
238 strncpy(text, tok->buf, len); in parsetok()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dparsetok.c200 strncpy(str, a, len); in parsetok()
251 strncpy(text, tok->buf, len); in parsetok()

12345