HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 201 - 225 of 13080) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/libs/hwui/
RenderBufferCache.cpp 46 INIT_LOGD(" Setting render buffer cache size to %sMB", property);
49 INIT_LOGD(" Using default render buffer cache size of %.2fMB",
91 void RenderBufferCache::deleteBuffer(RenderBuffer* buffer) {
92 if (buffer) {
93 RENDER_BUFFER_LOGD("Deleted %s render buffer (%dx%d)",
94 RenderBuffer::formatName(buffer->getFormat()),
95 buffer->getWidth(), buffer->getHeight());
97 mSize -= buffer->getSize();
98 delete buffer;
111 RenderBuffer* buffer = NULL; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/network/
FormDataBuilder.cpp 37 static inline void append(Vector<char>& buffer, char string)
39 buffer.append(string);
42 static inline void append(Vector<char>& buffer, const char* string)
44 buffer.append(string, strlen(string));
47 static inline void append(Vector<char>& buffer, const CString& string)
49 buffer.append(string.data(), string.length());
52 static void appendQuotedString(Vector<char>& buffer, const CString& string)
63 append(buffer, "%0A");
66 append(buffer, "%0D");
69 append(buffer, "%22")
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-complex-hangul.cc 110 /* buffer var allocations */
123 hb_buffer_t *buffer,
126 HB_BUFFER_ALLOCATE_VAR (buffer, hangul_shaping_feature);
176 buffer->clear_output ();
180 unsigned int count = buffer->len;
182 for (buffer->idx = 0; buffer->idx < count;)
184 hb_codepoint_t u = buffer->cur().codepoint;
193 if (start < end && end == buffer->out_len)
196 buffer->next_glyph ()
    [all...]
  /external/apache-http/src/org/apache/http/util/
CharArrayBuffer.java 47 private char[] buffer; field in class:CharArrayBuffer
53 throw new IllegalArgumentException("Buffer capacity may not be negative");
55 this.buffer = new char[capacity];
59 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)];
60 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len);
61 this.buffer = newbuffer;
76 if (newlen > this.buffer.length) {
79 System.arraycopy(b, off, this.buffer, this.len, len);
89 if (newlen > this.buffer.length) {
92 str.getChars(0, strlen, this.buffer, this.len)
172 public char[] buffer() { method in class:CharArrayBuffer
    [all...]
  /external/e2fsprogs/ext2ed/
blockbitmap_com.c 43 char *ptr,buffer [80]; local
47 ptr=parse_word (command_line,buffer); /* Get the requested entry */
52 ptr=parse_word (ptr,buffer);
54 entry_num=atol (buffer);
66 strcpy (buffer,"show");dispatch (buffer); /* dispatch a show command */
79 char *ptr,buffer [80]; local
81 ptr=parse_word (command_line,buffer);
83 ptr=parse_word (ptr,buffer);
84 entry_offset=atol (buffer);
95 char *ptr,buffer [80]; local
119 char *ptr,buffer [80]; local
148 char *ptr,buffer [80]; local
    [all...]
inodebitmap_com.c 30 char *ptr,buffer [80]; local
32 ptr=parse_word (command_line,buffer);
36 ptr=parse_word (ptr,buffer);
38 entry_num=atol (buffer);
45 strcpy (buffer,"show");dispatch (buffer);
52 char *ptr,buffer [80]; local
54 ptr=parse_word (command_line,buffer);
56 ptr=parse_word (ptr,buffer);
57 entry_offset=atol (buffer);
68 char *ptr,buffer [80]; local
84 char *ptr,buffer [80]; local
110 char *ptr,buffer [80]; local
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryablePrimitive.java 66 public T unmarshal(ByteBuffer buffer) {
67 return mClass.cast(unmarshalObject(buffer));
76 public void marshal(T value, ByteBuffer buffer) {
80 marshalPrimitive(val, buffer);
84 marshalPrimitive(val, buffer);
88 marshalPrimitive(val, buffer);
91 marshalPrimitive((Rational) value, buffer);
95 marshalPrimitive(val, buffer);
99 marshalPrimitive(val, buffer);
106 private void marshalPrimitive(int value, ByteBuffer buffer) {
    [all...]
  /external/chromium_org/chrome/renderer/net/
predictor_queue_unittest.cc 22 DnsQueueSequentialTester(DnsQueue& buffer, int32 read_counter = 0,
25 // Return of false means buffer was full, or would not take entry.
28 // Return of false means buffer returned wrong value.
40 DnsQueue& buffer, int32 read_counter, int32 write_counter)
41 : buffer_(&buffer),
73 // Use a small buffer so we can see that we can't write a string as soon as it
74 // gets longer than one less than the buffer size. The extra empty character
75 // is used to keep read and write pointers from overlapping when buffer is
76 // full. This shows the buffer size can constrain writes (and we're not
80 DnsQueue buffer(buffer_size)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
stringencode.cc 43 size_t escape(char * buffer, size_t buflen,
46 ASSERT(NULL != buffer); // TODO: estimate output size
56 buffer[bufpos++] = escape;
58 buffer[bufpos++] = ch;
61 buffer[bufpos] = '\0';
65 size_t unescape(char * buffer, size_t buflen,
68 ASSERT(NULL != buffer); // TODO: estimate output size
78 buffer[bufpos++] = ch;
80 buffer[bufpos] = '\0';
84 size_t encode(char * buffer, size_t buflen
    [all...]
  /external/chromium_org/third_party/webrtc/base/
stringencode.cc 26 size_t escape(char * buffer, size_t buflen,
29 ASSERT(NULL != buffer); // TODO: estimate output size
39 buffer[bufpos++] = escape;
41 buffer[bufpos++] = ch;
44 buffer[bufpos] = '\0';
48 size_t unescape(char * buffer, size_t buflen,
51 ASSERT(NULL != buffer); // TODO: estimate output size
61 buffer[bufpos++] = ch;
63 buffer[bufpos] = '\0';
67 size_t encode(char * buffer, size_t buflen
    [all...]
  /external/valgrind/main/none/tests/s390x/
srst.c 2 char buffer[24] ="0123456789abcdefghijklmn"; variable
52 buf = srst3(&buffer[23], &buffer[23], '0', &cc);
56 buf = srst3(&buffer[23], &buffer[0], '0', &cc);
60 buf = srst3(&buffer[23], &buffer[0], 'a', &cc);
64 buf = srst3(&buffer[23], &buffer[0], 'm', &cc);
68 buf = srst3(&buffer[23], &buffer[0], 'n', &cc)
    [all...]
  /system/core/logcat/tests/
logcat_benchmark.cpp 43 void init(const char *buffer)
46 if (buffer != NULL) {
47 ok = sscanf(buffer, "%d-%d %d:%d:%d.%d ",
52 timestamp(const char *buffer)
54 init(buffer);
80 char buffer[5120]; local
85 while (fgets(buffer, sizeof(buffer), fp)) {
86 if (!strncmp(begin, buffer, sizeof(begin) - 1)) {
91 last_buffer = strdup(buffer);
    [all...]
  /external/chromium_org/third_party/icu/source/tools/genrb/
rle.c 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) {
45 if(buffer < buffLimit){
46 *buffer++ = c;
51 return buffer;
56 return buffer;
64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) {
72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status);
74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status)
    [all...]
  /external/icu/icu4c/source/tools/genrb/
rle.c 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) {
45 if(buffer < buffLimit){
46 *buffer++ = c;
51 return buffer;
56 return buffer;
64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) {
72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status);
74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status)
    [all...]
  /external/chromium_org/media/formats/mp4/
avc.h 23 static bool ConvertFrameToAnnexB(int length_size, std::vector<uint8>* buffer);
25 // Inserts the SPS & PPS data from |avc_config| into |buffer|.
26 // |buffer| is expected to contain AnnexB conformant data.
27 // |subsamples| contains the SubsampleEntry info if |buffer| contains
32 std::vector<uint8>* buffer,
37 std::vector<uint8>* buffer,
40 // Verifies that the contents of |buffer| conform to
42 // Returns true if |buffer| contains conformant Annex B data
45 static bool IsValidAnnexB(const std::vector<uint8>& buffer);
46 static bool IsValidAnnexB(const uint8* buffer, size_t size)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebArrayBufferConverter.cpp 42 v8::Handle<v8::Value> WebArrayBufferConverter::toV8Value(WebArrayBuffer* buffer, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
44 if (!buffer)
46 return toV8(*buffer, creationContext, isolate);
53 WTF::ArrayBuffer* buffer = V8ArrayBuffer::toNative(value->ToObject());
54 return new WebArrayBuffer(buffer);
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
create_augmented_vec.c 29 int16_t *buffer, /* (i) Pointer to the end of the codebook memory that
40 ppo = buffer-index;
44 ppo = buffer - 4;
45 ppi = buffer - index - 4;
55 ppo = buffer - index;
  /external/clang/test/SemaCXX/
array-bounds-ptr-arith.cpp 27 char buffer[5]; // expected-note 2 {{declared here}} local
29 swallow(buffer + sizeof("Hello")-1); // expected-warning {{refers past the end of the array}}
30 swallow(buffer + (sizeof("Hello")-1)); // no-warning
31 if (n > 0 && n <= 6) swallow(buffer + 6 - n); // expected-warning {{refers past the end of the array}}
32 if (n > 0 && n <= 6) swallow(buffer + (6 - n)); // no-warning
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLBIOInputStream.java 49 public int gets(byte[] buffer) throws IOException {
50 if (buffer == null || buffer.length == 0) {
56 while (offset < buffer.length) {
71 buffer[offset++] = (byte) inputByte;
  /external/icu/icu4c/source/tools/toolutil/
flagparser.c 16 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
24 char* buffer = uprv_malloc(sizeof(char) * currentBufferSize); local
36 if (buffer == NULL) {
45 uprv_free(buffer);
46 buffer = uprv_malloc(sizeof(char) * currentBufferSize);
47 if (buffer == NULL) {
54 if (T_FileStream_readLine(f, buffer, currentBufferSize) == NULL) {
58 if (buffer[0] == '#') {
62 if (uprv_strlen(buffer) == (currentBufferSize - 1) && buffer[currentBufferSize-2] != '\n')
    [all...]
  /external/nanopb-c/tests/missing_fields/
missing_fields.c 10 uint8_t buffer[512]; local
16 pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
30 pb_istream_t stream = pb_istream_from_buffer(buffer, size);
42 pb_istream_t stream = pb_istream_from_buffer(buffer, size);
  /external/strace/test/
select.c 9 char buffer[1024*1024*2]; variable
24 FD_ZERO((fd_set*)buffer);
25 FD_SET(2,(fd_set*)buffer);
26 select(-1, (fd_set *)buffer, NULL, NULL, NULL);
31 select(FD_SETSIZE + 1, (fd_set *)buffer, NULL, NULL, &timeout);
  /frameworks/compile/libbcc/bcinfo/Wrap/
in_memory_wrapper_input.cpp 22 InMemoryWrapperInput::InMemoryWrapperInput(const char* buffer, size_t size) :
23 _buffer(buffer), _pos(0), _size(size) {
29 size_t InMemoryWrapperInput::Read(uint8_t* buffer, size_t wanted) {
32 if (!buffer) {
40 buffer[found++] = _buffer[_pos++];
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
ASCCharsetDecoderTest.java 48 // ByteBuffer buffer = ByteBuffer.allocate(8);
49 // buffer.put((byte)-1);
50 // buffer.put(unibytes);
51 // buffer.flip();
52 // return buffer;
58 ByteBuffer buffer = ByteBuffer.allocate(8); local
59 buffer.put((byte) -1);
60 buffer.put(getByteBuffer());
61 buffer.flip();
62 return buffer;
    [all...]
GBCharsetDecoderTest.java 53 ByteBuffer buffer = ByteBuffer.allocate(20); local
54 buffer.put(new byte[] { (byte) 0xd8 });
55 buffer.put(getByteBuffer());
56 buffer.flip();
57 return buffer;

Completed in 3620 milliseconds

1 2 3 4 5 6 7 891011>>