Searched refs:buffer (Results 126 - 150 of 3377) sorted by relevance

1234567891011>>

/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_printer.h22 // stack frame "frame_no" and appends it to the "buffer". "format" is a
50 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no,
54 void RenderSourceLocation(InternalScopedString *buffer, const char *file,
57 void RenderModuleLocation(InternalScopedString *buffer, const char *module,
/external/compiler-rt/test/asan/TestCases/Darwin/
H A Dmixing-global-constructors.cc28 char buffer[10] = "world"; local
29 func(buffer);
30 printf("%s\n", buffer);
/external/google-breakpad/src/processor/
H A Dlogging.cc87 char buffer[11]; local
88 snprintf(buffer, sizeof(buffer), "0x%x", number);
89 return string(buffer);
93 char buffer[19]; local
94 snprintf(buffer, sizeof(buffer), "0x%" PRIx64, number);
95 return string(buffer);
99 char buffer[19]; local
100 snprintf(buffer, sizeo
[all...]
/external/harfbuzz_ng/src/
H A Dhb-ot-shape-fallback-private.hh37 hb_buffer_t *buffer);
41 hb_buffer_t *buffer);
46 hb_buffer_t *buffer);
H A Dhb-ot-shape.cc211 hb_buffer_t *buffer; member in struct:hb_ot_shape_context_t
227 hb_set_unicode_props (hb_buffer_t *buffer) argument
229 unsigned int count = buffer->len;
230 hb_glyph_info_t *info = buffer->info;
232 _hb_glyph_info_set_unicode_props (&info[i], buffer->unicode);
236 hb_insert_dotted_circle (hb_buffer_t *buffer, hb_font_t *font) argument
238 if (!(buffer->flags & HB_BUFFER_FLAG_BOT) ||
239 buffer->context_len[0] ||
240 _hb_glyph_info_get_general_category (&buffer->info[0]) !=
249 _hb_glyph_info_set_unicode_props (&dottedcircle, buffer
265 hb_form_clusters(hb_buffer_t *buffer) argument
275 hb_ensure_native_direction(hb_buffer_t *buffer) argument
355 hb_buffer_t *buffer = c->buffer; local
365 hb_buffer_t *buffer = c->buffer; local
384 hb_ot_map_glyphs_fast(hb_buffer_t *buffer) argument
422 hb_buffer_t *buffer = c->buffer; local
449 hb_buffer_t *buffer = c->buffer; local
488 zero_mark_widths_by_unicode(hb_buffer_t *buffer, bool adjust_offsets) argument
502 zero_mark_widths_by_gdef(hb_buffer_t *buffer, bool adjust_offsets) argument
726 _hb_ot_shape(hb_shape_plan_t *shape_plan, hb_font_t *font, hb_buffer_t *buffer, const hb_feature_t *features, unsigned int num_features) argument
770 hb_ot_shape_glyphs_closure(hb_font_t *font, hb_buffer_t *buffer, const hb_feature_t *features, unsigned int num_features, hb_set_t *glyphs) argument
[all...]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DStringSerializer.java66 byte[] buffer = new byte[length];
67 data.get(buffer);
68 return new String(buffer, "UTF-8");
71 public void writeObject(ByteBuffer buffer, Object object) throws IOException { argument
76 buffer.put((byte)0);
84 buffer.put((byte)1);
85 buffer.put((byte)bufferLength);
87 buffer.put((byte)2);
88 buffer.putShort((short)bufferLength);
90 buffer
[all...]
/external/v8/test/webkit/
H A Ddfg-float32-array-nan.js28 var buffer = new ArrayBuffer(4);
30 var int32View = new Int32Array(buffer);
31 var floatView = new Float32Array(buffer);
/external/vixl/test/
H A Dtest-fuzz-a64.cc48 Instruction buffer[kInstructionSize]; local
52 buffer->SetInstructionBits(instr);
53 decoder.Decode(buffer);
67 Instruction buffer[kInstructionSize]; local
72 buffer->SetInstructionBits(instr);
73 decoder.Decode(buffer);
89 Instruction buffer[kInstructionSize];
95 buffer->SetInstructionBits(static_cast<uint32_t>(i));
96 decoder.Decode(buffer);
105 Instruction buffer[kInstructionSiz
[all...]
/external/apache-http/src/org/apache/http/message/
H A DBasicLineParser.java125 CharArrayBuffer buffer = new CharArrayBuffer(value.length());
126 buffer.append(value);
128 return parser.parseProtocolVersion(buffer, cursor);
133 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer, argument
137 if (buffer == null) {
138 throw new IllegalArgumentException("Char array buffer may not be null");
150 skipWhitespace(buffer, cursor);
158 buffer.substring(indexFrom, indexTo));
164 ok = (buffer.charAt(i+j) == protoname.charAt(j));
167 ok = (buffer
229 hasProtocolVersion(final CharArrayBuffer buffer, final ParserCursor cursor) argument
306 parseRequestLine(final CharArrayBuffer buffer, final ParserCursor cursor) argument
398 parseStatusLine(final CharArrayBuffer buffer, final ParserCursor cursor) argument
488 parseHeader(CharArrayBuffer buffer) argument
499 skipWhitespace(final CharArrayBuffer buffer, final ParserCursor cursor) argument
[all...]
/external/apache-http/src/org/apache/http/util/
H A DCharArrayBuffer.java52 private char[] buffer; field in class:CharArrayBuffer
60 this.buffer = new char[capacity];
64 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)];
65 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len);
66 this.buffer = newbuffer;
81 if (newlen > this.buffer.length) {
84 System.arraycopy(b, off, this.buffer, this.len, len);
94 if (newlen > this.buffer.length) {
97 str.getChars(0, strlen, this.buffer, this.len);
105 append(b.buffer, of
177 public char[] buffer() { method in class:CharArrayBuffer
[all...]
/external/e2fsprogs/ext2ed/
H A Dblockbitmap_com.c43 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...]
H A Dinodebitmap_com.c30 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...]
/external/valgrind/none/tests/s390x/
H A Dsrst.c2 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[2
[all...]
/external/jetty/src/java/org/eclipse/jetty/io/
H A DBufferCache.java40 /** Add a buffer to the cache at the specified index.
41 * @param value The content of the buffer.
45 CachedBuffer buffer= new CachedBuffer(value, ordinal);
46 _bufferMap.put(buffer, buffer);
47 _stringMap.put(value, buffer);
51 _index.add(ordinal, buffer);
52 return buffer;
62 public CachedBuffer get(Buffer buffer) argument
64 return (CachedBuffer)_bufferMap.get(buffer);
72 lookup(Buffer buffer) argument
106 toString(Buffer buffer) argument
117 getOrdinal(Buffer buffer) argument
[all...]
/external/icu/icu4c/source/tools/genrb/
H A Drle.c39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { argument
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) { argument
72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status);
74 buffer = appendEncodedByte(buffer,bufLimi
106 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* status) argument
148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) argument
194 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) argument
[all...]
/external/clang/test/SemaCXX/
H A Darray-bounds-ptr-arith.cpp27 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/
H A DOpenSSLBIOInputStream.java49 public int gets(byte[] buffer) throws IOException { argument
50 if (buffer == null || buffer.length == 0) {
56 while (offset < buffer.length) {
71 buffer[offset++] = (byte) inputByte;
/external/google-breakpad/src/client/solaris/handler/
H A Dminidump_test.cc44 char buffer[PATH_MAX]; local
48 snprintf(buffer, sizeof(buffer), "./minidump_test.out");
49 fprintf(stdout, "Writing %s\n", buffer);
51 md.WriteMinidumpToFile(buffer, 0, 0, NULL);
/external/icu/icu4c/source/tools/toolutil/
H A Dflagparser.c16 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)
108 extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char **flagNames, int32_t numOfFlags, UErrorCode *status) argument
156 getFlagOffset(const char *buffer, int32_t bufferSize) argument
[all...]
/external/libxml2/win32/wince/
H A Dwincecompat.c22 int read(int handle, char *buffer, unsigned int len) argument
24 return(fread(&buffer[0], len, 1, (FILE *) handle));
27 int write(int handle, const char *buffer, unsigned int len) argument
29 return(fwrite(&buffer[0], len,1,(FILE *) handle));
49 char *getcwd( char *buffer, unsigned int size) argument
/external/nanopb-c/tests/missing_fields/
H A Dmissing_fields.c10 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/v8/test/cctest/
H A Dtest-fast-dtoa.cc58 Vector<char> buffer(buffer_container, kBufferSize);
65 buffer, &length, &point);
67 CHECK_EQ("5", buffer.start());
72 buffer, &length, &point);
74 CHECK_EQ("17976931348623157", buffer.start());
78 buffer, &length, &point);
80 CHECK_EQ("4294967272", buffer.start());
84 buffer, &length, &point);
86 CHECK_EQ("4185580496821357", buffer.start());
90 buffer,
[all...]
/external/apache-http/src/org/apache/http/entity/
H A DBufferedHttpEntity.java47 * buffer once and provided from there as often as required.
62 private final byte[] buffer; field in class:BufferedHttpEntity
67 this.buffer = EntityUtils.toByteArray(entity);
69 this.buffer = null;
74 if (this.buffer != null) {
75 return this.buffer.length;
82 if (this.buffer != null) {
83 return new ByteArrayInputStream(this.buffer);
95 return (buffer == null) && wrappedEntity.isChunked();
112 if (this.buffer !
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
H A DByteBufferHelper.java29 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
[all...]
/external/sfntly/cpp/src/sfntly/port/
H A Dmemory_output_stream.cc27 void MemoryOutputStream::Write(ByteVector* buffer) { argument
28 store_.insert(store_.end(), buffer->begin(), buffer->end());
31 void MemoryOutputStream::Write(ByteVector* buffer, argument
34 assert(buffer);
37 buffer->begin() + offset,
38 buffer->begin() + offset + length);
46 void MemoryOutputStream::Write(byte_t* buffer, int32_t offset, int32_t length) { argument
47 assert(buffer);
49 store_.insert(store_.end(), buffer
[all...]

Completed in 739 milliseconds

1234567891011>>