HomeSort by relevance Sort by last modified time
    Searched refs:siz (Results 1 - 25 of 43) sorted by null

1 2

  /bionic/libc/string/
strdup.c 41 size_t siz; local
44 siz = strlen(str) + 1;
45 if ((copy = malloc(siz)) == NULL)
47 (void)memcpy(copy, str, siz);
strlcpy.c 23 * Copy src to string dst of size siz. At most siz-1 characters
24 * will be copied. Always NUL terminates (unless siz == 0).
25 * Returns strlen(src); if retval >= siz, truncation occurred.
28 strlcpy(char *dst, const char *src, size_t siz)
32 size_t n = siz;
44 if (siz != 0)
strlcat.c 23 * Appends src to string dst of size siz (unlike strncat, siz is the
24 * full size of dst, not space left). At most siz-1 characters
25 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
26 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
27 * If retval >= siz, truncation occurred.
30 strlcat(char *dst, const char *src, size_t siz)
34 size_t n = siz;
41 n = siz - dlen;
  /external/chromium/third_party/libevent/
strlcpy.c 44 * Copy src to string dst of size siz. At most siz-1 characters
45 * will be copied. Always NUL terminates (unless siz == 0).
46 * Returns strlen(src); if retval >= siz, truncation occurred.
49 _event_strlcpy(dst, src, siz)
52 size_t siz;
56 register size_t n = siz;
68 if (siz != 0)
strlcpy-internal.h 14 size_t _event_strlcpy(char *dst, const char *src, size_t siz);
  /external/llvm/lib/Support/
regstrlcpy.c 24 * 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)
33 size_t n = siz;
45 if (siz != 0)
regex_impl.h 102 size_t llvm_strlcpy(char *dst, const char *src, size_t siz);
  /bionic/libc/wchar/
wcslcpy.c 42 * Copy src to string dst of size siz. At most siz-1 characters
43 * will be copied. Always NUL terminates (unless siz == 0).
44 * Returns wcslen(src); if retval >= siz, truncation occurred.
47 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz)
51 size_t n = siz;
63 if (siz != 0)
wcslcat.c 42 * Appends src to string dst of size siz (unlike wcsncat, siz is the
43 * full size of dst, not space left). At most siz-1 characters
44 * will be copied. Always NUL terminates (unless siz == 0).
45 * Returns wcslen(initial dst) + wcslen(src); if retval >= siz,
49 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz)
53 size_t n = siz;
60 n = siz - dlen;
  /external/tcpdump/missing/
strlcpy.c 45 * 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)
54 register size_t n = siz;
66 if (siz != 0)
strlcat.c 45 * 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)
55 register size_t n = siz;
62 n = siz - dlen;
  /external/openssl/crypto/buffer/
buffer.h 89 char * BUF_strndup(const char *str, size_t siz);
90 void * BUF_memdup(const void *data, size_t siz);
91 void BUF_reverse(unsigned char *out, unsigned char *in, size_t siz);
94 size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
95 size_t BUF_strlcat(char *dst,const char *src,size_t siz);
buffer.c 171 char *BUF_strndup(const char *str, size_t siz)
177 ret=OPENSSL_malloc(siz+1);
183 BUF_strlcpy(ret,str,siz+1);
187 void *BUF_memdup(const void *data, size_t siz)
193 ret=OPENSSL_malloc(siz);
199 return memcpy(ret, data, siz);
  /external/openssl/include/openssl/
buffer.h 89 char * BUF_strndup(const char *str, size_t siz);
90 void * BUF_memdup(const void *data, size_t siz);
91 void BUF_reverse(unsigned char *out, unsigned char *in, size_t siz);
94 size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
95 size_t BUF_strlcat(char *dst,const char *src,size_t siz);
  /system/core/libcutils/
memory.c 62 * Copy src to string dst of size siz. At most siz-1 characters
63 * will be copied. Always NUL terminates (unless siz == 0).
64 * Returns strlen(src); if retval >= siz, truncation occurred.
67 strlcpy(char *dst, const char *src, size_t siz)
71 size_t n = siz;
83 if (siz != 0)
  /external/dropbear/
compat.h 35 size_t strlcat(char *dst, const char *src, size_t siz);
compat.c 120 * Appends src to string dst of size siz (unlike strncat, siz is the
121 * full size of dst, not space left). At most siz-1 characters
122 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
123 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
124 * If retval >= siz, truncation occurred.
127 strlcat(dst, src, siz)
130 size_t siz;
134 register size_t n = siz;
141 n = siz - dlen
    [all...]
  /external/ipsec-tools/src/racoon/
logger.h 39 int siz; member in struct:log
logger.c 64 log_open(siz, fname)
65 size_t siz;
75 p->buf = (char **)racoon_malloc(sizeof(char *) * siz);
80 memset(p->buf, 0, sizeof(char *) * siz);
82 p->tbuf = (time_t *)racoon_malloc(sizeof(time_t *) * siz);
88 memset(p->tbuf, 0, sizeof(time_t *) * siz);
90 p->siz = siz;
113 p->head %= p->siz;
194 for (i = 0; i < p->siz; i++)
    [all...]
  /external/svox/pico/lib/
picopal.c 107 picopal_int32 picopal_strncmp(const picopal_char *a, const picopal_char *b, picopal_objsize_t siz) {
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)
140 picopal_objsize_t n = siz;
153 if (siz != 0) {
176 picopal_objsize_t picopal_vslprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *fmt, va_list args)
    [all...]
picopal.h 128 picopal_int32 picopal_strncmp(const picopal_char *a, const picopal_char *b, picopal_objsize_t siz);
143 picopal_objsize_t picopal_vslprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *fmt, va_list args);
144 picopal_objsize_t picopal_slprintf(picopal_char * dst, picopal_objsize_t siz, const picopal_char *fmt, /*args*/ ...);
145 picopal_objsize_t picopal_strlcpy(picopal_char *dst, const picopal_char *src, picopal_objsize_t siz);
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
os_win32.c 200 size_t os_strlcpy(char *dest, const char *src, size_t siz)
203 size_t left = siz;
215 if (siz != 0)
  /external/wpa_supplicant_8/src/utils/
os_win32.c 200 size_t os_strlcpy(char *dest, const char *src, size_t siz)
203 size_t left = siz;
215 if (siz != 0)
  /external/wpa_supplicant_8/src/crypto/
random.c 176 size_t siz, i; local
181 siz = left > EXTRACT_LEN ? EXTRACT_LEN : left;
182 for (i = 0; i < siz; i++)
184 left -= siz;
  /external/tcpdump/
print-icmp6.c 908 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 != sizeof(*ni6)
    [all...]

Completed in 987 milliseconds

1 2