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

1 2

  /bionic/libc/string/
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;
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)
strdup.c 41 size_t siz; local
44 siz = strlen(str) + 1;
45 if ((copy = malloc(siz)) == NULL)
47 (void)memcpy(copy, str, siz);
  /frameworks/base/libs/ui/
EventRecurrence.cpp 99 #define SIZ(x) (sizeof(x)/sizeof(x[0]))
102 { FREQ_text, SIZ(FREQ_text), FREQ },
103 { UNTIL_text, SIZ(UNTIL_text), UNTIL },
104 { COUNT_text, SIZ(COUNT_text), COUNT },
105 { INTERVAL_text, SIZ(INTERVAL_text), INTERVAL },
106 { BYSECOND_text, SIZ(BYSECOND_text), BYSECOND },
107 { BYMINUTE_text, SIZ(BYMINUTE_text), BYMINUTE },
108 { BYHOUR_text, SIZ(BYHOUR_text), BYHOUR },
109 { BYDAY_text, SIZ(BYDAY_text), BYDAY },
110 { BYMONTHDAY_text, SIZ(BYMONTHDAY_text), BYMONTHDAY }
    [all...]
  /system/core/libcutils/
memory.c 58 * Copy src to string dst of size siz. At most siz-1 characters
59 * will be copied. Always NUL terminates (unless siz == 0).
60 * Returns strlen(src); if retval >= siz, truncation occurred.
63 strlcpy(char *dst, const char *src, size_t siz)
67 size_t n = siz;
79 if (siz != 0)
  /external/tcpdump/missing/
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;
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)
  /external/ipsec-tools/src/racoon/
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...]
logger.h 39 int siz; member in struct:log
  /external/openssl/crypto/buffer/
buf_str.c 66 char *BUF_strndup(const char *str, size_t siz)
72 ret=OPENSSL_malloc(siz+1);
78 BUF_strlcpy(ret,str,siz+1);
82 void *BUF_memdup(const void *data, size_t siz)
88 ret=OPENSSL_malloc(siz);
94 return memcpy(ret, data, siz);
buffer.h 89 char * BUF_strndup(const char *str, size_t siz);
90 void * BUF_memdup(const void *data, size_t siz);
93 size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
94 size_t BUF_strlcat(char *dst,const char *src,size_t siz);
  /external/dropbear/
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...]
compat.h 35 size_t strlcat(char *dst, const char *src, size_t siz);
  /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);
picoos.c 124 picoos_int8 picoos_strncmp(const picoos_char *a, const picoos_char *b, picoos_objsize_t siz)
127 (const picopal_char *)b, siz);
171 picoos_objsize_t picoos_strlcpy(picoos_char *dst, const picoos_char *src, picoos_objsize_t siz)
173 return (picoos_objsize_t) picopal_strlcpy((picopal_char *) dst, (const picopal_char *) src, (picopal_objsize_t) siz);
658 static void picoos_vSetErrorMsg(picoos_char * dst, picoos_objsize_t siz,
795 bsize = picoos_strlcpy(dst,base,siz);
796 if ((NULL != fmt) && (bsize < siz)) { /* there is something to add and more space to add it */
799 siz -= bsize;
800 bsize = picoos_strlcpy(dst,(picoos_char *)": ",siz);
802 if (bsize < siz) {
    [all...]
picoos.h 80 picoos_int8 picoos_strncmp(const picoos_char *a, const picoos_char *b, picoos_objsize_t siz);
92 picoos_objsize_t picoos_strlcpy(picoos_char *dst, const picoos_char *src, picoos_objsize_t siz);
217 void picoos_setErrorMsg(picoos_char * dst, picoos_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)
os_unix.c 305 size_t os_strlcpy(char *dest, const char *src, size_t siz)
308 size_t left = siz;
320 if (siz != 0)
os_internal.c 413 size_t os_strlcpy(char *dest, const char *src, size_t siz)
416 size_t left = siz;
428 if (siz != 0)
os.h 463 * @siz: Size of the target buffer
469 size_t os_strlcpy(char *dest, const char *src, size_t 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);
93 size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
94 size_t BUF_strlcat(char *dst,const char *src,size_t siz);
  /external/webkit/WebCore/manual-tests/
keep_spelling_markers.html 20 One twwo three foor five siz seven
  /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...]
  /bionic/libc/netbsd/nameser/
ns_print.c 587 unsigned int siz; local
597 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */
598 if (siz > sizeof(base64_cert) * 3/4) {
604 base64_cert, siz);

Completed in 280 milliseconds

1 2