/external/chromium_org/cloud_print/common/win/ |
cloud_print_utils.cc | 31 LPCWSTR buffer = NULL; local 34 int count = ::LoadString(module, id, reinterpret_cast<LPWSTR>(&buffer), 0); 35 if (!buffer) 37 return base::string16(buffer, buffer + count); 41 LPWSTR buffer = NULL; local 44 0, hr, 0, reinterpret_cast<LPWSTR>(&buffer), 0, NULL); 45 base::string16 result(buffer); 46 ::LocalFree(buffer);
|
/external/chromium_org/content/browser/media/ |
midi_host_unittest.cc | 32 std::vector<T> buffer; variable 33 buffer.insert(buffer.end(), data, data + N); 34 return buffer; 38 void PushToVector(const T(&data)[N], std::vector<T>* buffer) { 39 buffer->insert(buffer->end(), data, data + N); 64 std::vector<uint8> buffer; local 65 PushToVector(kGMOn, &buffer); 66 PushToVector(kNoteOn, &buffer); [all...] |
/external/chromium_org/gpu/config/ |
gpu_info_collector_x11.cc | 30 char* buffer = NULL; local 34 &buffer)) { 35 std::string driver_version(buffer); 36 XFree(buffer);
|
/external/chromium_org/mojo/embedder/ |
simple_platform_shared_buffer_unittest.cc | 25 scoped_refptr<SimplePlatformSharedBuffer> buffer( 27 ASSERT_TRUE(buffer.get()); 31 EXPECT_TRUE(buffer->IsValidMap(0, kNumBytes)); 32 scoped_ptr<PlatformSharedBufferMapping> mapping(buffer->Map(0, kNumBytes)); 45 ASSERT_TRUE(buffer->IsValidMap(0, kNumBytes)); 48 buffer->MapNoCheck(0, kNumBytes)); 56 buffer->Map((kNumInts / 2) * sizeof(int), 2 * sizeof(int))); 78 EXPECT_TRUE(buffer->IsValidMap(sizeof(int), kNumBytes - sizeof(int))); 80 buffer->Map(sizeof(int), kNumBytes - sizeof(int))); 101 scoped_refptr<SimplePlatformSharedBuffer> buffer( [all...] |
/external/chromium_org/net/spdy/ |
spdy_read_queue.cc | 28 void SpdyReadQueue::Enqueue(scoped_ptr<SpdyBuffer> buffer) { 29 DCHECK_GT(buffer->GetRemainingSize(), 0u); 30 total_size_ += buffer->GetRemainingSize(); 31 queue_.push_back(buffer.release()); 38 SpdyBuffer* buffer = queue_.front(); local 40 std::min(len - bytes_copied, buffer->GetRemainingSize()); 41 memcpy(out + bytes_copied, buffer->GetRemainingData(), bytes_to_copy); 43 if (bytes_to_copy == buffer->GetRemainingSize()) { 47 buffer->Consume(bytes_to_copy);
|
/external/chromium_org/ppapi/c/dev/ |
ppb_crypto_dev.h | 29 * Fills the given buffer with random bytes. This is potentially slow so only 32 void (*GetRandomBytes)(char* buffer, uint32_t num_bytes);
|
/external/chromium_org/ppapi/tests/ |
test_memory.cc | 32 char* buffer = static_cast<char*>( local 35 buffer[0] = '1'; 36 buffer[kTestBufferSize - 1] = '1'; 37 memory_dev_interface_->MemFree(buffer);
|
/external/chromium_org/remoting/base/ |
compound_buffer.h | 5 // CompoundBuffer implements a data buffer that is composed of several pieces, 9 // and assembling them into one buffer on the receiving side. 13 // a protocol buffer message. 15 // Mutations to the buffer are not thread-safe. Immutability can be ensured 41 // Adds new chunk to the buffer. |start| defines position of the chunk 42 // within the |buffer|. |size| is the size of the chunk that is being 43 // added, not size of the |buffer|. 44 void Append(net::IOBuffer* buffer, int size); 45 void Append(net::IOBuffer* buffer, const char* start, int size); 46 void Append(const CompoundBuffer& buffer); 88 scoped_refptr<net::IOBuffer> buffer; member in struct:remoting::CompoundBuffer::DataChunk [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebData.cpp | 67 WebData::WebData(const PassRefPtr<SharedBuffer>& buffer) 68 : m_private(buffer) 72 WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer) 74 m_private = buffer;
|
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
fixed-dtoa.h | 39 // The buffer must be big enough to hold the result plus one terminating null 44 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and 47 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0. 48 // The returned buffer may contain digits that would be truncated from the 54 Vector<char> buffer, int* length, int* decimal_point);
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
rbutil.c | 66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) 83 buffer[length++]= digits[digit]; 88 buffer[length++] = '0';/*zero padding */ 93 buffer[length++]='-'; 96 /* null terminate the buffer */ 98 buffer[length] = 0x0000; 106 temp = buffer[(length-1) - j]; 107 buffer[(length-1) - j] = buffer[j]; 108 buffer[j] = temp [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_vdecl.c | 66 * buffer offset below. The important thing is that all vertex buffer 77 struct svga_buffer *buffer; local 81 if (!vb->buffer) 84 buffer = svga_buffer(vb->buffer); 85 if (buffer->uploaded.start > offset) { 86 tmp_neg_bias = buffer->uploaded.start - offset; 97 struct svga_buffer *buffer; local 99 if (!vb->buffer) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkImageInfo.cpp | 20 void SkImageInfo::unflatten(SkReadBuffer& buffer) { 21 fWidth = buffer.read32(); 22 fHeight = buffer.read32(); 24 uint32_t packed = buffer.read32(); 28 buffer.validate(alpha_type_is_valid(fAlphaType) && 32 void SkImageInfo::flatten(SkWriteBuffer& buffer) const { 33 buffer.write32(fWidth); 34 buffer.write32(fHeight); 39 buffer.write32(packed);
|
/external/chromium_org/tools/android/common/ |
net.h | 19 // Dumps a binary buffer into a string in a human-readable format. 20 std::string DumpBinary(const char* buffer, size_t length);
|
/external/chromium_org/v8/src/ |
dtoa.cc | 34 Vector<char> buffer, int* sign, int* length, int* point) { 46 buffer[0] = '0'; 47 buffer[1] = '\0'; 54 buffer[0] = '\0'; 62 fast_worked = FastDtoa(v, FAST_DTOA_SHORTEST, 0, buffer, length, point); 65 fast_worked = FastFixedDtoa(v, requested_digits, buffer, length, point); 69 buffer, length, point); 79 BignumDtoa(v, bignum_mode, requested_digits, buffer, length, point); 80 buffer[*length] = '\0';
|
fixed-dtoa.h | 13 // The buffer must be big enough to hold the result plus one terminating null 18 // Example: FastFixedDtoa(0.001, 5, ...) is allowed to return buffer = "1", and 21 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0. 22 // The returned buffer may contain digits that would be truncated from the 28 Vector<char> buffer, int* length, int* decimal_point);
|
/external/easymock/src/org/easymock/internal/matchers/ |
Same.java | 37 public void appendTo(StringBuffer buffer) {
38 buffer.append("same(");
39 ArgumentToString.appendArgument(expected, buffer);
40 buffer.append(")");
|
/external/fio/crc/ |
crc16.h | 20 extern unsigned short fio_crc16(const void *buffer, unsigned int len);
|
crc7.h | 11 extern unsigned char fio_crc7(const unsigned char *buffer, unsigned int len);
|
/external/fio/ |
fifo.c | 36 fifo->buffer = malloc(size); 45 free(fifo->buffer); 49 unsigned int fifo_put(struct fifo *fifo, void *buffer, unsigned int len) 55 /* first put the data starting from fifo->in to buffer end */ 57 memcpy(fifo->buffer + (fifo->in & (fifo->size - 1)), buffer, l); 59 /* then put the rest (if any) at the beginning of the buffer */ 60 memcpy(fifo->buffer, buffer + l, len - l); 80 * first get the data from fifo->out until the end of the buffer [all...] |
/external/icu/icu4c/source/tools/genrb/ |
rbutil.c | 66 itostr(char * buffer, int32_t i, uint32_t radix, int32_t pad) 83 buffer[length++]= digits[digit]; 88 buffer[length++] = '0';/*zero padding */ 93 buffer[length++]='-'; 96 /* null terminate the buffer */ 98 buffer[length] = 0x0000; 106 temp = buffer[(length-1) - j]; 107 buffer[(length-1) - j] = buffer[j]; 108 buffer[j] = temp [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
OutputBufferProvider.java | 20 * Simple Provider interface for the output buffer. 25 * Returns a clean Appendable buffer ready to use while rendering. 30 * Tells the provider that this buffer is free to be reused. 32 * @param buffer the Appendable object handed out by {@link #get} 34 void release(Appendable buffer);
|
/external/jsilver/src/com/google/streamhtmlparser/util/ |
JavascriptTokenBuffer.java | 24 * Implements a circular (ring) buffer of characters with specialized 34 * the buffer. Changing the API would mean changing the test 40 * <li> The buffer size is fixed. There is currently no need to 47 * Size of the ring buffer used to lookup the last token in the javascript 50 * an empty ring buffer slot. 54 /** Storage implementing the circular buffer. */ 55 private final char[] buffer; field in class:JavascriptTokenBuffer 57 /** Index of the first item in our circular buffer. */ 60 /** Index of the last item in our circular buffer. */ 64 * Constructs an empty javascript token buffer. The size is fixed [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/powerpc/util/ |
header.c | 21 get_cpuid(char *buffer, size_t sz) 28 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); 31 if (strchr(buffer, '$')) { 32 buffer[nb-1] = '\0';
|
/external/mdnsresponder/mDNSShared/ |
dnssd_ipc.c | 35 static char buffer[1024]; local 37 memset(buffer, 0, sizeof(buffer)); 43 buffer, 44 sizeof(buffer), 49 while ((n > 0) && isspace(((unsigned char *) buffer)[n - 1])) 50 buffer[--n] = '\0'; 52 return buffer; 111 int get_string(const char **ptr, const char *const end, char *buffer, int buflen) 115 *buffer = 0 [all...] |