Searched defs:siz (Results 1 - 25 of 27) sorted by relevance

12

/external/ipsec-tools/src/racoon/
H A Dlogger.h39 int siz; member in struct:log
/external/llvm/lib/Support/
H A Dregstrlcpy.c24 * Copy src to string dst of size siz. At most siz-1 characters
25 * will be copied. Always NUL terminates (unless siz == 0).
26 * Returns strlen(src); if retval >= siz, truncation occurred.
29 llvm_strlcpy(char *dst, const char *src, size_t siz) argument
33 size_t n = siz;
45 if (siz != 0)
/external/tcpdump/missing/
H A Dstrlcat.c45 * Appends src to string dst of size siz (unlike strncat, siz is the
46 * full size of dst, not space left). At most siz-1 characters
47 * will be copied. Always NUL terminates (unless siz == 0).
48 * Returns strlen(src); if retval >= siz, truncation occurred.
51 strlcat(char *dst, const char *src, size_t siz) argument
55 register size_t n = siz;
62 n = siz - dlen;
H A Dstrlcpy.c45 * Copy src to string dst of size siz. At most siz-1 characters
46 * will be copied. Always NUL terminates (unless siz == 0).
47 * Returns strlen(src); if retval >= siz, truncation occurred.
50 strlcpy(char *dst, const char *src, size_t siz) argument
54 register size_t n = siz;
66 if (siz != 0)
/external/openssl/crypto/buffer/
H A Dbuffer.c171 char *BUF_strndup(const char *str, size_t siz) argument
177 ret=OPENSSL_malloc(siz+1);
183 BUF_strlcpy(ret,str,siz+1);
187 void *BUF_memdup(const void *data, size_t siz) argument
193 ret=OPENSSL_malloc(siz);
199 return memcpy(ret, data, siz);
/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Dos_unix.c305 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
308 size_t left = siz;
320 if (siz != 0)
H A Dos_win32.c200 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
203 size_t left = siz;
215 if (siz != 0)
H A Dos_internal.c413 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
416 size_t left = siz;
428 if (siz != 0)
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Drandom.c176 size_t siz, i; local
181 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left;
182 for (i = 0; i < siz; i++)
184 left -= siz;
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dos_win32.c200 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
203 size_t left = siz;
215 if (siz != 0)
H A Dos_internal.c418 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
421 size_t left = siz;
433 if (siz != 0)
H A Dos_unix.c360 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
363 size_t left = siz;
375 if (siz != 0)
/external/wpa_supplicant_8/src/crypto/
H A Drandom.c176 size_t siz, i; local
181 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left;
182 for (i = 0; i < siz; i++)
184 left -= siz;
/external/wpa_supplicant_8/src/utils/
H A Dos_win32.c200 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
203 size_t left = siz;
215 if (siz != 0)
H A Dos_internal.c418 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
421 size_t left = siz;
433 if (siz != 0)
H A Dos_unix.c360 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
363 size_t left = siz;
375 if (siz != 0)
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Drandom.c176 size_t siz, i; local
181 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left;
182 for (i = 0; i < siz; i++)
184 left -= siz;
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dos_win32.c200 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
203 size_t left = siz;
215 if (siz != 0)
H A Dos_internal.c418 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
421 size_t left = siz;
433 if (siz != 0)
H A Dos_unix.c360 size_t os_strlcpy(char *dest, const char *src, size_t siz) argument
363 size_t left = siz;
375 if (siz != 0)
/external/tcpdump/
H A Dprint-decnet.c858 size_t siz; local
862 str = (char *)malloc(siz = sizeof("00.0000"));
865 snprintf(str, siz, "%d.%d", area, node);
H A Dprint-icmp6.c908 size_t siz, i; local
915 siz = ep - bp;
919 if (siz == sizeof(*dp) + 4) {
964 if (siz != sizeof(*ni6))
974 if (siz == sizeof(*ni6)) {
986 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) {
1014 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) {
1032 if (icmp6len > siz) {
1052 if (siz != sizeof(*ni6))
1059 if (siz !
[all...]
/external/svox/pico/lib/
H A Dpicopal.c107 picopal_int32 picopal_strncmp(const picopal_char *a, const picopal_char *b, picopal_objsize_t siz) { argument
108 return (picopal_int32)strncmp((const char *)a, (const char *)b, (size_t) siz);
132 /* copy src into dst, but make sure that dst is not accessed beyond its size 'siz' and is allways NULLC-terminated.
133 * 'siz' is the number of bytes of the destination, including one byte for NULLC!
135 * the copy is successfull without truncation if picopal_strlcpy(dst,src,siz) < siz */
136 picopal_objsize_t picopal_strlcpy(picopal_char *dst, const picopal_char *src, picopal_objsize_t siz) argument
140 picopal_objsize_t n = siz;
153 if (siz != 0) {
176 picopal_objsize_t picopal_vslprintf(picopal_char * dst, picopal_objsize_t siz, cons argument
237 picopal_slprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *fmt, ...) argument
[all...]
/external/yaffs2/yaffs2/direct/
H A Ddtest.c412 void fill_files(char *path,int flags, int maxIterations,int siz) argument
428 for(j = 0; j < siz; j++)
452 void leave_unlinked_file(char *path,int maxIterations,int siz) argument
473 for(i = 0; i < siz; i++)
/external/genext2fs/
H A Dgenext2fs.c805 /* Rounds qty upto a multiple of siz. siz should be a power of 2 */
807 rndup(uint32 qty, uint32 siz) argument
809 return (qty + (siz - 1)) & ~(siz - 1);

Completed in 414 milliseconds

12