Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 18 of 18) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/main/win32/
DSDL_win32_main.c59 char *bufp; in ParseCommandLine() local
63 for ( bufp = cmdline; *bufp; ) { in ParseCommandLine()
65 while ( isspace(*bufp) ) { in ParseCommandLine()
66 ++bufp; in ParseCommandLine()
69 if ( *bufp == '"' ) { in ParseCommandLine()
70 ++bufp; in ParseCommandLine()
71 if ( *bufp ) { in ParseCommandLine()
73 argv[argc] = bufp; in ParseCommandLine()
78 while ( *bufp && (*bufp != '"') ) { in ParseCommandLine()
79 ++bufp; in ParseCommandLine()
[all …]
/external/clearsilver/util/regex/
Dregex.c839 print_compiled_pattern (bufp) in print_compiled_pattern() argument
840 struct re_pattern_buffer *bufp; in print_compiled_pattern()
842 unsigned char *buffer = bufp->buffer;
844 print_partial_compiled_pattern (buffer, buffer + bufp->used);
845 printf ("%d bytes used/%d bytes allocated.\n", bufp->used, bufp->allocated);
847 if (bufp->fastmap_accurate && bufp->fastmap)
850 print_fastmap (bufp->fastmap);
853 printf ("re_nsub: %d\t", bufp->re_nsub);
854 printf ("regs_alloc: %d\t", bufp->regs_allocated);
855 printf ("can_be_null: %d\t", bufp->can_be_null);
[all …]
/external/qemu/distrib/sdl-1.2.12/src/main/macos/
DSDL_main.c82 char *bufp; in ParseCommandLine() local
86 for ( bufp = cmdline; *bufp; ) { in ParseCommandLine()
88 while ( SDL_isspace(*bufp) ) { in ParseCommandLine()
89 ++bufp; in ParseCommandLine()
92 if ( *bufp == '"' ) { in ParseCommandLine()
93 ++bufp; in ParseCommandLine()
94 if ( *bufp ) { in ParseCommandLine()
96 argv[argc] = bufp; in ParseCommandLine()
101 while ( *bufp && (*bufp != '"') ) { in ParseCommandLine()
102 ++bufp; in ParseCommandLine()
[all …]
/external/icu4c/test/letest/
Dgendata.cpp68 le_int32 bufp = 0; in dumpLongs() local
73 if (i % 8 == 0 && bufp != 0) { in dumpLongs()
75 bufp = 0; in dumpLongs()
78 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); in dumpLongs()
81 if (bufp != 0) { in dumpLongs()
82 lineBuffer[bufp - 2] = '\0'; in dumpLongs()
91 le_int32 bufp = 0; in dumpFloats() local
96 if (i % 8 == 0 && bufp != 0) { in dumpFloats()
98 bufp = 0; in dumpFloats()
101 bufp += sprintf(&lineBuffer[bufp], "%f, ", floats[i]); in dumpFloats()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/stdlib/
DSDL_string.c384 char *bufp = string; in SDL_strupr() local
385 while ( *bufp ) { in SDL_strupr()
386 *bufp = SDL_toupper((unsigned char) *bufp); in SDL_strupr()
387 ++bufp; in SDL_strupr()
396 char *bufp = string; in SDL_strlwr() local
397 while ( *bufp ) { in SDL_strlwr()
398 *bufp = SDL_tolower((unsigned char) *bufp); in SDL_strlwr()
399 ++bufp; in SDL_strlwr()
421 const char *bufp = string + SDL_strlen(string) - 1; in SDL_strrchr() local
422 while ( bufp >= string ) { in SDL_strrchr()
[all …]
/external/ppp/pppd/
Dcbcp.c369 u_char *bufp = buf; local
388 PUTCHAR(CB_CONF_USER, bufp);
390 PUTCHAR(len , bufp);
391 PUTCHAR(5, bufp); /* delay */
392 PUTCHAR(1, bufp);
393 BCOPY(us->us_number, bufp, slen + 1);
400 PUTCHAR(CB_CONF_ADMIN, bufp);
402 PUTCHAR(len, bufp);
403 PUTCHAR(5, bufp); /* delay */
410 PUTCHAR(CB_CONF_NO, bufp);
[all …]
/external/openssl/crypto/
Dmem_dbg.c602 char *bufp = buf; in print_leak() local
608 #define BUF_REMAIN (sizeof buf - (size_t)(bufp - buf)) in print_leak()
617 BIO_snprintf(bufp, BUF_REMAIN, "[%02d:%02d:%02d] ", in print_leak()
619 bufp += strlen(bufp); in print_leak()
622 BIO_snprintf(bufp, BUF_REMAIN, "%5lu file=%s, line=%d, ", in print_leak()
624 bufp += strlen(bufp); in print_leak()
628 BIO_snprintf(bufp, BUF_REMAIN, "thread=%lu, ", m->thread); in print_leak()
629 bufp += strlen(bufp); in print_leak()
632 BIO_snprintf(bufp, BUF_REMAIN, "number=%d, address=%08lX\n", in print_leak()
634 bufp += strlen(bufp); in print_leak()
/external/openssl/crypto/asn1/
Df_enum.c104 unsigned char *bufp; in a2i_ASN1_ENUMERATED() local
135 bufp=(unsigned char *)buf; in a2i_ASN1_ENUMERATED()
139 if ((bufp[0] == '0') && (buf[1] == '0')) in a2i_ASN1_ENUMERATED()
141 bufp+=2; in a2i_ASN1_ENUMERATED()
174 m=bufp[k+n]; in a2i_ASN1_ENUMERATED()
Df_int.c108 unsigned char *bufp; in a2i_ASN1_INTEGER() local
148 bufp=(unsigned char *)buf; in a2i_ASN1_INTEGER()
152 if ((bufp[0] == '0') && (buf[1] == '0')) in a2i_ASN1_INTEGER()
154 bufp+=2; in a2i_ASN1_INTEGER()
186 m=bufp[k+n]; in a2i_ASN1_INTEGER()
Df_string.c102 unsigned char *bufp; in a2i_ASN1_STRING() local
148 bufp=(unsigned char *)buf; in a2i_ASN1_STRING()
179 m=bufp[k+n]; in a2i_ASN1_STRING()
/external/srec/srec/crec/
Dsrec_debug.c28 char *bufp = &buf[0]; in sprint_altwords() local
35 bufp += sprintf(bufp, "%d,", awtoken->word); in sprint_altwords()
38 if (bufp > &buf[0]) *(bufp - 1) = 0; in sprint_altwords()
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_blit.h233 Uint16 *bufp; \
236 bufp = (Uint16 *)buf; \
238 *bufp = Pixel | (*bufp & Amask); \
256 Uint32 *bufp; \
259 bufp = (Uint32 *)buf; \
261 *bufp = Pixel | (*bufp & Amask); \
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c75 void dlinfoack(int fd, char *bufp);
78 void dlokack(int fd, char *bufp);
79 void dlbindack(int fd, char *bufp);
833 void dlinfoack(int fd, char *bufp) in dlinfoack() argument
841 ctl.buf = bufp; in dlinfoack()
907 void dlokack(int fd, char *bufp) in dlokack() argument
915 ctl.buf = bufp; in dlokack()
939 void dlbindack(int fd, char *bufp) in dlbindack() argument
947 ctl.buf = bufp; in dlbindack()
/external/icu4c/tools/genrb/
Dderb.c421 char *bufp = buf, *bufend = buf + sizeof(buf) - 1 ; in printString() local
423 ucnv_fromUnicode(converter, &bufp, bufend, &str, strEnd, 0, 0, &err); in printString()
424 *bufp = 0; in printString()
441 UChar *bufp = buf, *bufend = buf + (sizeof(buf)/sizeof(buf[0])) - 1 ; in printCString() local
443 ucnv_toUnicode(defaultConverter, &bufp, bufend, &str, strEnd, 0, 0, &err); in printCString()
444 *bufp = 0; in printCString()
446 printString(out, converter, buf, (int32_t)(bufp - buf)); in printCString()
/external/libpcap/
Dpcap-dlpi.c1141 recv_ack(int fd, int size, const char *what, char *bufp, char *ebuf, int *uerror) in recv_ack() argument
1156 ctl.buf = bufp; in recv_ack()
1447 dlbindack(int fd, char *bufp, char *ebuf, int *uerror) in dlbindack() argument
1450 return (recv_ack(fd, DL_BIND_ACK_SIZE, "bind", bufp, ebuf, uerror)); in dlbindack()
1465 dlokack(int fd, const char *what, char *bufp, char *ebuf) in dlokack() argument
1468 return (recv_ack(fd, DL_OK_ACK_SIZE, what, bufp, ebuf, NULL)); in dlokack()
1483 dlinfoack(int fd, char *bufp, char *ebuf) in dlinfoack() argument
1486 return (recv_ack(fd, DL_INFO_ACK_SIZE, "info", bufp, ebuf, NULL)); in dlinfoack()
/external/bluetooth/glib/tests/
Dgio-test.c73 char *bufp = buffer; in read_all() local
81 error = g_io_channel_read (channel, bufp, left, &nb); in read_all()
96 bufp += nb; in read_all()
/external/icu4c/extra/uconv/
Duconv.cpp620 char *bufp; in convertFile() local
944 bufp = outbuf; in convertFile()
949 ucnv_fromUnicode(convto, &bufp, outbuf + bufsz, in convertFile()
1004 ferroffset = (int32_t)(outfoffset + (bufp - outbuf)); in convertFile()
1044 size_t outlen = (size_t) (bufp - outbuf); in convertFile()
/external/ipsec-tools/src/racoon/
Dprivsep.c102 privsep_recv(sock, bufp, lenp) in privsep_recv() argument
104 struct privsep_com_msg **bufp;
111 *bufp = NULL;
158 *bufp = (struct privsep_com_msg *)combuf;