HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 126 - 150 of 5537) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium/chrome/browser/sync/util/
crypto_helpers_unittest.cc 9 uint8 buffer[256]; local
10 for (unsigned int i = 0; i < arraysize(buffer); ++i) {
11 buffer[i] = i;
14 md5.AddData(buffer, arraysize(buffer));
  /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/icu4c/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/webkit/Source/WebCore/bindings/v8/custom/
V8ArrayBufferCustom.cpp 49 // e.g. from the call to ArrayBufferView.buffer, this code is called
60 // -- create an empty buffer of n bytes
66 RefPtr<ArrayBuffer> buffer; local
68 buffer = ArrayBuffer::create(static_cast<unsigned>(length), 1);
69 if (!buffer.get())
72 V8DOMWrapper::setDOMWrapper(args.Holder(), &info, buffer.get());
73 return toV8(buffer.release(), args.Holder());
  /external/webkit/Source/WebCore/platform/graphics/efl/
ImageEfl.cpp 55 RefPtr<SharedBuffer> buffer = SharedBuffer::createWithContentsOfFile(makeString(DATA_DIR "/webkit-1.0/images/", name, ".png")); local
56 if (buffer)
57 return buffer.release();
64 RefPtr<SharedBuffer> buffer = loadResourceSharedBuffer(name); local
65 img->setData(buffer.release(), true);
  /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/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLBIOInputStream.java 45 public int gets(byte[] buffer) throws IOException {
46 if (buffer == null || buffer.length == 0) {
52 while (offset < buffer.length) {
67 buffer[offset++] = (byte) inputByte;
  /system/bluetooth/brfpatch/
brfpatch.c 77 static void process_line(FILE *file_out, char *buf, char *buffer) {
78 FAILIF(strncmp(buf, "Send_", 5) != 0, "Not expecting: %s\n", buffer);
83 FAILIF(advance(&buf), "Could not find opcode in: %s\n", buffer); local
85 "Could not find opcode in: %s\n", buffer);
97 "Too much data: %s\n", buffer);
99 "Error parsing (%d): %s\n", __LINE__, buffer);
108 FAILIF(*buf != 'x', "Error parsing: %s\n", buffer);
120 "Error parsing (%d): %s\n", __LINE__, buffer);
126 "Error parsing (%d): %s\n", __LINE__, buffer);
132 "Error parsing (%d): %s\n", __LINE__, buffer);
177 char buffer[1024]; local
    [all...]
  /external/v8/test/cctest/
test-fast-dtoa.cc 33 Vector<char> buffer(buffer_container, kBufferSize);
40 buffer, &length, &point);
42 CHECK_EQ("5", buffer.start());
47 buffer, &length, &point);
49 CHECK_EQ("17976931348623157", buffer.start());
53 buffer, &length, &point);
55 CHECK_EQ("4294967272", buffer.start());
59 buffer, &length, &point);
61 CHECK_EQ("4185580496821357", buffer.start());
65 buffer, &length, &point)
    [all...]
  /external/apache-http/src/org/apache/http/entity/
BufferedHttpEntity.java 47 * buffer once and provided from there as often as required.
57 private final byte[] buffer; field in class:BufferedHttpEntity
62 this.buffer = EntityUtils.toByteArray(entity);
64 this.buffer = null;
69 if (this.buffer != null) {
70 return this.buffer.length;
77 if (this.buffer != null) {
78 return new ByteArrayInputStream(this.buffer);
90 return (buffer == null) && wrappedEntity.isChunked();
107 if (this.buffer != null)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
ByteBufferHelper.java 29 for (ByteBuffer buffer : samples) {
31 if (lastIndex >= 0 && buffer.hasArray() && nuSamples.get(lastIndex).hasArray() && buffer.array() == nuSamples.get(lastIndex).array() &&
32 nuSamples.get(lastIndex).arrayOffset() + nuSamples.get(lastIndex).limit() == buffer.arrayOffset()) {
34 ByteBuffer nu = ByteBuffer.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice();
38 buffer instanceof MappedByteBuffer && nuSamples.get(lastIndex) instanceof MappedByteBuffer &&
39 nuSamples.get(lastIndex).limit() == nuSamples.get(lastIndex).capacity() - buffer.capacity()) {
42 oldBuffer.limit(buffer.limit() + oldBuffer.limit());
44 buffer.rewind()
    [all...]
  /external/skia/src/core/
SkMallocPixelRef.cpp 43 void SkMallocPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const {
44 this->INHERITED::flatten(buffer);
46 buffer.writeByteArray(fStorage, fSize);
47 buffer.writeBool(fCTable != NULL);
49 buffer.writeFlattenable(fCTable);
53 SkMallocPixelRef::SkMallocPixelRef(SkFlattenableReadBuffer& buffer)
54 : INHERITED(buffer, NULL) {
55 fSize = buffer.getArrayCount();
57 buffer.readByteArray(fStorage);
58 if (buffer.readBool())
    [all...]
  /libcore/luni/src/main/java/libcore/io/
HeapBufferIterator.java 28 private final byte[] buffer; field in class:HeapBufferIterator
35 HeapBufferIterator(byte[] buffer, int offset, int byteCount, ByteOrder order) {
36 this.buffer = buffer;
51 System.arraycopy(buffer, offset + position, dst, dstOffset, byteCount);
56 byte result = buffer[offset + position];
62 int result = Memory.peekInt(buffer, offset + position, order);
69 Memory.unsafeBulkGet(dst, dstOffset, byteCount, buffer, offset + position, SizeOf.INT, order.needsSwap);
74 short result = Memory.peekShort(buffer, offset + position, order);
80 * Returns a new iterator over {@code buffer}, starting at {@code offset} and continuing fo
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_OutputStream.java 17 private byte[] buffer; field in class:Support_OutputStream
35 buffer = new byte[bufferSize];
58 public void write(byte buffer[]) throws IOException {
62 for (int i = 0; i < buffer.length; i++) {
63 write(buffer[i]);
68 public void write(byte buffer[], int offset, int count) throws IOException {
72 if (offset < 0 || count < 0 || (offset + count) > buffer.length) {
76 write(buffer[i]);
86 buffer[position] = (byte)(oneByte & 255);
89 throw new IOException("Internal buffer overflow.")
    [all...]
  /external/apache-http/src/org/apache/http/auth/
AuthState.java 138 StringBuilder buffer = new StringBuilder(); local
139 buffer.append("auth scope [");
140 buffer.append(this.authScope);
141 buffer.append("]; credentials set [");
142 buffer.append(this.credentials != null ? "true" : "false");
143 buffer.append("]");
144 return buffer.toString();
  /external/dropbear/
signkey.h 28 #include "buffer.h"
47 int buf_get_pub_key(buffer *buf, sign_key *key, int *type);
48 int buf_get_priv_key(buffer* buf, sign_key *key, int *type);
49 void buf_put_pub_key(buffer* buf, sign_key *key, int type);
50 void buf_put_priv_key(buffer* buf, sign_key *key, int type);
52 void buf_put_sign(buffer* buf, sign_key *key, int type,
55 int buf_verify(buffer * buf, sign_key *key, const unsigned char *data,
61 buffer * line, char ** fingerprint);
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
lexer.ml 11 let buffer = Buffer.create 1 in var
12 Buffer.add_char buffer c;
13 lex_ident buffer stream
17 let buffer = Buffer.create 1 in var
18 Buffer.add_char buffer c;
19 lex_number buffer strea
    [all...]
  /external/llvm/lib/Support/
Errno.cpp 41 char buffer[MaxErrStrLen]; local
42 buffer[0] = '\0';
49 // which may not use the buffer supplied.
50 str = strerror_r(errnum,buffer,MaxErrStrLen-1);
52 strerror_r(errnum,buffer,MaxErrStrLen-1);
53 str = buffer;
57 strerror_s(buffer, MaxErrStrLen - 1, errnum);
58 str = buffer;
62 // the buffer as fast as possible to minimize impact
  /external/nist-sip/java/gov/nist/javax/sip/header/
RecordRoute.java 77 protected StringBuffer encodeBody(StringBuffer buffer) {
79 buffer.append(LESS_THAN);
81 address.encode(buffer);
83 buffer.append(GREATER_THAN);
87 buffer.append(SEMICOLON);
88 this.parameters.encode(buffer);
90 return buffer;
  /frameworks/av/media/libstagefright/
XINGSeeker.cpp 85 uint8_t buffer[4]; local
87 if (source->readAt(offset, &buffer, 4) < 4) { // get header
92 int header = U32_AT(buffer);;
103 uint8_t version = (buffer[1] >> 3) & 3;
116 if (source->readAt(offset, &buffer, 4) < 4) { // XING header ID
121 if ((buffer[0] != 'X') || (buffer[1] != 'i')
122 || (buffer[2] != 'n') || (buffer[3] != 'g')) {
123 if ((buffer[0] != 'I') || (buffer[1] != 'n'
    [all...]

Completed in 854 milliseconds

1 2 3 4 56 7 8 91011>>