HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 151 - 175 of 5537) sorted by null

1 2 3 4 5 67 8 91011>>

  /libcore/luni/src/main/java/java/io/
PipedReader.java 39 * The circular buffer through which data is passed. Data is read from the
41 * Data in the buffer is either sequential: <pre>
46 * ...or wrapped around the buffer's end: <pre>
51 * When the buffer is empty, {@code in == -1}. Reading when the buffer is
52 * empty will block until data is available. When the buffer is full,
53 * {@code in == out}. Writing when the buffer is full will block until free
56 private char[] buffer; field in class:PipedReader
59 * The index in {@code buffer} where the next character will be written.
64 * The index in {@code buffer} where the next character will be read
    [all...]
  /external/harfbuzz_ng/src/
hb-buffer-deserialize-text.hh 2 #line 1 "hb-buffer-deserialize-text.rl"
35 #line 36 "hb-buffer-deserialize-text.hh.tmp"
315 #line 91 "hb-buffer-deserialize-text.rl"
319 _hb_buffer_deserialize_glyphs_text (hb_buffer_t *buffer,
328 (void) hb_buffer_get_glyph_positions (buffer, NULL);
332 if (p < pe && *p == (buffer->len ? '|' : '['))
342 #line 343 "hb-buffer-deserialize-text.hh.tmp"
347 #line 348 "hb-buffer-deserialize-text.hh.tmp"
373 #line 51 "hb-buffer-deserialize-text.rl"
379 #line 55 "hb-buffer-deserialize-text.rl
    [all...]
hb-ot-shape.cc 215 hb_buffer_t *buffer; member in struct:hb_ot_shape_context_t
231 hb_set_unicode_props (hb_buffer_t *buffer)
233 unsigned int count = buffer->len;
235 _hb_glyph_info_set_unicode_props (&buffer->info[i], buffer->unicode);
239 hb_insert_dotted_circle (hb_buffer_t *buffer, hb_font_t *font)
241 if (!(buffer->flags & HB_BUFFER_FLAG_BOT) ||
242 _hb_glyph_info_get_general_category (&buffer->info[0]) !=
252 _hb_glyph_info_set_unicode_props (&dottedcircle, buffer->unicode);
254 buffer->clear_output ()
    [all...]
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/apache-http/src/org/apache/http/util/
ByteArrayBuffer.java 45 private byte[] buffer; field in class:ByteArrayBuffer
51 throw new IllegalArgumentException("Buffer capacity may not be negative");
53 this.buffer = new byte[capacity];
57 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)];
58 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len);
59 this.buffer = newbuffer;
74 if (newlen > this.buffer.length) {
77 System.arraycopy(b, off, this.buffer, this.len, len);
83 if (newlen > this.buffer.length) {
86 this.buffer[this.len] = (byte)b
143 public byte[] buffer() { method in class:ByteArrayBuffer
    [all...]
  /libcore/luni/src/main/java/java/net/
Socks4Message.java 55 protected byte[] buffer; field in class:Socks4Message
58 buffer = new byte[BUFFER_LENGTH];
66 return buffer[INDEX_COMMAND];
73 buffer[INDEX_COMMAND] = (byte) command;
80 return Memory.peekShort(buffer, INDEX_PORT, ByteOrder.BIG_ENDIAN);
87 Memory.pokeShort(buffer, INDEX_PORT, (short) port, ByteOrder.BIG_ENDIAN);
94 return Memory.peekInt(buffer, INDEX_IP, ByteOrder.BIG_ENDIAN);
101 buffer[INDEX_IP] = ip[0];
102 buffer[INDEX_IP + 1] = ip[1];
103 buffer[INDEX_IP + 2] = ip[2]
    [all...]
  /frameworks/base/core/java/android/net/
SntpClient.java 79 byte[] buffer = new byte[NTP_PACKET_SIZE];
80 DatagramPacket request = new DatagramPacket(buffer, buffer.length, address, NTP_PORT);
85 buffer[0] = NTP_MODE_CLIENT | (NTP_VERSION << 3);
90 writeTimeStamp(buffer, TRANSMIT_TIME_OFFSET, requestTime);
95 DatagramPacket response = new DatagramPacket(buffer, buffer.length);
101 long originateTime = readTimeStamp(buffer, ORIGINATE_TIME_OFFSET);
102 long receiveTime = readTimeStamp(buffer, RECEIVE_TIME_OFFSET);
103 long transmitTime = readTimeStamp(buffer, TRANSMIT_TIME_OFFSET)
    [all...]
  /external/webkit/Source/WebCore/platform/network/
FormDataBuilder.cpp 42 static inline void append(Vector<char>& buffer, char string)
44 buffer.append(string);
47 static inline void append(Vector<char>& buffer, const char* string)
49 buffer.append(string, strlen(string));
52 static inline void append(Vector<char>& buffer, const CString& string)
54 buffer.append(string.data(), string.length());
57 static void appendQuotedString(Vector<char>& buffer, const CString& string)
68 append(buffer, "%0A");
71 append(buffer, "%0D");
74 append(buffer, "%22")
    [all...]
  /external/icu4c/test/cintltst/
cstrcase.c 41 UChar buffer[32]; local
46 buffer[0]=0xabcd;
48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 ||
55 buffer[length]!=0
60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 &&
61 buffer[length]==0 ? "yes" : "no",
63 aescstrdup(buffer,-1));
66 /* lowercase with turkish locale and in the same buffer */
139 UChar buffer[32]; local
235 UChar buffer[32]; local
339 UChar buffer[32]; local
432 UChar buffer[32]; local
872 UChar buffer[32]; local
    [all...]
  /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/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/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/skia/legacy/include/effects/
SkMorphologyImageFilter.h 16 explicit SkMorphologyImageFilter(SkFlattenableReadBuffer& buffer);
20 virtual void flatten(SkFlattenableWriteBuffer& buffer) SK_OVERRIDE;
31 explicit SkDilateImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
36 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) {
37 return SkNEW_ARGS(SkDilateImageFilter, (buffer));
48 explicit SkErodeImageFilter(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
54 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) {
55 return SkNEW_ARGS(SkErodeImageFilter, (buffer));
    [all...]
  /external/skia/legacy/src/effects/
SkLayerRasterizer.cpp 146 static void paint_read(SkPaint* paint, SkFlattenableReadBuffer& buffer) {
147 paint->setAntiAlias(buffer.readBool());
148 paint->setStyle((SkPaint::Style)buffer.readU8());
149 paint->setAlpha(buffer.readU8());
152 paint->setStrokeWidth(buffer.readScalar());
153 paint->setStrokeMiter(buffer.readScalar());
154 paint->setStrokeCap((SkPaint::Cap)buffer.readU8());
155 paint->setStrokeJoin((SkPaint::Join)buffer.readU8());
158 SkSafeUnref(paint->setMaskFilter((SkMaskFilter*)buffer.readFlattenable()));
159 SkSafeUnref(paint->setPathEffect((SkPathEffect*)buffer.readFlattenable()))
    [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...]
  /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/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...]
  /frameworks/native/libs/gui/
Sensor.cpp 111 size_t write(void* buffer, size_t offset, const String8& value) {
112 memcpy(static_cast<char*>(buffer) + offset, value.string(), value.length());
117 size_t write(void* buffer, size_t offset, float value) {
118 *reinterpret_cast<float*>(static_cast<char*>(buffer) + offset) = value;
123 size_t write(void* buffer, size_t offset, int32_t value) {
124 *reinterpret_cast<int32_t*>(static_cast<char*>(buffer) + offset) = value;
128 status_t Sensor::flatten(void* buffer) const
131 offset += write(buffer, offset, int32_t(mName.length()));
132 offset += write(buffer, offset, mName);
133 offset += write(buffer, offset, int32_t(mVendor.length()))
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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...]
  /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,
  /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/
DefaultHttpClientConnection.java 76 StringBuffer buffer = new StringBuffer(); local
77 buffer.append("[");
79 buffer.append(getRemotePort());
81 buffer.append("closed");
83 buffer.append("]");
84 return buffer.toString();
DefaultHttpServerConnection.java 74 StringBuffer buffer = new StringBuffer(); local
75 buffer.append("[");
77 buffer.append(getRemotePort());
79 buffer.append("closed");
81 buffer.append("]");
82 return buffer.toString();
  /external/dropbear/
dss.h 29 #include "buffer.h"
47 void buf_put_dss_sign(buffer* buf, dss_key *key, const unsigned char* data,
50 int buf_dss_verify(buffer* buf, dss_key *key, const unsigned char* data,
53 int buf_get_dss_pub_key(buffer* buf, dss_key *key);
54 int buf_get_dss_priv_key(buffer* buf, dss_key *key);
55 void buf_put_dss_pub_key(buffer* buf, dss_key *key);
56 void buf_put_dss_priv_key(buffer* buf, dss_key *key);

Completed in 2107 milliseconds

1 2 3 4 5 67 8 91011>>