/external/e2fsprogs/ext2ed/ |
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/ |
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, 57 memcmp(buffer, prefix, prefix_size) == 0); 60 // Helper function to do buffer comparisons with another buffer (to allow fo [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
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[currentBufferSize-2] != '\n') [all...] |
/external/chromium/chrome/browser/importer/ |
firefox_importer_utils_win.cc | 46 wchar_t buffer[MAX_PATH]; local 47 DWORD buffer_length = sizeof(buffer); 50 LONG result = reg_key.ReadValue(L"CurrentVersion", buffer, 55 registry_path += L"\\" + std::wstring(buffer) + L"\\Main"; 56 buffer_length = sizeof(buffer); 59 result = reg_key_directory.ReadValue(L"Install Directory", buffer, 62 return (result != ERROR_SUCCESS) ? FilePath() : FilePath(buffer); 69 wchar_t buffer[MAX_PATH] = {0}; local 71 SHGFP_TYPE_CURRENT, buffer))) { 72 ini_file = FilePath(buffer).Append(L"Mozilla\\Firefox\\profiles.ini") [all...] |
/external/chromium_org/content/renderer/ |
clipboard_client.h | 36 virtual uint64 GetSequenceNumber(ui::Clipboard::Buffer buffer) = 0; 40 ui::Clipboard::Buffer buffer) = 0; 43 virtual void Clear(ui::Clipboard::Buffer buffer) = 0; 46 virtual void ReadAvailableTypes(ui::Clipboard::Buffer buffer, 51 virtual void ReadText(ui::Clipboard::Buffer buffer, [all...] |
renderer_clipboard_client.h | 20 virtual uint64 GetSequenceNumber(ui::Clipboard::Buffer buffer) OVERRIDE; 22 ui::Clipboard::Buffer buffer) OVERRIDE; 23 virtual void Clear(ui::Clipboard::Buffer buffer) OVERRIDE; 24 virtual void ReadAvailableTypes(ui::Clipboard::Buffer buffer, 27 virtual void ReadText(ui::Clipboard::Buffer buffer, [all...] |
/external/chromium_org/third_party/icu/source/common/ |
cmemory.c | 53 uprv_realloc(void * buffer, size_t size) { 54 if (buffer == zeroMem) { 58 (*pFree)(pContext, buffer); 60 free(buffer); 66 return (*pRealloc)(pContext, buffer, size); 68 return realloc(buffer, size); 74 uprv_free(void *buffer) { 75 if (buffer != zeroMem) { 77 (*pFree)(pContext, buffer); 79 free(buffer); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_vertex_buffers.h | 116 bool vl_vb_init(struct vl_vertex_buffer *buffer, 120 unsigned vl_vb_attributes_per_plock(struct vl_vertex_buffer *buffer); 122 void vl_vb_map(struct vl_vertex_buffer *buffer, struct pipe_context *pipe); 124 struct pipe_vertex_buffer vl_vb_get_ycbcr(struct vl_vertex_buffer *buffer, int component); 126 struct vl_ycbcr_block *vl_vb_get_ycbcr_stream(struct vl_vertex_buffer *buffer, int component); 128 struct pipe_vertex_buffer vl_vb_get_mv(struct vl_vertex_buffer *buffer, int ref_frame); 130 unsigned vl_vb_get_mv_stream_stride(struct vl_vertex_buffer *buffer); 132 struct vl_motionvector *vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame); 134 void vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe); 136 void vl_vb_cleanup(struct vl_vertex_buffer *buffer); [all...] |
vl_vertex_buffers.c | 49 /* create buffer */ 52 quad.buffer = pipe_buffer_create 61 if(!quad.buffer) 68 quad.buffer, 94 /* create buffer */ 97 pos.buffer = pipe_buffer_create 106 if(!pos.buffer) 113 pos.buffer, 208 vl_vb_init(struct vl_vertex_buffer *buffer, struct pipe_context *pipe, 213 assert(buffer); [all...] |
/external/mdnsresponder/mDNSShared/ |
mDNSDebug.c | 55 char buffer[512]; local 58 buffer[mDNS_vsnprintf(buffer, sizeof(buffer), format, ptr)] = 0; 60 mDNSPlatformWriteDebugMsg(buffer); 67 char buffer[512]; local 68 buffer[mDNS_vsnprintf((char *)buffer, sizeof(buffer), format, ptr)] = 0; 69 mDNSPlatformWriteLogMsg(ProgramName, buffer, logLevel) [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_vertex_buffers.h | 116 bool vl_vb_init(struct vl_vertex_buffer *buffer, 120 unsigned vl_vb_attributes_per_plock(struct vl_vertex_buffer *buffer); 122 void vl_vb_map(struct vl_vertex_buffer *buffer, struct pipe_context *pipe); 124 struct pipe_vertex_buffer vl_vb_get_ycbcr(struct vl_vertex_buffer *buffer, int component); 126 struct vl_ycbcr_block *vl_vb_get_ycbcr_stream(struct vl_vertex_buffer *buffer, int component); 128 struct pipe_vertex_buffer vl_vb_get_mv(struct vl_vertex_buffer *buffer, int ref_frame); 130 unsigned vl_vb_get_mv_stream_stride(struct vl_vertex_buffer *buffer); 132 struct vl_motionvector *vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame); 134 void vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe); 136 void vl_vb_cleanup(struct vl_vertex_buffer *buffer); [all...] |
vl_vertex_buffers.c | 49 /* create buffer */ 52 quad.buffer = pipe_buffer_create 61 if(!quad.buffer) 68 quad.buffer, 94 /* create buffer */ 97 pos.buffer = pipe_buffer_create 106 if(!pos.buffer) 113 pos.buffer, 208 vl_vb_init(struct vl_vertex_buffer *buffer, struct pipe_context *pipe, 213 assert(buffer); [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
MetadataMarshalRect.java | 26 public int marshal(Rect value, ByteBuffer buffer, int nativeType, boolean sizeOnly) { 31 buffer.putInt(value.left); 32 buffer.putInt(value.top); 33 buffer.putInt(value.width()); 34 buffer.putInt(value.height()); 40 public Rect unmarshal(ByteBuffer buffer, int nativeType) { 42 int left = buffer.getInt(); 43 int top = buffer.getInt(); 44 int width = buffer.getInt(); 45 int height = buffer.getInt() [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
CharacterDataImpl.java | 35 protected StringBuffer buffer; field in class:CharacterDataImpl 43 buffer.append(arg); 47 buffer.delete(offset, offset + count); 51 return buffer.toString(); 58 stringBuilder.append(buffer); 62 return buffer.length(); 72 buffer.insert(offset, arg); 81 buffer.replace(offset, offset + count, arg); 88 buffer = new StringBuffer(data); 93 return buffer.substring(offset, offset + count) [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-shape-fallback.cc | 167 hb_buffer_t *buffer) 169 unsigned int count = buffer->len; 171 if (_hb_glyph_info_get_general_category (&buffer->info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) { 172 unsigned int combining_class = _hb_glyph_info_get_modified_combining_class (&buffer->info[i]); 173 combining_class = recategorize_combining_class (buffer->info[i].codepoint, combining_class); 174 _hb_glyph_info_set_modified_combining_class (&buffer->info[i], combining_class); 180 zero_mark_advances (hb_buffer_t *buffer, 185 if (_hb_glyph_info_get_general_category (&buffer->info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) 187 buffer->pos[i].x_advance = 0; 188 buffer->pos[i].y_advance = 0 [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-fallback.cc | 167 hb_buffer_t *buffer) 169 unsigned int count = buffer->len; 171 if (_hb_glyph_info_get_general_category (&buffer->info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) { 172 unsigned int combining_class = _hb_glyph_info_get_modified_combining_class (&buffer->info[i]); 173 combining_class = recategorize_combining_class (buffer->info[i].codepoint, combining_class); 174 _hb_glyph_info_set_modified_combining_class (&buffer->info[i], combining_class); 180 zero_mark_advances (hb_buffer_t *buffer, 185 if (_hb_glyph_info_get_general_category (&buffer->info[i]) == HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK) 187 buffer->pos[i].x_advance = 0; 188 buffer->pos[i].y_advance = 0 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileWriter.java | 85 byte[] buffer = readTraceData(mInputStream); 86 if (buffer == null) { 91 writeTraceData(buffer, mOutputStream); 96 updateTraceStats(buffer); 110 byte[] buffer = new byte[len]; 114 int read = dis.read(buffer, readLen, len - readLen); 125 return buffer; 129 private void writeTraceData(byte[] buffer, DataOutputStream stream) throws IOException { 130 stream.writeInt(buffer.length); 131 stream.write(buffer); [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FsInfoSector.java | 145 buffer.position(0x00); 146 buffer.put((byte) 0x52); 147 buffer.put((byte) 0x52); 148 buffer.put((byte) 0x61); 149 buffer.put((byte) 0x41); 153 buffer.position(0x1e4); 154 buffer.put((byte) 0x72); 155 buffer.put((byte) 0x72); 156 buffer.put((byte) 0x41); 157 buffer.put((byte) 0x61) [all...] |
/external/chromium_org/net/base/ |
address_tracker_linux_unittest.cc | 17 typedef std::vector<char> Buffer; 25 bool HandleAddressMessage(const Buffer& buf) { 34 bool HandleLinkMessage(const Buffer& buf) { 80 void AppendTo(Buffer* output) const { 103 Buffer buffer_; 111 Buffer* output) { 124 void MakeLinkMessage(uint16 type, uint32 flags, uint32 index, Buffer* output) { 149 Buffer buffer; local 151 &buffer); 180 Buffer buffer; local 213 Buffer buffer; local 234 Buffer buffer; local 268 Buffer buffer; local 294 Buffer buffer; local 334 Buffer buffer; local [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 105 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 106 buffer.append(value); 108 return parser.parseElements(buffer, cursor); 113 public HeaderElement[] parseElements(final CharArrayBuffer buffer, 116 if (buffer == null) { 117 throw new IllegalArgumentException("Char array buffer may not be null"); 125 HeaderElement element = parseHeaderElement(buffer, cursor); 156 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 157 buffer.append(value); 159 return parser.parseHeaderElement(buffer, cursor) 221 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 291 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
HandshakeIODataStream.java | 56 * or incompleate filling of destination buffer) 83 // buffer is used to keep the handshaking data; 86 private byte[] buffer = new byte[buff_size]; field in class:HandshakeIODataStream 124 * to delete one message from the internal buffer. 127 System.arraycopy(buffer, read_pos, 128 buffer, marked_pos, read_pos_end - read_pos); 144 return buffer[read_pos++] & 0xFF; 158 System.arraycopy(buffer, read_pos, res, 0, length); 168 System.arraycopy(buffer, read_pos, dst, offset, length); 177 * The attempts to overflow the buffer by means of this method [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
buffer_manager_unittest.cc | 44 GLenum GetTarget(const Buffer* buffer) const { 45 return buffer->target(); 49 Buffer* buffer, GLsizeiptr size, GLenum usage, const GLvoid* data, 53 buffer, size, usage, data, error); 57 Buffer* buffer, GLintptr offset, GLsizeiptr size, 60 if (!buffer->CheckRange(offset, size)) { 65 } else if (!buffer->IsClientSideArray()) 198 Buffer* buffer = manager_->GetBuffer(kClientBufferId); local 220 Buffer* buffer = manager_->GetBuffer(kClientBufferId); local 246 Buffer* buffer = manager_->GetBuffer(kClientBufferId); local 282 Buffer* buffer = manager_->GetBuffer(kClientBufferId); local 321 Buffer* buffer = manager_->GetBuffer(kClientBufferId); local 360 scoped_refptr<Buffer> buffer = manager_->GetBuffer(kClientBufferId); local 380 Buffer* buffer = manager_->GetBuffer(kClientBufferId); local 397 Buffer* buffer = manager_->GetBuffer(kClientBufferId); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_pipe_draw.c | 73 if (vb->buffer && svga_buffer_is_user_buffer(vb->buffer)) { 74 struct svga_buffer *buffer = svga_buffer(vb->buffer); local 76 pipe_resource_reference(&buffer->uploaded.buffer, NULL); 77 buffer->uploaded.start = ~0; 78 buffer->uploaded.end = 0; 86 if (vb->buffer && svga_buffer_is_user_buffer(vb->buffer)) { 87 struct svga_buffer *buffer = svga_buffer(vb->buffer); local 133 struct svga_buffer *buffer = svga_buffer(vb->buffer); local 195 struct svga_buffer *buffer = svga_buffer(vb->buffer); local [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_draw.c | 73 if (vb->buffer && svga_buffer_is_user_buffer(vb->buffer)) { 74 struct svga_buffer *buffer = svga_buffer(vb->buffer); local 76 pipe_resource_reference(&buffer->uploaded.buffer, NULL); 77 buffer->uploaded.start = ~0; 78 buffer->uploaded.end = 0; 86 if (vb->buffer && svga_buffer_is_user_buffer(vb->buffer)) { 87 struct svga_buffer *buffer = svga_buffer(vb->buffer); local 133 struct svga_buffer *buffer = svga_buffer(vb->buffer); local 195 struct svga_buffer *buffer = svga_buffer(vb->buffer); local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexAnnotationAttributeImpl.java | 29 private DexBuffer buffer; field in class:DexAnnotationAttributeImpl 34 public DexAnnotationAttributeImpl(DexBuffer buffer, 37 this.buffer = buffer; 46 nameIdx = buffer.readUleb128(); 47 value = new DexEncodedValueImpl(buffer, annotation, typeIds,
|