/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
raw_printer_test.cc | 15 char buffer[1]; local 16 base::RawPrinter printer(buffer, arraysize(buffer)); 18 CHECK_EQ(string(""), buffer); 21 CHECK_EQ(string(""), string(buffer)); 27 char buffer[100]; local 28 base::RawPrinter printer(buffer, arraysize(buffer)); 30 CHECK_EQ(string("hello world"), string(buffer)); 36 char buffer[3] local 45 char buffer[12]; local [all...] |
/external/srtp/crypto/test/ |
stat_driver.c | 35 uint8_t buffer[2500]; local 53 buffer[i] = 0; 56 printf("running stat_tests on all-null buffer, expecting failure\n"); 57 printf("monobit %d\n", stat_test_monobit(buffer)); 58 printf("poker %d\n", stat_test_poker(buffer)); 59 printf("runs %d\n", stat_test_runs(buffer)); 62 buffer[i] = rand(); 64 printf("monobit %d\n", stat_test_monobit(buffer)); 65 printf("poker %d\n", stat_test_poker(buffer)); 66 printf("runs %d\n", stat_test_runs(buffer)); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_draw.c | 58 const struct pipe_vertex_buffer *buffer = local 64 if (!buffer->buffer) { 68 assert(buffer->buffer->height0 == 1); 69 assert(buffer->buffer->depth0 == 1); 70 buffer_size = buffer->buffer->width0; 78 if (buffer->buffer_offset >= buffer_size) [all...] |
/external/embunit/src/ |
AssertImpl.c | 41 char buffer[32]; /*"exp -2147483647 was -2147483647"*/ local 44 stdimpl_strcpy(buffer, "exp "); 47 stdimpl_strncat(buffer, numbuf, 11); } 49 stdimpl_strcat(buffer, " was "); 52 stdimpl_strncat(buffer, numbuf, 11); } 54 addFailure(buffer, line, file); 59 char buffer[ASSERT_STRING_BUFFER_MAX]; local 93 stdimpl_strcpy(buffer, "exp \""); 94 stdimpl_strncat(buffer, expected, el); 95 stdimpl_strcat(buffer, "\" was \"") [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_dboolhuff.c | 22 int vp9_reader_init(vp9_reader *r, const uint8_t *buffer, size_t size) { 25 r->buffer_end = buffer + size; 26 r->buffer = buffer; 31 if (size && !buffer) 41 const uint8_t *buffer = r->buffer; local 46 const int bits_left = (int)((buffer_end - buffer)*CHAR_BIT); 57 value |= (VP9_BD_VALUE)*buffer++ << shift; 62 r->buffer = buffer [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_draw.c | 58 const struct pipe_vertex_buffer *buffer = local 64 if (!buffer->buffer) { 68 assert(buffer->buffer->height0 == 1); 69 assert(buffer->buffer->depth0 == 1); 70 buffer_size = buffer->buffer->width0; 78 if (buffer->buffer_offset >= buffer_size) [all...] |
/external/chromium_org/third_party/icu/source/common/ |
charstr.cpp | 25 uprv_memcpy(buffer.getAlias(), s.buffer.getAlias(), len+1); 35 buffer[len=newLength]=0; 42 buffer[len++]=c; 43 buffer[len]=0; 60 if(s==(buffer.getAlias()+len)) { 62 if(sLength>=(buffer.getCapacity()-len)) { 66 buffer[len+=sLength]=0; 68 } else if(buffer.getAlias()<=s && s<(buffer.getAlias()+len) & [all...] |
ustrfmt.c | 17 * @param buffer UChar buffer to receive result 18 * @param capacity capacity of buffer 28 uprv_itou (UChar * buffer, int32_t capacity, 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7)); 43 buffer[length++] = (UChar) 0x0030;/*zero padding */ 45 /* null terminate the buffer */ 47 buffer[length] = (UChar) 0x0000; 52 temp = buffer[(length-1) - j]; 53 buffer[(length-1) - j] = buffer[j] [all...] |
/external/chromium_org/chrome/renderer/ |
static_v8_external_string_resource.cc | 8 const base::StringPiece& buffer) 9 : buffer_(buffer) {
|
/external/chromium_org/media/mp4/ |
aac_unittest.cc | 15 uint8 buffer[] = {0x12, 0x10}; local 18 data.assign(buffer, buffer + sizeof(buffer)); 27 uint8 buffer[] = {0x13, 0x08, 0x56, 0xe5, 0x9d, 0x48, 0x80}; local 30 data.assign(buffer, buffer + sizeof(buffer)); 44 uint8 buffer[] = {0x13, 0x08}; local 47 data.assign(buffer, buffer + sizeof(buffer)) 63 uint8 buffer[] = {0x13, 0x10}; local 81 uint8 buffer[] = {0x11, 0xb0}; local 103 uint8 buffer[] = {0x0, 0x08}; local 119 uint8 buffer[] = {0x0f, 0x88}; local 133 uint8 buffer[] = {0x0e, 0x00}; local [all...] |
/external/chromium_org/media/webm/chromeos/ |
ebml_writer.h | 16 base::Callback<void(const void* buffer, unsigned long len)> write_cb; 17 base::Callback<void(const void* buffer, int buffer_size, unsigned long len)>
|
/external/chromium_org/ppapi/cpp/dev/ |
crypto_dev.cc | 21 bool Crypto_Dev::GetRandomBytes(char* buffer, uint32_t num_bytes) { 23 get_interface<PPB_Crypto_Dev_0_1>()->GetRandomBytes(buffer, num_bytes);
|
/external/chromium_org/ppapi/shared_impl/ |
ppb_crypto_shared.cc | 18 void GetRandomBytes(char* buffer, uint32_t num_bytes) { 19 base::RandBytes(buffer, num_bytes);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/opentype/ |
OpenTypeSanitizer.h | 42 explicit OpenTypeSanitizer(SharedBuffer* buffer) 43 : m_buffer(buffer)
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
ConvolverNode.idl | 29 attribute AudioBuffer buffer;
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
SpinLockTest.cpp | 43 static void fillBuffer(volatile char* buffer, char fillPattern) 46 buffer[i] = fillPattern; 49 static void changeAndCheckBuffer(volatile char* buffer) 51 fillBuffer(buffer, '\0'); 54 total += buffer[i]; 60 fillBuffer(buffer, '!'); 65 volatile char* buffer = reinterpret_cast<volatile char*>(arg); local 68 changeAndCheckBuffer(buffer);
|
/external/chromium_org/third_party/skia/src/core/ |
SkPaintOptionsAndroid.cpp | 30 void SkPaintOptionsAndroid::flatten(SkFlattenableWriteBuffer& buffer) const { 31 buffer.writeUInt(fFontVariant); 32 buffer.writeString(fLanguage.getTag().c_str()); 33 buffer.writeBool(fUseFontFallbacks); 36 void SkPaintOptionsAndroid::unflatten(SkFlattenableReadBuffer& buffer) { 37 fFontVariant = (FontVariant)buffer.readUInt(); 39 buffer.readString(&tag); 41 fUseFontFallbacks = buffer.readBool();
|
/external/clang/test/CodeGen/ |
2003-10-02-UnionLValueError.c | 9 void format_message(char *buffer, union U *u) { 10 sprintf(buffer, u->s);
|
/external/clang/test/PCH/ |
va_arg.cpp | 14 void f(char *buffer, unsigned count, const char* format, va_list argptr) { 15 vsnprintf(buffer, count, format, argptr);
|
/external/icu4c/common/ |
ustrfmt.c | 17 * @param buffer UChar buffer to receive result 18 * @param capacity capacity of buffer 28 uprv_itou (UChar * buffer, int32_t capacity, 38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7)); 43 buffer[length++] = (UChar) 0x0030;/*zero padding */ 45 /* null terminate the buffer */ 47 buffer[length] = (UChar) 0x0000; 52 temp = buffer[(length-1) - j]; 53 buffer[(length-1) - j] = buffer[j] [all...] |
/external/libnfc-nci/src/include/ |
CrcChecksum.h | 30 ** Description Compute a checksum on a buffer of data. 35 unsigned short crcChecksumCompute (const unsigned char *buffer, int bufferLen);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BitWriterBuffer.java | 7 private ByteBuffer buffer; field in class:BitWriterBuffer 11 public BitWriterBuffer(ByteBuffer buffer) { 12 this.buffer = buffer; 13 this.initialPos = buffer.position(); 22 int current = (buffer.get(initialPos + position / 8)); 25 buffer.put(initialPos + position / 8, (byte) (current > 127 ? current - 256 : current)); 32 buffer.position(initialPos + position / 8 + ((position % 8 > 0) ? 1 : 0));
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Route.java | 90 protected StringBuffer encodeBody(StringBuffer buffer) { 93 buffer.append('<'); 94 address.encode(buffer); 95 buffer.append('>'); 97 address.encode(buffer); 100 buffer.append(SEMICOLON); 101 parameters.encode(buffer); 103 return buffer;
|
/external/skia/src/core/ |
SkPaintOptionsAndroid.cpp | 28 void SkPaintOptionsAndroid::flatten(SkFlattenableWriteBuffer& buffer) const { 29 buffer.writeUInt(fFontVariant); 30 buffer.writeString(fLanguage.getTag().c_str()); 31 buffer.writeBool(fUseFontFallbacks); 34 void SkPaintOptionsAndroid::unflatten(SkFlattenableReadBuffer& buffer) { 35 fFontVariant = (FontVariant)buffer.readUInt(); 37 buffer.readString(&tag); 39 fUseFontFallbacks = buffer.readBool();
|
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLEngineAppData.java | 30 * Buffer containing received application data. 32 byte[] buffer; field in class:SSLEngineAppData 41 * just the array reference is remembered into the buffer field. 44 if (buffer != null) { 49 buffer = src; 53 * Places the data from the buffer into the array of destination 57 if (buffer == null) { 61 int len = buffer.length; 68 // can fully write remaining data into buffer 69 dsts[i].put(buffer, pos, len - pos) [all...] |