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

1 2 3 4 5 6 7 8 91011>>

  /external/libexif/libexif/olympus/
mnote-olympus-entry.c 33 #define CF(format,target,v,maxlen) \
36 snprintf (v, maxlen, \
45 #define CF2(format,target1,target2,v,maxlen) \
48 snprintf (v, maxlen, \
58 #define CC(number,target,v,maxlen) \
61 snprintf (v, maxlen, \
68 #define CC2(number,t1,t2,v,maxlen) \
71 snprintf (v, maxlen, \
273 mnote_olympus_entry_get_value (MnoteOlympusEntry *entry, char *v, unsigned int maxlen)
287 memset (v, 0, maxlen);
    [all...]
  /external/bison/lib/
strnlen1.c 1 /* Find the length of STRING + 1, but scan at most MAXLEN bytes.
24 /* Find the length of STRING + 1, but scan at most MAXLEN bytes.
25 If no '\0' terminator is found in that many characters, return MAXLEN. */
26 /* This is the same as strnlen (string, maxlen - 1) + 1. */
28 strnlen1 (const char *string, size_t maxlen)
30 const char *end = (const char *) memchr (string, '\0', maxlen);
34 return maxlen;
strnlen.c 1 /* Find the length of STRING, but scan at most MAXLEN characters.
22 /* Find the length of STRING, but scan at most MAXLEN characters.
23 If no '\0' terminator is found in that many characters, return MAXLEN. */
26 strnlen (const char *string, size_t maxlen)
28 const char *end = memchr (string, '\0', maxlen);
29 return end ? (size_t) (end - string) : maxlen;
strnlen1.h 1 /* Find the length of STRING + 1, but scan at most MAXLEN bytes.
28 /* Find the length of STRING + 1, but scan at most MAXLEN bytes.
29 If no '\0' terminator is found in that many characters, return MAXLEN. */
30 /* This is the same as strnlen (string, maxlen - 1) + 1. */
31 extern size_t strnlen1 (const char *string, size_t maxlen)
  /ndk/sources/host-tools/sed-4.2.1/lib/
strnlen.c 3 /* Find the length of STRING, but scan at most MAXLEN characters.
25 /* Find the length of STRING, but scan at most MAXLEN characters.
26 If no '\0' terminator is found in that many characters, return MAXLEN. */
29 strnlen (const char *string, size_t maxlen)
31 const char *end = memchr (string, '\0', maxlen);
32 return end ? (size_t) (end - string) : maxlen;
  /external/libexif/libexif/fuji/
mnote-fuji-entry.c 31 #define CF(format,target,v,maxlen) \
34 snprintf (v, maxlen, \
43 #define CC(number,target,v,maxlen) \
46 snprintf (v, maxlen, \
191 char *val, unsigned int maxlen)
202 memset (val, 0, maxlen);
203 maxlen--;
207 CF (entry->format, EXIF_FORMAT_UNDEFINED, val, maxlen);
208 CC (entry->components, 4, val, maxlen);
209 memcpy (val, entry->data, MIN(maxlen, entry->size))
    [all...]
  /external/iproute2/include/
libnetlink.h 47 extern int addattr(struct nlmsghdr *n, int maxlen, int type);
48 extern int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data);
49 extern int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
50 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
51 extern int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data);
52 extern int addattrstrz(struct nlmsghdr *n, int maxlen, int type, const char *data);
54 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen);
55 extern int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len);
56 extern struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type);
58 extern struct rtattr *addattr_nest_compat(struct nlmsghdr *n, int maxlen, int type, const void *data, int len)
    [all...]
  /external/libexif/libexif/
exif-entry.c 441 * \param[in] maxlen one less than the length of the buffer val
444 exif_entry_format_value(ExifEntry *e, char *val, size_t maxlen)
457 if (!e->size || !maxlen)
459 ++maxlen; /* include the terminating NUL */
462 snprintf (val, maxlen, _("%i bytes undefined data"), e->size);
467 snprintf (val, maxlen, "0x%02x", v_byte);
471 snprintf (val+len, maxlen-len, ", 0x%02x", v_byte);
473 if (len >= maxlen-1) break;
478 snprintf (val, maxlen, "%u", v_short);
483 snprintf (val+len, maxlen-len, ", %u", v_short)
    [all...]
  /external/libexif/libexif/pentax/
mnote-pentax-entry.c 35 #define CF(format,target,v,maxlen) \
38 snprintf (v, maxlen, \
47 #define CC(number,target,v,maxlen) \
50 snprintf (v, maxlen, \
57 #define CC2(number,t1,t2,v,maxlen) \
60 snprintf (v, maxlen, \
309 char *val, unsigned int maxlen)
317 memset (val, 0, maxlen);
318 maxlen--;
341 CF (entry->format, EXIF_FORMAT_SHORT, val, maxlen);
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
bc-incbin.c 52 /*@only@*/ /*@null@*/ yasm_expr *maxlen; member in struct:bytecode_incbin
83 yasm_expr_destroy(incbin->maxlen);
100 if (!incbin->maxlen)
103 yasm_expr_print(incbin->maxlen, f);
121 if (yasm_value_finalize_expr(&val, incbin->maxlen, prev_bc, 0))
127 incbin->maxlen = val.abs;
137 unsigned long start = 0, maxlen = 0xFFFFFFFFUL, flen; local
152 /* Try to convert maxlen to integer value */
153 if (incbin->maxlen) {
154 num = yasm_expr_get_intnum(&incbin->maxlen, 0)
    [all...]
  /external/dropbear/libtommath/
bn_mp_toradix_n.c 20 * Stores upto maxlen-1 chars and always a NULL byte
22 int mp_toradix_n(mp_int * a, char *str, int radix, int maxlen)
29 /* check range of the maxlen, radix */
30 if (maxlen < 2 || radix < 2 || radix > 64) {
55 --maxlen;
60 if (--maxlen < 1) {
  /external/qemu/distrib/sdl-1.2.15/src/stdlib/
SDL_string.c 329 size_t SDL_strlcpy(char *dst, const char *src, size_t maxlen)
332 if ( maxlen > 0 ) {
333 size_t len = SDL_min(srclen, maxlen-1);
342 size_t SDL_strlcat(char *dst, const char *src, size_t maxlen)
346 if ( dstlen < maxlen ) {
347 SDL_strlcpy(dst+dstlen, src, maxlen-dstlen);
680 int SDL_strncmp(const char *str1, const char *str2, size_t maxlen)
682 while ( *str1 && *str2 && maxlen ) {
687 --maxlen;
689 if ( ! maxlen ) {
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/
SDL_error.c 118 char *SDL_GetErrorMsg(char *errstr, unsigned int maxlen)
123 *errstr = '\0'; --maxlen;
135 while ( *fmt && (maxlen > 0) ) {
147 maxlen -= 1;
156 len = SDL_snprintf(msg, maxlen, tmp, error->args[argi++].value_i);
158 maxlen -= len;
161 len = SDL_snprintf(msg, maxlen, tmp, error->args[argi++].value_f);
163 maxlen -= len;
166 len = SDL_snprintf(msg, maxlen, tmp, error->args[argi++].value_ptr);
168 maxlen -= len
    [all...]
  /external/libexif/libexif/canon/
mnote-canon-entry.c 36 #define CF(format,target,v,maxlen) \
39 snprintf (v, maxlen, \
48 #define CC(number,target,v,maxlen) \
51 snprintf (v, maxlen, \
57 #define CC2(number,t1,t2,v,maxlen) \
60 snprintf (v, maxlen, \
443 unsigned int t, ExifShort vs, char *val, unsigned int maxlen)
456 strncpy (val, _(table[j].name), maxlen);
459 snprintf (val, maxlen, "0x%04x", vs);
465 unsigned int t, ExifShort vs, char *val, unsigned int maxlen)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_VideoDriverName.3 8 \fBchar *\fBSDL_VideoDriverName\fP\fR(\fBchar *namebuf, int maxlen\fR);
  /system/core/adb/
get_my_path_darwin.c 20 void get_my_path(char *s, size_t maxLen)
28 CFStringGetCString(value, s, maxLen, kCFStringEncodingUTF8);
get_my_path_linux.c 22 void get_my_path(char *exe, size_t maxLen)
26 int err = readlink(proc, exe, maxLen - 1);
get_my_path_windows.c 21 void get_my_path(char *exe, size_t maxLen)
26 if (GetModuleFileName(NULL, exe, maxLen) > 0) {
  /bionic/libc/bionic/
strnlen.c 30 size_t strnlen(const char* str, size_t maxlen)
32 char* p = memchr(str, 0, maxlen);
35 return maxlen;
  /external/linux-tools-perf/util/
quote.c 42 void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen)
51 if (maxlen && dst->len > maxlen)
  /external/iproute2/lib/
libnetlink.c 523 int addattr(struct nlmsghdr *n, int maxlen, int type)
525 return addattr_l(n, maxlen, type, NULL, 0);
528 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data)
530 return addattr_l(n, maxlen, type, &data, sizeof(__u8));
533 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data)
535 return addattr_l(n, maxlen, type, &data, sizeof(__u16));
538 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)
540 return addattr_l(n, maxlen, type, &data, sizeof(__u32));
543 int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data)
545 return addattr_l(n, maxlen, type, &data, sizeof(__u64))
    [all...]
  /external/chromium_org/third_party/lzma_sdk/
LzFind.c 324 UInt32 *distances, UInt32 maxLen)
335 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
341 if (maxLen < len)
343 *distances++ = maxLen = len;
355 UInt32 *distances, UInt32 maxLen)
378 if (maxLen < len)
380 *distances++ = maxLen = len;
477 #define GET_MATCHES_FOOTER(offset, maxLen) \
479 distances + offset, maxLen) - distances); MOVE_POS_RET
    [all...]
  /external/chromium_org/third_party/ots/third_party/lzma_sdk/
LzFind.c 325 UInt32 *distances, UInt32 maxLen)
336 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
342 if (maxLen < len)
344 *distances++ = maxLen = len;
356 UInt32 *distances, UInt32 maxLen)
379 if (maxLen < len)
381 *distances++ = maxLen = len;
478 #define GET_MATCHES_FOOTER(offset, maxLen) \
480 distances + offset, maxLen) - distances); MOVE_POS_RET
    [all...]
  /external/lzma/C/
LzFind.c 324 UInt32 *distances, UInt32 maxLen)
335 if (pb[maxLen] == cur[maxLen] && *pb == *cur)
341 if (maxLen < len)
343 *distances++ = maxLen = len;
355 UInt32 *distances, UInt32 maxLen)
378 if (maxLen < len)
380 *distances++ = maxLen = len;
477 #define GET_MATCHES_FOOTER(offset, maxLen) \
479 distances + offset, maxLen) - distances); MOVE_POS_RET;
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/bio/
b_print.c 136 size_t *maxlen, size_t *retlen, int *truncated,
172 size_t *maxlen,
195 if (ch == '\0' || (buffer == NULL && currlen >= *maxlen))
203 doapr_outch(sbuffer,buffer, &currlen, maxlen, ch);
309 fmtint(sbuffer, buffer, &currlen, maxlen,
335 fmtint(sbuffer, buffer, &currlen, maxlen, value,
344 fmtfp(sbuffer, buffer, &currlen, maxlen,
364 doapr_outch(sbuffer, buffer, &currlen, maxlen,
373 max = *maxlen;
375 fmtstr(sbuffer, buffer, &currlen, maxlen, strvalue
    [all...]

Completed in 1485 milliseconds

1 2 3 4 5 6 7 8 91011>>