/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | LinkHash.cpp | 41 static bool resolveRelative(const KURL& base, const String& relative, url::RawCanonOutput<2048>* buffer) argument 48 return url::ResolveRelative(baseUTF8.data(), baseUTF8.length(), base.parsed(), relativeUTF8.data(), relativeUTF8.length(), 0, buffer, &parsed); 50 return url::ResolveRelative(baseUTF8.data(), baseUTF8.length(), base.parsed(), relative.characters16(), relative.length(), 0, buffer, &parsed); 57 url::RawCanonOutput<2048> buffer; 58 if (!resolveRelative(base, relative.string(), &buffer)) 60 return blink::Platform::current()->visitedLinkHash(buffer.data(), buffer.length());
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
H A D | 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 stream 32 and lex_number buffer = parser 34 Buffer.add_char buffer c; 35 lex_number buffer stream 37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
H A D | 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 stream 32 and lex_number buffer = parser 34 Buffer.add_char buffer c; 35 lex_number buffer stream 37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
H A D | 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 stream 32 and lex_number buffer = parser 34 Buffer.add_char buffer c; 35 lex_number buffer stream 37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
H A D | 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 stream 32 and lex_number buffer = parser 34 Buffer.add_char buffer c; 35 lex_number buffer stream 37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
H A D | 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 stream 32 and lex_number buffer = parser 34 Buffer.add_char buffer c; 35 lex_number buffer stream 37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); strea [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
H A D | 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 stream 32 and lex_number buffer = parser 34 Buffer.add_char buffer c; 35 lex_number buffer stream 37 [< 'Token.Number (float_of_string (Buffer.contents buffer)); strea [all...] |
/external/llvm/lib/Support/ |
H A D | Errno.cpp | 39 char buffer[MaxErrStrLen]; local 40 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; 56 strerror_s(buffer, MaxErrStrLen - 1, errnum); 57 str = buffer; 60 // the buffer as fast as possible to minimize impact
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | RecordRoute.java | 77 protected StringBuffer encodeBody(StringBuffer buffer) { argument 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;
|
/external/okhttp/okio/src/main/java/okio/ |
H A D | RealBufferedSink.java | 22 public final OkBuffer buffer; field in class:RealBufferedSink 26 public RealBufferedSink(Sink sink, OkBuffer buffer) { argument 28 this.buffer = buffer; 36 @Override public OkBuffer buffer() { method in class:RealBufferedSink 37 return buffer; 43 buffer.write(source, byteCount); 49 buffer.write(byteString); 55 buffer.writeUtf8(string); 61 buffer [all...] |
/external/bluetooth/bluedroid/bta/hf_client/ |
H A D | bta_hf_client_at.c | 254 ** No buffer parsing is being done here. 582 /* check for <cr><lf> and forward buffer if match */ 592 static char *bta_hf_client_parse_ok(char *buffer) argument 594 AT_CHECK_EVENT(buffer, "OK"); 595 AT_CHECK_RN(buffer); 599 return buffer; 602 static char *bta_hf_client_parse_error(char *buffer) argument 604 AT_CHECK_EVENT(buffer, "ERROR"); 605 AT_CHECK_RN(buffer); 609 return buffer; 612 bta_hf_client_parse_ring(char *buffer) argument 623 bta_hf_client_parse_uint32(char *buffer, void (*handler_callback)(UINT32)) argument 643 bta_hf_client_parse_brsf(char *buffer) argument 650 bta_hf_client_parse_cind_values(char *buffer) argument 685 bta_hf_client_parse_cind_list(char *buffer) argument 716 bta_hf_client_parse_cind(char *buffer) argument 726 bta_hf_client_parse_chld(char *buffer) argument 799 bta_hf_client_parse_ciev(char *buffer) argument 821 bta_hf_client_parse_bcs(char *buffer) argument 828 bta_hf_client_parse_bsir(char *buffer) argument 835 bta_hf_client_parse_cmeerror(char *buffer) argument 842 bta_hf_client_parse_vgm(char *buffer) argument 849 bta_hf_client_parse_vgme(char *buffer) argument 856 bta_hf_client_parse_vgs(char *buffer) argument 863 bta_hf_client_parse_vgse(char *buffer) argument 870 bta_hf_client_parse_bvra(char *buffer) argument 877 bta_hf_client_parse_clip(char *buffer) argument 905 bta_hf_client_parse_ccwa(char *buffer) argument 932 bta_hf_client_parse_cops(char *buffer) argument 959 bta_hf_client_parse_binp(char *buffer) argument 986 bta_hf_client_parse_clcc(char *buffer) argument 1054 bta_hf_client_parse_cnum(char *buffer) argument 1108 bta_hf_client_parse_btrh(char *buffer) argument 1130 bta_hf_client_parse_busy(char *buffer) argument 1140 bta_hf_client_parse_delayed(char *buffer) argument 1150 bta_hf_client_parse_no_carrier(char *buffer) argument 1160 bta_hf_client_parse_no_answer(char *buffer) argument 1170 bta_hf_client_parse_blacklisted(char *buffer) argument 1180 bta_hf_client_skip_unknown(char *buffer) argument [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-buffer-deserialize-text.hh | 2 #line 1 "hb-buffer-deserialize-text.rl" 35 #line 36 "hb-buffer-deserialize-text.hh.tmp" 315 #line 91 "hb-buffer-deserialize-text.rl" 319 _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer, argument 328 (void) hb_buffer_get_glyph_positions (buffer, NULL); 332 if (p < pe && *p == (buffer->len ? '|' : '[')) 342 #line 343 "hb-buffer-deserialize-text.hh.tmp" 347 #line 348 "hb-buffer-deserialize-text.hh.tmp" 373 #line 51 "hb-buffer-deserialize-text.rl" 379 #line 55 "hb-buffer [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-drm/ |
H A D | wayland-drm.c | 51 struct wl_drm_buffer *buffer = resource->data; local 52 struct wl_drm *drm = buffer->drm; 54 drm->callbacks->release_buffer(drm->user_data, buffer); 55 free(buffer); 77 struct wl_drm_buffer *buffer; local 79 buffer = calloc(1, sizeof *buffer); 80 if (buffer == NULL) { 85 buffer->drm = drm; 86 buffer 238 wayland_buffer_is_drm(struct wl_buffer *buffer) argument 247 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local 255 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-buffer-deserialize-text.hh | 2 #line 1 "../../src/hb-buffer-deserialize-text.rl" 35 #line 36 "hb-buffer-deserialize-text.hh.tmp" 315 #line 91 "../../src/hb-buffer-deserialize-text.rl" 319 _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer, argument 328 (void) hb_buffer_get_glyph_positions (buffer, NULL); 332 if (p < pe && *p == (buffer->len ? '|' : '[')) 342 #line 343 "hb-buffer-deserialize-text.hh.tmp" 347 #line 348 "hb-buffer-deserialize-text.hh.tmp" 373 #line 51 "../../src/hb-buffer-deserialize-text.rl" 379 #line 55 "../../src/hb-buffer [all...] |
/external/mesa3d/src/egl/wayland/wayland-drm/ |
H A D | wayland-drm.c | 51 struct wl_drm_buffer *buffer = resource->data; local 52 struct wl_drm *drm = buffer->drm; 54 drm->callbacks->release_buffer(drm->user_data, buffer); 55 free(buffer); 77 struct wl_drm_buffer *buffer; local 79 buffer = calloc(1, sizeof *buffer); 80 if (buffer == NULL) { 85 buffer->drm = drm; 86 buffer 238 wayland_buffer_is_drm(struct wl_buffer *buffer) argument 247 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local 255 struct wl_drm_buffer *buffer = (struct wl_drm_buffer *) buffer_base; local [all...] |
/external/valgrind/main/none/tests/ppc32/ |
H A D | data-cache-instructions.c | 43 /* Test dcbzl at addr in buffer given dcbzl_block_size */ 44 static void test_dcbzl_at(char *addr, char *buffer, int block_size) argument 48 /* Note: Assumption is that the length of buffer is three times the block_size. */ 49 memset(buffer, 0xff, 3 * block_size); 52 assert(buffer[i] == 0xff); 53 assert(buffer[block_size + i] == 0x00); 54 assert(buffer[2 * block_size + i] == 0xff); 62 char *buffer = NULL; local 69 err = posix_memalign((void **) &buffer, block_size, buffer_size); 76 test_dcbzl_at(&buffer[block_siz [all...] |
/external/valgrind/main/none/tests/ppc64/ |
H A D | data-cache-instructions.c | 43 /* Test dcbzl at addr in buffer given dcbzl_block_size */ 44 static void test_dcbzl_at(char *addr, char *buffer, int block_size) argument 48 /* Note: Assumption is that the length of buffer is three times the block_size. */ 49 memset(buffer, 0xff, 3 * block_size); 52 assert(buffer[i] == 0xff); 53 assert(buffer[block_size + i] == 0x00); 54 assert(buffer[2 * block_size + i] == 0xff); 62 char *buffer = NULL; local 69 err = posix_memalign((void **) &buffer, block_size, buffer_size); 76 test_dcbzl_at(&buffer[block_siz [all...] |
/external/apache-http/src/org/apache/http/util/ |
H A D | ByteArrayBuffer.java | 45 private byte[] buffer; field in class:ByteArrayBuffer 53 this.buffer = new byte[capacity]; 57 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; 58 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 59 this.buffer = newbuffer; 74 if (newlen > this.buffer.length) { 77 System.arraycopy(b, off, this.buffer, this.len, len); 83 if (newlen > this.buffer.length) { 86 this.buffer[this.len] = (byte)b; 103 if (newlen > this.buffer 143 public byte[] buffer() { method in class:ByteArrayBuffer [all...] |
/external/chromium_org/tools/gn/ |
H A D | c_include_iterator_unittest.cc | 23 std::string buffer; local 24 buffer.append("// Some comment\n"); 25 buffer.append("\n"); 26 buffer.append("#include \"foo/bar.h\"\n"); 27 buffer.append("\n"); 28 buffer.append("#include <stdio.h>\n"); 29 buffer.append("\n"); 30 buffer.append(" #include \"foo/baz.h\"\n"); // Leading whitespace 31 buffer.append("#include \"la/deda.h\"\n"); 32 buffer 64 std::string buffer; local 82 std::string buffer; local 111 std::string buffer; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | cstrcase.c | 41 UChar buffer[32]; local 46 buffer[0]=0xabcd; 48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, 54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || 55 buffer[length]!=0 60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && 61 buffer[length]==0 ? "yes" : "no", 63 aescstrdup(buffer,-1)); 66 /* lowercase with turkish locale and in the same buffer */ 139 UChar buffer[32]; local 235 UChar buffer[32]; local 339 UChar buffer[32]; local 432 UChar buffer[32]; local 872 UChar buffer[32]; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | cstrcase.c | 41 UChar buffer[32]; local 46 buffer[0]=0xabcd; 48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR, 54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 || 55 buffer[length]!=0 60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 && 61 buffer[length]==0 ? "yes" : "no", 63 aescstrdup(buffer,-1)); 66 /* lowercase with turkish locale and in the same buffer */ 139 UChar buffer[32]; local 235 UChar buffer[32]; local 339 UChar buffer[32]; local 432 UChar buffer[32]; local 874 UChar buffer[32]; local [all...] |
/external/e2fsprogs/ext2ed/ |
H A D | file_com.c | 44 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); 69 char *ptr,buffer [80]; local 71 ptr=parse_word (command_line,buffer); 74 ptr=parse_word (ptr,buffer); 75 block_offset*=atol (buffer); 88 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); 90 strcpy (buffer,"show");dispatch (buffer); 97 char *ptr,buffer [80]; local 99 ptr=parse_word (command_line,buffer); 120 char *ptr,buffer [80]; local 147 char *ptr,buffer [80]; local 170 char *ptr,buffer [80]; local 198 char *ptr,buffer [80]; local 228 char *ptr,buffer [80]; local 401 char *ptr,buffer [80]; local 440 char *ptr,buffer [80],*ch_ptr; local [all...] |
/external/chromium_org/media/base/ |
H A D | container_names.cc | 30 // Helper function to read 2 bytes (16 bits, big endian) from a buffer. 35 // Helper function to read 3 bytes (24 bits, big endian) from a buffer. 40 // Helper function to read 4 bytes (32 bits, big endian) from a buffer. 45 // Helper function to read 4 bytes (32 bits, little endian) from a buffer. 50 // Helper function to do buffer comparisons with a string without going off the 51 // end of the buffer. 52 static bool StartsWith(const uint8* buffer, argument 57 memcmp(buffer, prefix, prefix_size) == 0); 60 // Helper function to do buffer comparisons with another buffer (t 62 StartsWith(const uint8* buffer, size_t buffer_size, const uint8* prefix, size_t prefix_size) argument 94 CheckAac(const uint8* buffer, int buffer_size) argument 133 CheckAc3(const uint8* buffer, int buffer_size) argument 206 CheckBink(const uint8* buffer, int buffer_size) argument 232 CheckCaf(const uint8* buffer, int buffer_size) argument 273 CheckDts(const uint8* buffer, int buffer_size) argument 328 CheckDV(const uint8* buffer, int buffer_size) argument 412 AdvanceToStartCode(const uint8* buffer, int buffer_size, int* offset, int bytes_needed, int num_bits, uint32 start_code) argument 434 CheckH261(const uint8* buffer, int buffer_size) argument 482 CheckH263(const uint8* buffer, int buffer_size) argument 550 CheckH264(const uint8* buffer, int buffer_size) argument 606 CheckHls(const uint8* buffer, int buffer_size) argument 632 CheckMJpeg(const uint8* buffer, int buffer_size) argument 701 CheckMpeg2ProgramStream(const uint8* buffer, int buffer_size) argument 799 CheckMpeg2TransportStream(const uint8* buffer, int buffer_size) argument 872 CheckMpeg4BitStream(const uint8* buffer, int buffer_size) argument 948 CheckMov(const uint8* buffer, int buffer_size) argument 1083 GetMp3HeaderSize(const uint8* buffer, int buffer_size) argument 1093 CheckMp3(const uint8* buffer, int buffer_size, bool seenHeader) argument 1124 VerifyNumber(const uint8* buffer, int buffer_size, int* offset, int max_digits) argument 1152 VerifyCharacters(const uint8* buffer, int buffer_size, int* offset, char c1, char c2) argument 1246 CheckWebm(const uint8* buffer, int buffer_size) argument 1299 CheckVC1(const uint8* buffer, int buffer_size) argument 1421 LookupContainerByFirst4(const uint8* buffer, int buffer_size) argument 1619 DetermineContainer(const uint8* buffer, int buffer_size) argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
H A D | sctputils.cc | 30 #include "talk/base/buffer.h" 57 talk_base::ByteBuffer buffer(payload.data(), payload.length()); 60 if (!buffer.ReadUInt8(&message_type)) { 71 if (!buffer.ReadUInt8(&channel_type)) { 77 if (!buffer.ReadUInt16(&priority)) { 82 if (!buffer.ReadUInt32(&reliability_param)) { 87 if (!buffer.ReadUInt16(&label_length)) { 92 if (!buffer.ReadUInt16(&protocol_length)) { 96 if (!buffer.ReadString(label, (size_t) label_length)) { 100 if (!buffer [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | flagparser.c | 16 static void extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status); 17 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize); 24 char* buffer = uprv_malloc(sizeof(char) * currentBufferSize); local 35 if (buffer == NULL) { 44 uprv_free(buffer); 45 buffer = uprv_malloc(sizeof(char) * currentBufferSize); 46 if (buffer == NULL) { 52 if (T_FileStream_readLine(f, buffer, currentBufferSize) == NULL) { 57 if (uprv_strlen(buffer) == (currentBufferSize - 1) && buffer[currentBufferSiz 91 extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, UErrorCode *status) argument 127 getFlagOffset(const char *buffer, int32_t bufferSize) argument [all...] |