| /external/chromium_org/rlz/mac/lib/ |
| machine_id_mac.cc | 53 uint8_t* buffer, size_t buffer_size) { 59 bzero(buffer, buffer_size); 81 mac_data_data, CFRangeMake(0, kIOEthernetAddressSize), buffer); 88 bool GetMacAddress(unsigned char* buffer, size_t size) { 93 primary_interface_iterator, buffer, size);
|
| /external/chromium_org/third_party/WebKit/Source/wtf/ |
| CryptographicallyRandomNumber.cpp | 63 void randomValues(void* buffer, size_t length); 153 void ARC4RandomNumberGenerator::randomValues(void* buffer, size_t length) 157 unsigned char* result = reinterpret_cast<unsigned char*>(buffer); 180 void cryptographicallyRandomValues(void* buffer, size_t length) 182 sharedRandomNumberGenerator().randomValues(buffer, length);
|
| /external/chromium_org/third_party/icu/source/common/ |
| normlzr.cpp | 36 buffer(), bufferPos(0) 45 buffer(), bufferPos(0) 54 buffer(), bufferPos(0) 63 buffer(copy.buffer), bufferPos(copy.bufferPos) 100 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 110 buffer==that.buffer && 249 if(bufferPos<buffer.length() || nextNormalize()) { 250 return buffer.char32At(bufferPos) [all...] |
| /external/chromium_org/third_party/libjpeg_turbo/ |
| jdatadst-tj.c | 39 unsigned char ** outbuffer; /* target buffer */ 41 unsigned char * newbuffer; /* newly allocated buffer */ 42 JOCTET * buffer; /* start of buffer */ member in struct:__anon17354 63 * Empty the output buffer --- called whenever buffer fills up. 65 * In typical applications, this should write the entire output buffer 67 * reset the pointer & count to the start of the buffer, and return TRUE 68 * indicating that the buffer has been dumped. 71 * overrun, a FALSE return indicates that the buffer cannot be emptied now [all...] |
| /external/chromium_org/third_party/libxml/src/ |
| parserInternals.c | 245 if (in->base != in->buf->buffer->content) { 253 if (in->cur > in->base + in->buf->buffer->use) { 257 xmlGenericError(xmlGenericErrorContext,"buffer %x : content %x, cur %d, use %d, size %d\n", 258 (int) in, (int) in->buf->buffer->content, in->cur - in->base, 259 in->buf->buffer->use, in->buf->buffer->size); 273 * preserve pointers to the input buffer, and discard already read data 291 if (in->buf->buffer == NULL) return(-1); 296 used = in->cur - in->buf->buffer->content; 297 ret = xmlBufferShrink(in->buf->buffer, used) 587 char buffer[150]; local 753 char buffer[150]; local 866 char buffer[150]; local [all...] |
| /external/chromium_org/third_party/mesa/src/src/egl/wayland/wayland-drm/ |
| wayland-drm.h | 73 struct wl_buffer buffer; member in struct:wl_drm_buffer 86 struct wl_drm_buffer *buffer); 88 void (*release_buffer)(void *user_data, struct wl_drm_buffer *buffer); 99 wayland_buffer_is_drm(struct wl_buffer *buffer); 105 wayland_drm_buffer_get_buffer(struct wl_buffer *buffer);
|
| /external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
| vbo_save.h | 44 GLfloat buffer[VBO_ATTRIB_MAX * 4 * VBO_MAX_COPIED_VERTS]; member in struct:vbo_save_copied_vtx 52 * copying on buffer breaks is precomputed according to these 111 GLfloat *buffer; member in struct:vbo_save_vertex_store 117 struct _mesa_prim buffer[VBO_SAVE_PRIM_SIZE]; member in struct:vbo_save_primitive_store 137 GLfloat *buffer; member in struct:vbo_save_context 148 GLfloat *buffer_ptr; /* cursor, points into buffer */ 172 const GLfloat *buffer,
|
| /external/chromium_org/third_party/skia/include/effects/ |
| SkMorphologyImageFilter.h | 22 * All morphology procs have the same signature: src is the source buffer, dst the 23 * destination buffer, radius is the morphology radius, width and height are the bounds 24 * of the destination buffer (in pixels), and srcStride and dstStride are the 25 * number of pixels per row in each buffer. All buffers are 8888. 38 SkMorphologyImageFilter(SkReadBuffer& buffer); 80 explicit SkDilateImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} 112 explicit SkErodeImageFilter(SkReadBuffer& buffer) : INHERITED(buffer) {}
|
| /external/chromium_org/third_party/webrtc/common_video/libyuv/ |
| libyuv_unittest.cc | 23 int PrintBuffer(const uint8_t* buffer, int width, int height, int stride) { 24 if (buffer == NULL) 27 const uint8_t* tmp_buffer = buffer; 51 ret += PrintBuffer(frame->buffer(plane_type), width, height, 69 uint8_t *data = frame->buffer(plane_type); 340 memset(test_frame.buffer(kYPlane), 255, width * height); 341 memset(test_frame.buffer(kUPlane), 255, half_width * half_height); 342 memset(test_frame.buffer(kVPlane), 255, half_width * half_height); 368 EXPECT_EQ(0, memcmp(in_frame.buffer(kYPlane), 369 test_in_frame.buffer(kYPlane), width * height)) [all...] |
| /external/deqp/modules/gles2/functional/ |
| es2fBufferTestUtil.hpp | 23 * \brief Buffer test utilities. 55 // Base class for buffer cases. 67 void deleteBuffer (deUint32 buffer); 75 // Reference buffer. 94 // Buffer verifier system. 112 virtual bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes) = DE_NULL; 132 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 149 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes); 165 bool verify (deUint32 buffer, const deUint8* reference, int offset, int numBytes);
|
| /external/harfbuzz_ng/util/ |
| hb-shape.cc | 79 void consume_text (hb_buffer_t *buffer, 85 format.serialize_buffer_of_text (buffer, line_no, text, text_len, font, gs); 88 void shape_failed (hb_buffer_t *buffer, 97 void consume_glyphs (hb_buffer_t *buffer, 103 format.serialize_buffer_of_glyphs (buffer, line_no, text, text_len, font,
|
| /external/icu/icu4c/source/common/ |
| normlzr.cpp | 36 buffer(), bufferPos(0) 45 buffer(), bufferPos(0) 54 buffer(), bufferPos(0) 63 buffer(copy.buffer), bufferPos(copy.bufferPos) 100 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 110 buffer==that.buffer && 249 if(bufferPos<buffer.length() || nextNormalize()) { 250 return buffer.char32At(bufferPos) [all...] |
| /external/icu/icu4c/source/i18n/ |
| bocsu.cpp | 105 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity); local 111 buffer=scratch; 114 p=reinterpret_cast<uint8_t *>(buffer); 137 sink.Append(buffer, (int32_t)(p-reinterpret_cast<uint8_t *>(buffer)));
|
| /external/libusb/libusb/ |
| libusb.h | 674 /** Automatically free() transfer buffer during libusb_free_transfer() */ 742 /** Length of the data buffer */ 757 /** Data buffer */ 758 unsigned char *buffer; member in struct:libusb_transfer 824 * buffer, as the setup packet comes first. 827 * or situations where you have already allocated a suitably sized buffer at 828 * transfer->buffer. 836 return transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; 842 * 8 bytes of the transfer data buffer. 845 * or situations where you have already allocated a suitably sized buffer a [all...] |
| /external/mesa3d/src/egl/wayland/wayland-drm/ |
| wayland-drm.h | 73 struct wl_buffer buffer; member in struct:wl_drm_buffer 86 struct wl_drm_buffer *buffer); 88 void (*release_buffer)(void *user_data, struct wl_drm_buffer *buffer); 99 wayland_buffer_is_drm(struct wl_buffer *buffer); 105 wayland_drm_buffer_get_buffer(struct wl_buffer *buffer);
|
| /external/mesa3d/src/mesa/vbo/ |
| vbo_save.h | 44 GLfloat buffer[VBO_ATTRIB_MAX * 4 * VBO_MAX_COPIED_VERTS]; member in struct:vbo_save_copied_vtx 52 * copying on buffer breaks is precomputed according to these 111 GLfloat *buffer; member in struct:vbo_save_vertex_store 117 struct _mesa_prim buffer[VBO_SAVE_PRIM_SIZE]; member in struct:vbo_save_primitive_store 137 GLfloat *buffer; member in struct:vbo_save_context 148 GLfloat *buffer_ptr; /* cursor, points into buffer */ 172 const GLfloat *buffer,
|
| /external/nist-sip/java/gov/nist/javax/sip/header/ |
| ContentType.java | 109 protected StringBuffer encodeBody(StringBuffer buffer) { 110 mediaRange.encode(buffer); 112 buffer.append(SEMICOLON); 113 parameters.encode(buffer); 115 return buffer;
|
| /external/okhttp/okio/src/main/java/okio/ |
| DeflaterSink.java | 43 this.sink = Okio.buffer(sink); 72 OkBuffer buffer = sink.buffer(); local 74 Segment s = buffer.writableSegment(1); 86 buffer.size += deflated;
|
| /external/flac/libFLAC/ |
| metadata_iterators.c | 166 static FLAC__StreamDecoderWriteStatus write_callback_(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data); 254 FLAC__StreamDecoderWriteStatus write_callback_(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) 256 (void)decoder, (void)frame, (void)buffer, (void)client_data; 2122 FLAC__byte buffer[FLAC__STREAM_METADATA_STREAMINFO_LENGTH], *b; local 2185 FLAC__byte buffer[FLAC__STREAM_METADATA_SEEKPOINT_LENGTH]; local 2211 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2243 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2271 FLAC__byte buffer[32]; \/* asserted below that this is big enough *\/ local 2341 FLAC__byte buffer[1024]; \/* MSVC needs a constant expression so we put a magic number and assert *\/ local 2385 FLAC__byte buffer[sizeof(FLAC__uint32)]; local 2417 FLAC__byte buffer[4]; \/* asserted below that this is big enough *\/ local 2515 FLAC__byte buffer[FLAC__STREAM_METADATA_HEADER_LENGTH]; local 2554 FLAC__byte buffer[FLAC__STREAM_METADATA_STREAMINFO_LENGTH]; local 2582 FLAC__byte buffer[1024]; local 2618 FLAC__byte buffer[FLAC__STREAM_METADATA_SEEKPOINT_LENGTH]; local 2637 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2665 FLAC__byte buffer[1024]; \/* asserted below that this is big enough *\/ local 2760 FLAC__byte buffer[4]; \/* magic number is asserted below *\/ local 2980 FLAC__byte buffer[4]; local 3134 FLAC__byte buffer[8192]; local 3156 FLAC__byte buffer[8192]; local 3178 FLAC__byte buffer[8192]; local 3198 FLAC__byte buffer[8192]; local [all...] |
| /art/compiler/optimizing/ |
| liveness_test.cc | 31 std::ostream& buffer, 34 buffer << prefix; 35 buffer << '('; 37 buffer << vector->IsBitSet(i); 39 buffer << ")\n"; 56 std::ostringstream buffer; local 59 buffer << "Block " << block->GetBlockId() << std::endl; 62 DumpBitVector(live_in, buffer, ssa_values, " live in: "); 64 DumpBitVector(live_out, buffer, ssa_values, " live out: "); 66 DumpBitVector(kill, buffer, ssa_values, " kill: ") [all...] |
| /external/apache-harmony/support/src/test/java/tests/support/ |
| Support_Configuration.java | 224 StringBuffer key = new StringBuffer(), value = new StringBuffer(), buffer = key; local 237 buffer.append((char) unicode); 293 if (key.length() > 0 || buffer == value) { 298 buffer = key; 305 if (buffer == key) { 306 buffer = value; 316 if (buffer.length() == 0 || mode == IGNORE) { 319 if (buffer == key) { 330 buffer = value; 333 buffer.append((char) nextChar) [all...] |
| /external/chromium_org/base/ |
| sync_socket_posix.cc | 30 // Writes |length| of |buffer| into |handle|. Returns the number of bytes 33 const void* buffer, 38 const char* charbuffer = static_cast<const char*>(buffer); 118 size_t SyncSocket::Send(const void* buffer, size_t length) { 120 return SendHelper(handle_, buffer, length); 123 size_t SyncSocket::Receive(void* buffer, size_t length) { 128 char* charbuffer = static_cast<char*>(buffer); 134 size_t SyncSocket::ReceiveWithTimeout(void* buffer, 147 return Peek() < length ? 0 : Receive(buffer, length); 187 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read) [all...] |
| /external/chromium_org/content/browser/renderer_host/pepper/ |
| pepper_gamepad_host_unittest.cc | 53 // Hardware buffer. 61 EXPECT_EQ(AddressDiff(&content_buf.buffer, &content_buf), 62 AddressDiff(&ppapi_buf.buffer, &ppapi_buf)); 171 const ppapi::ContentGamepadHardwareBuffer* buffer = local 174 EXPECT_EQ(button_down_data.length, buffer->buffer.length); 176 buffer->buffer.items[0].buttons_length); 179 buffer->buffer.items[0].buttons[i].value) [all...] |
| /external/chromium_org/media/audio/win/ |
| wavein_input_win.cc | 18 // the WAVEHDR::dwUser variable. The last buffer points to the first buffer. 102 // Fix the first buffer to point to the last one. 127 WAVEHDR* buffer = buffer_; local 129 QueueNextPacket(buffer); 130 buffer = GetNextBuffer(buffer); 132 buffer = buffer_; 142 // Stopping is tricky. First, no buffer should be locked by the audio driver 240 void PCMWaveInAudioInputStream::QueueNextPacket(WAVEHDR *buffer) { 301 WAVEHDR* buffer = reinterpret_cast<WAVEHDR*>(param1); local [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/page/ |
| WindowFeatures.cpp | 80 String buffer = features.lower(); local 81 unsigned length = buffer.length(); 84 while (i < length && isWindowFeaturesSeparator(buffer[i])) 89 while (i < length && !isWindowFeaturesSeparator(buffer[i])) 96 while (i < length && buffer[i] != '=') { 97 if (buffer[i] == ',') 105 while (i < length && isWindowFeaturesSeparator(buffer[i])) { 106 if (buffer[i] == ',') 115 while (i < length && !isWindowFeaturesSeparator(buffer[i])) 121 String keyString(buffer.substring(keyBegin, keyEnd - keyBegin)) [all...] |