HomeSort by relevance Sort by last modified time
    Searched defs:buffer (Results 226 - 250 of 3875) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/curl/lib/
sockaddr.h 39 } buffer; member in struct:Curl_sockaddr_storage
  /external/curl/tests/libtest/
lib651.c 26 static char buffer[17000]; /* more than 16K */ variable
36 /* create a buffer with AAAA...BBBBB...CCCC...etc */
38 int size = (int)sizeof(buffer)/1000;
41 memset(&buffer[i * 1000], 65 + i, 1000);
43 buffer[ sizeof(buffer)-1] = 0; /* zero terminate */
53 CURLFORM_COPYCONTENTS, buffer,
lib652.c 26 static char buffer[17000]; /* more than 16K */ variable
36 /* create a buffer with AAAA...BBBBB...CCCC...etc */
38 int size = (int)sizeof(buffer) / 10;
41 memset(&buffer[i * 10], 65 + (i % 26), 10);
78 res = curl_mime_data(part, buffer, sizeof(buffer));
  /external/curl/tests/unit/
unit1308.c 48 char buffer[] = "test buffer"; variable
66 CURLFORM_PTRCONTENTS, buffer, CURLFORM_END);
  /external/deqp/framework/delibs/destream/
deStreamCpyThread.c 31 deUint8* buffer = malloc(sizeof(deUint8) * (size_t)thread->bufferSize); local
39 readResult = deInStream_read(thread->input, buffer, thread->bufferSize, &read);
44 deOutStream_write(thread->output, buffer, read - written, &wrote);
57 free(buffer);
  /external/e2fsprogs/ext2ed/
super_com.c 124 char *ptr,buffer [80]; local
126 ptr=parse_word (command_line,buffer);
130 ptr=parse_word (ptr,buffer);
132 copy_num=atol (buffer);
143 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer);
144 strcpy (buffer,"show");dispatch (buffer);
  /external/easymock/src/org/easymock/internal/
ArgumentToString.java 27 public static void appendArgument(Object value, StringBuffer buffer) {
29 buffer.append("null");
31 buffer.append("\"");
32 buffer.append(value);
33 buffer.append("\"");
35 buffer.append("'");
36 buffer.append(value);
37 buffer.append("'");
39 buffer.append("[");
42 buffer.append(", ");
44 appendArgument(Array.get(value, i), buffer); local
    [all...]
  /external/elfutils/lib/
crc32_file.c 43 unsigned char buffer[1024 * 8]; local
82 while ((count = TEMP_FAILURE_RETRY (pread (fd, buffer, sizeof buffer,
86 crc = crc32 (crc, buffer, count);
  /external/elfutils/libelf/
elf_getdata_rawchunk.c 121 void *buffer; local
126 buffer = rawchunk;
132 buffer = malloc (size);
133 if (unlikely (buffer == NULL))
138 memcpy (buffer, rawchunk, size);
144 buffer = rawchunk;
147 buffer = malloc (size);
148 if (unlikely (buffer == NULL))
154 (*__elf_xfctstom[elf->class - 1][type])(buffer, rawchunk, size, 0);
157 /* Allocate the dummy container to point at this buffer. *
    [all...]
  /external/expat/tests/
chardata.c 88 char buffer[1024]; local
95 sprintf(buffer, "wrong number of data characters: got %d, expected %d",
97 fail(buffer);
  /external/google-breakpad/src/tools/linux/md2core/
minidump_memory_range.h 78 const uint16_t* buffer = &md_str->buffer[0]; local
79 for (uint32_t i = 0; i < md_str->length && buffer[i]; ++i) {
80 str.push_back(buffer[i]);
  /external/grpc-grpc/src/ruby/ext/grpc/
rb_byte_buffer.c 31 grpc_byte_buffer* buffer = grpc_raw_byte_buffer_create(&slice, 1); local
33 return buffer;
36 VALUE grpc_rb_byte_buffer_to_s(grpc_byte_buffer* buffer) {
40 if (buffer == NULL) {
43 rb_string = rb_str_buf_new(grpc_byte_buffer_length(buffer));
44 if (!grpc_byte_buffer_reader_init(&reader, buffer)) {
45 rb_raise(rb_eRuntimeError, "Error initializing byte buffer reader.");
  /external/grpc-grpc/test/core/tsi/alts/handshaker/
alts_tsi_utils_test.cc 47 grpc_byte_buffer* buffer = local
50 alts_tsi_utils_deserialize_response(buffer);
52 grpc_byte_buffer_destroy(buffer);
57 buffer = grpc_raw_byte_buffer_create(&bad_slice, 1 /* number of slices */);
58 GPR_ASSERT(alts_tsi_utils_deserialize_response(buffer) == nullptr);
63 grpc_byte_buffer_destroy(buffer);
  /external/grpc-grpc/third_party/nanopb/examples/using_union_messages/
encode.c 44 uint8_t buffer[512]; local
45 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
80 fwrite(buffer, 1, stream.bytes_written, stdout);
  /external/grpc-grpc/third_party/nanopb/tests/alltypes/
decode_alltypes.c 199 uint8_t buffer[1024]; local
206 /* Read the data into buffer */
208 count = fread(buffer, 1, sizeof(buffer), stdin);
210 /* Construct a pb_istream_t for reading from the buffer */
211 stream = pb_istream_from_buffer(buffer, count);
  /external/grpc-grpc/third_party/nanopb/tests/alltypes_pointer/
decode_alltypes_pointer.c 156 uint8_t buffer[1024]; local
163 /* Read the data into buffer */
165 count = fread(buffer, 1, sizeof(buffer), stdin);
167 /* Construct a pb_istream_t for reading from the buffer */
168 stream = pb_istream_from_buffer(buffer, count);
  /external/grpc-grpc/third_party/nanopb/tests/anonymous_oneof/
decode_oneof.c 56 uint8_t buffer[AnonymousOneOfMessage_size]; local
68 count = fread(buffer, 1, sizeof(buffer), stdin);
72 printf("Message does not fit in buffer\n");
80 stream = pb_istream_from_buffer(buffer, count);
  /external/grpc-grpc/third_party/nanopb/tests/backwards_compatibility/
decode_legacy.c 177 uint8_t buffer[1024]; local
184 /* Read the data into buffer */
186 count = fread(buffer, 1, sizeof(buffer), stdin);
188 /* Construct a pb_istream_t for reading from the buffer */
189 stream = pb_istream_from_buffer(buffer, count);
  /external/grpc-grpc/third_party/nanopb/tests/basic_buffer/
decode_buffer.c 63 uint8_t buffer[Person_size]; local
67 /* Read the data into buffer */
69 count = fread(buffer, 1, sizeof(buffer), stdin);
73 printf("Message does not fit in buffer\n");
77 /* Construct a pb_istream_t for reading from the buffer */
78 stream = pb_istream_from_buffer(buffer, count);
  /external/grpc-grpc/third_party/nanopb/tests/callbacks/
decode_callbacks.c 12 uint8_t buffer[1024] = {0}; local
14 /* We could read block-by-block to avoid the large buffer... */
15 if (stream->bytes_left > sizeof(buffer) - 1)
18 if (!pb_read(stream, buffer, stream->bytes_left))
24 printf((char*)*arg, buffer);
60 uint8_t buffer[1024]; local
70 length = fread(buffer, 1, 1024, stdin);
71 stream = pb_istream_from_buffer(buffer, length);
  /external/grpc-grpc/third_party/nanopb/tests/extensions/
decode_extensions.c 18 uint8_t buffer[1024]; local
30 count = fread(buffer, 1, sizeof(buffer), stdin);
31 stream = pb_istream_from_buffer(buffer, count);
encode_extensions.c 14 uint8_t buffer[1024]; local
35 stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
41 fwrite(buffer, 1, stream.bytes_written, stdout);
  /external/grpc-grpc/third_party/nanopb/tests/oneof/
decode_oneof.c 93 uint8_t buffer[OneOfMessage_size]; local
105 count = fread(buffer, 1, sizeof(buffer), stdin);
109 printf("Message does not fit in buffer\n");
117 stream = pb_istream_from_buffer(buffer, count);
123 stream = pb_istream_from_buffer(buffer, count);
  /external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
ReadableBufferTestBase.java 40 ReadableBuffer buffer = buffer(); local
42 assertEquals(msg.length() - ix, buffer.readableBytes());
43 assertEquals(msg.charAt(ix), buffer.readUnsignedByte());
45 assertEquals(0, buffer.readableBytes());
50 ReadableBuffer buffer = buffer(); local
52 buffer.readBytes(array, 0, array.length);
54 assertEquals(0, buffer.readableBytes());
59 ReadableBuffer buffer = buffer() local
68 ReadableBuffer buffer = buffer(); local
77 ReadableBuffer buffer = buffer(); local
86 ReadableBuffer buffer = buffer(); local
98 ReadableBuffer buffer = buffer(); local
110 ReadableBuffer buffer = buffer(); local
119 protected abstract ReadableBuffer buffer(); method in class:ReadableBufferTestBase
    [all...]
  /external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
CronetWritableBufferAllocatorTest.java 32 WritableBuffer buffer = allocator.allocate(1000); local
33 assertEquals(1000, buffer.writableBytes());
40 WritableBuffer buffer = allocator.allocate(1024 * 1024 * 1024); local
42 assertEquals(1024 * 1024, buffer.writableBytes());

Completed in 971 milliseconds

1 2 3 4 5 6 7 8 91011>>