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

1 2 3 4 56 7 8 91011>>

  /prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/
sha1.h 21 u_char buffer[64]; member in struct:__anon61669
  /system/core/libsysutils/src/
FrameworkClient.cpp 34 char *buffer = (char *) alloca(bufflen); local
35 if (!buffer) {
39 snprintf(buffer, bufflen, "%s%s", msg, data);
40 return sendMsg(buffer);
  /external/proguard/src/proguard/util/
ListUtil.java 44 StringBuffer buffer = new StringBuffer(); local
50 buffer.append(',');
53 buffer.append(quotedString((String)list.get(index)));
56 return buffer.toString();
  /frameworks/base/tests/CoreTests/android/core/
HttpHeaderTest.java 50 CharArrayBuffer buffer = new CharArrayBuffer(64); local
52 buffer.append(CACHE_CONTROL_MAX_AGE);
53 h.parseHeader(buffer);
55 buffer.clear();
56 buffer.append(LAST_MODIFIED);
57 h.parseHeader(buffer);
60 buffer.clear();
61 buffer.append(CACHE_CONTROL_PRIVATE);
62 h.parseHeader(buffer);
  /frameworks/opt/mms/src/java/com/google/android/mms/pdu/
QuotedPrintable.java 43 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
58 buffer.write((char) ((u << 4) + l));
63 buffer.write(b);
66 return buffer.toByteArray();
  /external/apache-http/src/org/apache/http/impl/conn/
Wire.java 55 StringBuilder buffer = new StringBuilder(); local
59 buffer.append("[\\r]");
61 buffer.append("[\\n]\"");
62 buffer.insert(0, "\"");
63 buffer.insert(0, header);
64 log.debug(buffer.toString());
65 buffer.setLength(0);
67 buffer.append("[0x");
68 buffer.append(Integer.toHexString(ch));
69 buffer.append("]")
    [all...]
  /libcore/harmony-tests/src/test/java/tests/api/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;
UTFCharsetDecoderTest.java 53 ByteBuffer buffer = ByteBuffer.allocate(getByteBuffer().remaining() + 1); local
54 buffer.put((byte) 0xd8);
55 buffer.put(getByteBuffer());
56 buffer.flip();
57 return buffer;
65 return " buffer \u041c\u0430\u0441\u044e\u043b\u044f \u611b";
  /cts/suite/audio_quality/lib/src/task/
TaskDownload.cpp 47 android::sp<Buffer> buffer = getTestCase()->findBuffer(id); local
48 if (buffer.get() == NULL) {
49 LOGE("TaskDownload::run cannot find buffer %s", id.string());
53 if (!getTestCase()->getRemoteAudio()->downloadData(id, buffer, downloadId)) {
56 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId);
  /cts/suite/audio_quality/test/
AudioSignalFactoryTest.cpp 25 void testSignalBasic(android::sp<Buffer>& buffer, int maxPositive,
27 ASSERT_TRUE(buffer->getSize() == (unsigned int)(AudioHardware::E2BPS * 2 * samples));
28 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData());
44 android::sp<Buffer> buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, local
46 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples);
53 android::sp<Buffer> buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, local
55 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples)
    [all...]
  /cts/tests/tests/drm/jni/
android_drm_cts_NativeCodeTest.cpp 37 char buffer[128]; local
38 if (fgets(buffer, sizeof(buffer), f) != NULL) {
40 if (!strncmp(buffer, match, strlen(match))) {
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRIntArray.h 39 NSMutableData *buffer; variable
70 @property (retain) NSMutableData *buffer; variable
  /external/apache-harmony/support/src/test/java/tests/support/
Streams.java 36 byte[] buffer = new byte[1024];
39 while ((count = source.read(buffer)) != -1) {
40 out.write(buffer, 0, count);
49 char[] buffer = new char[1024]; local
52 while ((count = fileReader.read(buffer)) != -1) {
53 out.write(buffer, 0, count);
  /external/apache-http/src/org/apache/http/impl/io/
HttpRequestWriter.java 45 public HttpRequestWriter(final SessionOutputBuffer buffer,
48 super(buffer, formatter, params);
54 final CharArrayBuffer buffer = lineFormatter.formatRequestLine local
56 this.sessionBuffer.writeLine(buffer);
HttpResponseWriter.java 45 public HttpResponseWriter(final SessionOutputBuffer buffer,
48 super(buffer, formatter, params);
54 final CharArrayBuffer buffer = lineFormatter.formatStatusLine local
56 this.sessionBuffer.writeLine(buffer);
  /external/chromium/chrome/browser/parsers/
metadata_parser_manager.cc 39 char buffer[kAmountToRead]; local
42 amount_read = file_util::ReadFile(path, buffer, sizeof(buffer));
48 if (factories_[x]->CanParse(path, buffer, amount_read)) {
  /external/chromium/net/disk_cache/
mapped_file.h 32 void* buffer() const { function in class:disk_cache::MappedFile
47 void* buffer_; // Address of the memory mapped buffer.
  /external/chromium_org/base/posix/
unix_domain_socket_linux_unittest.cc 41 uint8_t buffer[16]; local
43 UnixDomainSocket::RecvMsg(fds[0], buffer, sizeof(buffer),
  /external/chromium_org/chrome/browser/parsers/
metadata_parser_manager.cc 39 char buffer[kAmountToRead]; local
42 amount_read = file_util::ReadFile(path, buffer, sizeof(buffer));
48 if (factories_[x]->CanParse(path, buffer, amount_read)) {
  /external/chromium_org/content/renderer/pepper/
url_response_info_util.cc 28 const std::string& buffer() const { return buffer_; } function in class:content::__anon10478::HeaderFlattener
63 data.headers = flattener.buffer();
  /external/chromium_org/gpu/command_buffer/common/
command_buffer_shared_test.cc 41 void WriteToState(int32 *buffer,
49 // Ensure that the producer doesn't update the buffer until after the
51 EXPECT_EQ(buffer[i], 0);
58 scoped_ptr<int32[]> buffer; local
59 buffer.reset(new int32[kSize]);
62 memset(buffer.get(), 0, kSize * sizeof(int32));
66 FROM_HERE, base::Bind(&WriteToState, buffer.get(),
79 buffer[state.get_offset - 1] = 1;
  /external/chromium_org/net/quic/crypto/
null_decrypter.cc 34 // TODO(rch): avoid buffer copy here
35 string buffer = associated_data.as_string(); local
36 plaintext.AppendToString(&buffer);
38 if (hash != QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length())) {
60 // TODO(rch): avoid buffer copy here
61 string buffer = associated_data.as_string(); local
62 plaintext.AppendToString(&buffer);
64 if (hash != QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length()))
    [all...]
  /external/chromium_org/remoting/base/
typed_buffer_unittest.cc 19 // Check that the default constructor does not allocate the buffer.
21 TypedBuffer<Data> buffer; local
22 EXPECT_FALSE(buffer.get());
23 EXPECT_FALSE(buffer);
24 EXPECT_EQ(buffer.length(), 0u);
27 // Check that allocating zero-size structure does not allocate the buffer.
29 TypedBuffer<Data> buffer(0);
30 EXPECT_FALSE(buffer.get());
31 EXPECT_FALSE(buffer);
32 EXPECT_EQ(buffer.length(), 0u)
    [all...]
  /external/chromium_org/sandbox/win/tools/finder/
finder_registry.cc 12 wchar_t buffer[2048] = {0}; local
15 LONG err_code = ::RegEnumKey(key, index, buffer, name_size);
17 ATL::CString name_complete = print_name + buffer + L"\\";
18 TestRegAccess(key, buffer, name_complete);
22 err_code = ::RegOpenKeyEx(key, buffer, 0, KEY_ENUMERATE_SUB_KEYS,
33 err_code = ::RegEnumKey(key, index, buffer, name_size);

Completed in 701 milliseconds

1 2 3 4 56 7 8 91011>>