/libcore/ojluni/src/main/native/ |
SocketInputStream.c | 59 char *bufP; 86 bufP = (char *)malloc((size_t)len); 87 if (bufP == NULL) { 88 bufP = BUF; 92 bufP = BUF; 112 if (bufP != BUF) { 113 free(bufP); 119 nread = NET_Read(fd, bufP, len); 147 (*env)->SetByteArrayRegion(env, data, off, nread, (jbyte *)bufP); 150 if (bufP != BUF) [all...] |
SocketOutputStream.c | 59 char *bufP; 80 bufP = BUF; 84 bufP = (char *)malloc((size_t)buflen); 87 if (bufP == NULL) { 88 bufP = BUF; 97 (*env)->GetByteArrayRegion(env, data, off, chunkLen, (jbyte *)bufP); 100 int n = NET_Send(fd, bufP + loff, llen, 0); 117 if (bufP != BUF) { 118 free(bufP); 126 if (bufP != BUF) [all...] |
/prebuilts/go/darwin-x86/src/os/ |
dir_unix.go | 36 if d.bufp >= d.nbuf { 37 d.bufp = 0 50 nb, nc, names = syscall.ParseDirent(d.buf[d.bufp:d.nbuf], n, names) 51 d.bufp += nb
|
dir_plan9.go | 26 if d.bufp >= d.nbuf { 30 d.bufp, d.nbuf = 0, nb 44 b := d.buf[d.bufp:] 56 d.bufp += m
|
/prebuilts/go/linux-x86/src/os/ |
dir_unix.go | 36 if d.bufp >= d.nbuf { 37 d.bufp = 0 50 nb, nc, names = syscall.ParseDirent(d.buf[d.bufp:d.nbuf], n, names) 51 d.bufp += nb
|
dir_plan9.go | 26 if d.bufp >= d.nbuf { 30 d.bufp, d.nbuf = 0, nb 44 b := d.buf[d.bufp:] 56 d.bufp += m
|
/external/elfutils/libcpu/ |
i386_data.h | 127 d->bufp[(*d->bufcntp)++] = '%'; 128 d->bufp[(*d->bufcntp)++] = ch; 129 d->bufp[(*d->bufcntp)++] = 's'; 130 d->bufp[(*d->bufcntp)++] = ':'; 165 char *bufp = d->bufp; local 207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); 281 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); 379 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf); 400 char *buf = d->bufp + *bufcntp 508 char *bufp = d->bufp; local 535 char *bufp = d->bufp; local 946 char *bufp = d->bufp; local 1025 char *bufp = d->bufp; local 1093 char *bufp = d->bufp; local 1362 char *bufp = d->bufp; local 1385 char *bufp = d->bufp; local [all...] |
/system/core/libcutils/ |
open_memstream.c | 28 * - The values at "*bufp" and "*sizep" should be considered read-only, 38 * - After fclose(), the caller must eventually free(*bufp). 66 char** bufp; /* pointer to buffer pointer */ member in struct:__anon74731 104 stream->bufp, *stream->bufp, newSize)); 105 char* newBuf = (char*) realloc(*stream->bufp, newSize); 109 *stream->bufp = newBuf; 132 memset(*stream->bufp + stream->eof, '\0', 137 memcpy(*stream->bufp + stream->offset, buf, size); 148 *(*stream->bufp + stream->offset), stream->offset)) [all...] |
/external/autotest/client/tests/monotonic_time/src/ |
cpuset.c | 112 char *bufp = buf; local 125 if ((n = show_range(bufp, len, sep, start, end)) < 0) 128 bufp += n; 136 if ((n = show_range(bufp, len, sep, start, end)) < 0) 138 bufp += n; 141 return bufp - buf;
|
/external/elfutils/libasm/ |
disasm_str.c | 63 GElf_Addr addr, const char *fmt, char **bufp, size_t len, 66 struct buffer buffer = { .buf = *bufp, .len = len }; 70 *bufp = buffer.buf;
|
/external/libselinux/src/ |
init.c | 33 char *bufp; local 56 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 74 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) { 90 if (bufp)
|
/external/curl/src/ |
tool_paramhlp.h | 28 ParameterError file2string(char **bufp, FILE *file); 30 ParameterError file2memory(char **bufp, size_t *size, FILE *file);
|
tool_easysrc.c | 110 char *bufp; local 113 bufp = curlx_mvaprintf(fmt, ap); 115 if(! bufp) { 119 ret = easysrc_add(plist, bufp); 120 curl_free(bufp);
|
/external/icu/icu4c/source/test/letest/ |
gendata.cpp | 100 le_int32 bufp = 0; local 105 if (i % 8 == 0 && bufp != 0) { 107 bufp = 0; 110 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); 113 if (bufp != 0) { 114 lineBuffer[bufp - 2] = '\0'; 123 le_int32 bufp = 0; local 128 if (i % 8 == 0 && bufp != 0) { 130 bufp = 0 [all...] |
/external/libpcap/ |
dlpisubs.c | 122 int count, u_char *bufp, int len) 136 ep = bufp + len; 140 while (bufp < ep) { 155 p->bp = bufp; 156 p->cc = ep - bufp; 161 if ((long)bufp & 3) { 163 memcpy(sbp, bufp, sizeof(*sbp)); 166 sbp = (struct sb_hdr *)bufp; 168 pk = bufp + sizeof(*sbp); 169 bufp += sbp->sbh_totlen [all...] |
/external/selinux/policycoreutils/sestatus/ |
sestatus.c | 92 char buf[255], *bufp; local 110 bufp = buf; 111 while (*bufp && isspace(*bufp)) { 112 bufp++; 116 if (*bufp == '#') 120 if (*bufp) { 121 if (!(*bufp)) 124 if (strncmp(bufp, PROCS, proclen) == 0) 126 else if (strncmp(bufp, FILES, filelen) == 0 [all...] |
/system/core/include/cutils/ |
open_memstream.h | 28 FILE* open_memstream(char** bufp, size_t* sizep);
|
/toolchain/binutils/binutils-2.25/gas/ |
ecoff.h | 53 filled in relative to the start of the *BUFP. It sets *BUFP to a 55 length of *BUFP. */ 57 (HDRR *hdr, char **bufp, const struct ecoff_debug_swap *);
|
/external/ppp/pppd/ |
cbcp.c | 369 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/libunwind/doc/ |
unw_get_proc_name.man | 26 char *bufp, 39 The bufp
|
/toolchain/binutils/binutils-2.25/libiberty/ |
regex.c | 75 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 76 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 77 # define re_match(bufp, string, size, pos, regs) \ 78 __re_match (bufp, string, size, pos, regs) 79 # define re_search(bufp, string, size, startpos, range, regs) \ 80 __re_search (bufp, string, size, startpos, range, regs) 81 # define re_compile_pattern(pattern, length, bufp) \ 82 __re_compile_pattern (pattern, length, bufp) 84 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ 85 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop [all...] |
/external/llvm/test/CodeGen/PowerPC/ |
mask64.ll | 7 define i32 @xre_search_2(%struct.re_pattern_buffer* %bufp, i32 %range) nounwind {
|
/external/selinux/policycoreutils/run_init/ |
run_init.c | 302 char buf[255], *bufp; local 322 bufp = buf; 323 while (*bufp && isspace(*bufp)) 324 bufp++; 326 if (*bufp) { 327 *context = strdup(bufp);
|
/external/boringssl/src/crypto/asn1/ |
f_enum.c | 102 unsigned char *bufp; local 133 bufp=(unsigned char *)buf; 137 if ((bufp[0] == '0') && (buf[1] == '0')) 139 bufp+=2; 171 m=bufp[k+n];
|
f_int.c | 107 unsigned char *bufp; local 138 bufp=(unsigned char *)buf; 142 if ((bufp[0] == '0') && (buf[1] == '0')) 144 bufp+=2; 175 m=bufp[k+n];
|