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

1 2 3 4 5

  /external/qemu/distrib/sdl-1.2.12/src/audio/
SDL_audiodev_c.h 25 extern int SDL_OpenAudioPath(char *path, int maxlen, int flags, int classic);
SDL_audiodev.c 50 int SDL_OpenAudioPath(char *path, int maxlen, int flags, int classic)
93 SDL_strlcpy(path, audiodev, maxlen);
94 path[maxlen-1] = '\0';
126 static int OpenUserDefinedDevice(char *path, int maxlen, int flags)
140 SDL_strlcpy(path, audiodev, maxlen);
141 path[maxlen-1] = '\0';
146 int SDL_OpenAudioPath(char *path, int maxlen, int flags, int classic)
153 audio_fd = OpenUserDefinedDevice(path,maxlen,flags);
170 SDL_strlcpy( path, audiopath, maxlen );
  /bionic/libc/string/
strnlen.c 30 size_t strnlen(const char* str, size_t maxlen)
32 char* p = memchr(str, 0, maxlen);
35 return maxlen;
  /external/bison/lib/
strnlen.c 1 /* 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;
strnlen.h 1 /* Find the length of STRING, but scan at most MAXLEN characters.
27 MAXLEN bytes. If no '\0' terminator is found in that many bytes,
28 return MAXLEN. */
29 extern size_t strnlen(const char *string, size_t maxlen);
  /bionic/libc/wchar/
wcsnlen.c 33 wcsnlen(const wchar_t *s, size_t maxlen)
37 for (len = 0; len < maxlen; len++, s++) {
  /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/dropbear/
cli-authpasswd.c 49 int p[2], maxlen, len, status; local
88 maxlen = sizeof(buf);
89 while (maxlen > 0) {
90 len = read(p[0], buf + sizeof(buf) - maxlen, maxlen);
92 maxlen -= len;
106 len = sizeof(buf) - maxlen;
  /external/qemu/distrib/sdl-1.2.12/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/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...]
  /external/clearsilver/util/
snprintf.c 102 static int dopr (char *buffer, size_t maxlen, const char *format,
104 static int fmtstr (char *buffer, size_t *currlen, size_t maxlen,
106 static int fmtint (char *buffer, size_t *currlen, size_t maxlen,
108 static int fmtfp (char *buffer, size_t *currlen, size_t maxlen,
110 static int dopr_outch (char *buffer, size_t *currlen, size_t maxlen, char c );
144 static int dopr (char *buffer, size_t maxlen, const char *format, va_list args)
175 total += dopr_outch (buffer, &currlen, maxlen, ch);
279 total += fmtint (buffer, &currlen, maxlen, value, 10, min, max, flags);
289 total += fmtint (buffer, &currlen, maxlen, value, 8, min, max, flags);
299 total += fmtint (buffer, &currlen, maxlen, value, 10, min, max, flags)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/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...]
  /frameworks/base/cmds/svc/src/com/android/commands/svc/
Svc.java 77 int maxlen = 0;
81 if (maxlen < len) {
82 maxlen = len;
85 String format = " %-" + maxlen + "s %s";
  /external/iproute2/include/
libnetlink.h 53 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 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);
60 extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data);
61 extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, const void *data, int alen);
  /external/icu4c/samples/legacy/
newcol.cpp 68 extern "C" void test_current(UChar data[][5], uint32_t size, uint32_t maxlen, uint8_t keys[][32]) {
84 qsort(data, size, maxlen*sizeof(UChar), compare_current);
oldcol.cpp 84 extern "C" void test_legacy(UChar data[][5], uint32_t size, uint32_t maxlen, uint8_t keys[4][32]) {
101 qsort(data, size, maxlen*sizeof(UChar), compare_legacy);
  /external/iproute2/lib/
libnetlink.c 528 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)
532 if (NLMSG_ALIGN(n->nlmsg_len) + len > maxlen) {
533 fprintf(stderr,"addattr32: Error! max allowed bound %d exceeded\n",maxlen);
544 int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data,
550 if (NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) {
551 fprintf(stderr, "addattr_l ERROR: message exceeded bound of %d\n",maxlen);
562 int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len)
564 if (NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len) > maxlen) {
565 fprintf(stderr, "addraw_l ERROR: message exceeded bound of %d\n",maxlen);
575 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscostask.c 61 static int RISCOS_GetTaskName(char *task_name, size_t maxlen);
181 int RISCOS_GetTaskName(char *task_name, size_t maxlen)
235 if (env_val) SDL_strlcpy(task_name, env_val, maxlen);
254 if (!*task_name) SDL_strlcpy(task_name, p, maxlen);
260 if (task_name[0] == 0) SDL_strlcpy(task_name, "SDL Task", maxlen);
  /external/openssl/ssl/
t1_reneg.c 117 int maxlen)
121 if((s->s3->previous_client_finished_len+1) > maxlen)
197 int maxlen)
202 s->s3->previous_server_finished_len + 1) > maxlen)
  /bionic/libc/netbsd/inet/
nsap_addr.c 51 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) {
62 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) {
  /external/elfutils/libasm/
asm_align.c 129 if (asmscn->content->maxlen - asmscn->content->len >= len)
144 asmscn->content->maxlen = size;
  /system/vold/
VolumeManager.h 100 int getAsecMountPath(const char *id, char *buffer, int maxlen);
106 int getObbMountPath(const char *id, char *buffer, int maxlen);
  /external/dnsmasq/contrib/wrt/
dhcp_release.c 142 static int parse_hex(char *in, unsigned char *out, int maxlen, int *mac_type)
150 while (maxlen == -1 || i < maxlen)
154 maxlen = i;
  /external/svox/pico/lib/
picobase.h 55 * the UTF8 string 'utf8str' of maximum length maxlen (in bytes)
57 * @param maxlen : max length (in bytes) accessible in utf8str
59 * up to the first '\0' or maxlen
64 const picoos_uint16 maxlen);
picorsrc.h 128 picoos_char * name, picoos_uint32 maxlen);

Completed in 403 milliseconds

1 2 3 4 5