/external/toybox/toys/pending/ |
getty.c | 43 char buff[128]; 188 size = readall(STDIN_FILENO, TT.buff, sizeof(TT.buff)-1); 190 for (ptr = TT.buff; ptr < TT.buff+size; ptr++) { 221 char buff[20] = {0,}; local 227 while ((size = readall(fd, buff, 1)) > 0) { 228 char *ch = buff; 231 if (readall(fd, buff, 1) <= 0) perror_exit("readall"); 250 TT.buff[0] = getchar() [all...] |
telnet.c | 29 char buff[128]; 70 // flushes all data in IAC buff to server. 79 // puts DATA in iac buff of length LEN and updates iac buff pointer. 90 // puts string STR in iac buff and updates iac buff pointer. 161 char opt = TT.buff[TT.pbuff++]; 165 opt = TT.buff[TT.pbuff++]; 182 char opt = TT.buff[TT.pbuff++]; 237 curr = TT.buff[TT.pbuff++] [all...] |
/device/generic/goldfish/camera/ |
JpegCompressor.cpp | 44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff); 87 void NV21JpegCompressor::getCompressedImage(void* buff) 91 (*f)(&mStub, buff);
|
/external/ltp/testcases/kernel/syscalls/adjtimex/ |
adjtimex02.c | 113 static struct timex buff; variable in typeref:struct:timex 130 &buff, setup2, NULL, EINVAL}, { 131 &buff, setup3, NULL, EINVAL}, { 132 &buff, setup4, NULL, EINVAL}, { 133 &buff, setup5, NULL, EINVAL}, { 134 &buff, setup6, cleanup6, EPERM} 166 buff = tim_save; 167 buff.modes = SET_MODE; 235 buff.tick = 900000 / hz - 1; 241 buff.tick = 1100000 / hz + 1 [all...] |
/external/adhd/cras/src/server/ |
cras_mix.h | 22 * buff - Buffer of samples to scale. 29 void cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff, 36 * buff - Buffer of samples to scale. 41 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, unsigned int count,
|
cras_mix_ops.h | 33 void (*scale_buffer_increment)(snd_pcm_format_t fmt, uint8_t *buff, 36 void (*scale_buffer)(snd_pcm_format_t fmt, uint8_t *buff,
|
/external/ltp/testcases/kernel/fs/fs_di/ |
frag.c | 49 char buff[1024], frag_file1[100], frag_file2[100]; local 78 bytes_read = fread(buff, 1, 1024, fp_data); 84 bytes_written = fwrite(buff, 1, bytes_read, fp_frag1); 90 bytes_written = fwrite(buff, 1, bytes_read, fp_frag2);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/ |
UriEncoder.java | 50 public static String decode(ByteBuffer buff) throws CharacterCodingException { 51 CharBuffer chars = UTF8Decoder.decode(buff); 55 public static String decode(String buff) { 57 return URLDecoder.decode(buff, "UTF-8");
|
/system/core/qemu_pipe/include/ |
qemu_pipe.h | 48 // Send a framed message |buff| of |len| bytes through the |fd| descriptor. 51 int qemu_pipe_frame_send(int fd, const void* buff, size_t len); 53 // Read a frame message from |fd|, and store it into |buff| of |len| bytes. 58 int qemu_pipe_frame_recv(int fd, void* buff, size_t len);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
llex.c | 53 Mbuffer *b = ls->buff; 97 return luaO_pushfstring(ls->L, LUA_QS, luaZ_buffer(ls->buff)); 105 char buff[LUA_IDSIZE]; local 106 luaO_chunkid(buff, getstr(ls->source), LUA_IDSIZE); 107 msg = luaO_pushfstring(ls->L, "%s:%d: %s", buff, ls->linenumber, msg); 172 luaZ_resizebuffer(ls->L, ls->buff, LUA_MINBUFFER); /* initialize buffer */ 197 size_t n = luaZ_bufflen(ls->buff); 198 char *p = luaZ_buffer(ls->buff); 219 if (!buff2d(ls->buff, &seminfo->r)) { 248 if (!buff2d(ls->buff, &seminfo->r)) /* format error? * [all...] |
/external/syslinux/com32/lua/src/ |
llex.c | 57 Mbuffer *b = ls->buff; 101 return luaO_pushfstring(ls->L, LUA_QS, luaZ_buffer(ls->buff)); 109 char buff[LUA_IDSIZE]; local 110 luaO_chunkid(buff, getstr(ls->source), LUA_IDSIZE); 111 msg = luaO_pushfstring(ls->L, "%s:%d: %s", buff, ls->linenumber, msg); 176 luaZ_resizebuffer(ls->L, ls->buff, LUA_MINBUFFER); /* initialize buffer */ 201 size_t n = luaZ_bufflen(ls->buff); 202 char *p = luaZ_buffer(ls->buff); 223 if (!buff2d(ls->buff, &seminfo->r)) { 252 if (!buff2d(ls->buff, &seminfo->r)) /* format error? * [all...] |
/external/ImageMagick/coders/ |
meta.c | 1147 *buff, 1192 buff=AcquireImage((ImageInfo *) NULL,exception); 1193 if (buff == (Image *) NULL) 1198 buff=DestroyImage(buff); 1201 AttachBlob(buff->blob,blob,length); 1204 length=(size_t) parse8BIM(image, buff); 1206 (void) WriteBlobByte(buff,0x0); 1210 length=(size_t) parse8BIMW(image, buff); 1212 (void) WriteBlobByte(buff,0x0) 1143 *buff, local 2271 *buff; local 2297 *buff; local [all...] |
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.h | 64 int read(void *buff, int len, unsigned int nakLimit = USB_NAK_LIMIT); 65 int write(void *buff, int len);
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_tag.c | 94 char buff[256]; local 98 snprintf(buff, sizeof(buff), "/proc/%d/fdinfo/%d", getpid(), 100 fp = fopen(buff, "r"); 103 while (fgets(buff, sizeof(buff), fp)) { 104 if (strncmp(buff, "prog_tag:\t", prefix_len)) 106 ret = hex2bin(tag, buff + prefix_len, len);
|
/external/zlib/src/contrib/minizip/ |
mztools.c | 18 #define WRITE_8(buff, n) do { \ 19 *((unsigned char*)(buff)) = (unsigned char) ((n) & 0xff); \ 21 #define WRITE_16(buff, n) do { \ 22 WRITE_8((unsigned char*)(buff), n); \ 23 WRITE_8(((unsigned char*)(buff)) + 1, (n) >> 8); \ 25 #define WRITE_32(buff, n) do { \ 26 WRITE_16((unsigned char*)(buff), (n) & 0xffff); \ 27 WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \
|
/prebuilts/go/darwin-x86/src/compress/zlib/ |
example_test.go | 26 buff := []byte{120, 156, 202, 72, 205, 201, 201, 215, 81, 40, 207, 28 b := bytes.NewReader(buff)
|
/prebuilts/go/linux-x86/src/compress/zlib/ |
example_test.go | 26 buff := []byte{120, 156, 202, 72, 205, 201, 201, 215, 81, 40, 207, 28 b := bytes.NewReader(buff)
|
/toolchain/binutils/binutils-2.27/zlib/contrib/minizip/ |
mztools.c | 18 #define WRITE_8(buff, n) do { \ 19 *((unsigned char*)(buff)) = (unsigned char) ((n) & 0xff); \ 21 #define WRITE_16(buff, n) do { \ 22 WRITE_8((unsigned char*)(buff), n); \ 23 WRITE_8(((unsigned char*)(buff)) + 1, (n) >> 8); \ 25 #define WRITE_32(buff, n) do { \ 26 WRITE_16((unsigned char*)(buff), (n) & 0xffff); \ 27 WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \
|
/external/valgrind/none/tests/s390x/ |
cksm.c | 19 cksm_by_insn(const uint32_t *buff, uint64_t len, uint32_t sum) 21 const uint32_t *init_addr = buff; 26 register uint64_t reg2 asm("2") = (uint64_t) buff; 60 cksm_by_hand(const uint32_t *buff, uint64_t len, uint32_t sum) 71 v64 += buff[n]; 74 sum = sum + buff[n] + 1; 76 sum = sum + buff[n]; 87 final = buff[n] & 0xFF000000; 91 final = buff[n] & 0xFFFF0000; 95 final = buff[n] & 0xFFFFFF00 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
AbstractSequentialListTest.java | 301 final String buff[] = {"0", "1", "2", "3", "4", "5"}; local 307 return buff.length; 326 return buff[currPos]; 350 for (int i = 0; i < buff.length; i++) { 351 assertEquals(buff[i], asl.get(i)); 417 String buff[] = {"0", "1", "2", "3", "4", "5"}; 422 return buff.length; 441 return buff[currPos]; 457 buff[currPos] = "removed element"; 489 String buff[] = {"0", "1", "2", "3", "4", "5"} [all...] |
/device/generic/goldfish/include/ |
qemu_pipe.h | 82 char buff[256]; local 91 snprintf(buff, sizeof buff, "pipe:%s", pipeName); 102 buffLen = strlen(buff); 104 if (!WriteFully(fd, buff, buffLen + 1)) {
|
/device/generic/goldfish/libqemu/ |
test_guest_1.c | 60 char buff[64]; local 68 int len = snprintf(buff, sizeof(buff), "Hello World %d\n", count); 70 int ret = pipe_send(pipe, buff, len); 90 if (memcmp(buff, buff2, len) != 0) {
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
qemu_pipe.h | 70 char buff[256]; local 79 snprintf(buff, sizeof buff, "pipe:%s", pipeName); 90 buffLen = strlen(buff); 92 if (!WriteFully(fd, buff, buffLen + 1)) {
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
EuclideanIntegerPoint.java | 108 final StringBuilder buff = new StringBuilder("("); local 111 buff.append(coordinates[i]); 113 buff.append(","); 116 buff.append(")"); 117 return buff.toString();
|
/external/autotest/server/cros/res_resource_monitor/ |
top_test_data.txt | 4 KiB Mem : 24508128 total, 23433516 free, 499784 used, 574828 buff/cache 21 KiB Mem : 24508128 total, 23433372 free, 502088 used, 572668 buff/cache 34 KiB Mem: 24508128 total,23433372 free,502088 used,572668 buff/cache 40 KiB Mem : 24508128 total, 23448048 used, 487384 free, 572696 buff/cache 46 KiB Mem : 24508128 free , 23448048 used, 487384 total, 572696 buff/cache
|