HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 251 - 275 of 5558) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/java/android/net/dhcp/
DhcpAckPacket.java 73 void finishPacket(ByteBuffer buffer) {
74 addTlv(buffer, DHCP_MESSAGE_TYPE, DHCP_MESSAGE_TYPE_ACK);
75 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier);
76 addTlv(buffer, DHCP_LEASE_TIME, mLeaseTime);
80 addTlv(buffer, DHCP_RENEWAL_TIME,
84 addTlv(buffer, DHCP_SUBNET_MASK, mSubnetMask);
85 addTlv(buffer, DHCP_ROUTER, mGateway);
86 addTlv(buffer, DHCP_DOMAIN_NAME, mDomainName);
87 addTlv(buffer, DHCP_BROADCAST_ADDRESS, mBroadcastAddress);
88 addTlv(buffer, DHCP_DNS_SERVER, mDnsServers)
    [all...]
DhcpOfferPacket.java 75 void finishPacket(ByteBuffer buffer) {
76 addTlv(buffer, DHCP_MESSAGE_TYPE, DHCP_MESSAGE_TYPE_OFFER);
77 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier);
78 addTlv(buffer, DHCP_LEASE_TIME, mLeaseTime);
82 addTlv(buffer, DHCP_RENEWAL_TIME,
86 addTlv(buffer, DHCP_SUBNET_MASK, mSubnetMask);
87 addTlv(buffer, DHCP_ROUTER, mGateway);
88 addTlv(buffer, DHCP_DOMAIN_NAME, mDomainName);
89 addTlv(buffer, DHCP_BROADCAST_ADDRESS, mBroadcastAddress);
90 addTlv(buffer, DHCP_DNS_SERVER, mDnsServers)
    [all...]
  /external/chromium/third_party/libevent/
buffer.c 71 struct evbuffer *buffer; local
73 buffer = calloc(1, sizeof(struct evbuffer));
75 return (buffer);
79 evbuffer_free(struct evbuffer *buffer)
81 if (buffer->orig_buffer != NULL)
82 free(buffer->orig_buffer);
83 free(buffer);
87 * This is a destructive add. The data from one buffer moves into
88 * the other buffer.
92 (x)->buffer = (y)->buffer;
139 char *buffer; local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/model/
PerformanceResultsElement.java 223 StringBuffer buffer = new StringBuffer(); local
225 buffer.append("Status for ");
226 buffer.append(getPerformanceResults().getName());
227 buffer.append(Util.LINE_SEPARATOR);
230 buffer.append("Options: ");
231 buffer.append(Util.LINE_SEPARATOR);
234 buffer.append(" error level: ");
237 buffer.append("include all failures whatever the error level is");
240 buffer.append("all failures with at least a noticeable error (> 3%) are excluded!");
243 buffer.append("all failures with at least a suspicious error (> 25%) are excluded!")
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/text/
AtomicString.cpp 202 static unsigned hash(const HashAndCharacters& buffer)
204 ASSERT(buffer.hash == StringHasher::computeHash(buffer.characters, buffer.length));
205 return buffer.hash;
208 static bool equal(StringImpl* const& string, const HashAndCharacters& buffer)
210 return WTF::equal(string, buffer.characters, buffer.length);
213 static void translate(StringImpl*& location, const HashAndCharacters& buffer, unsigned hash)
215 location = StringImpl::create(buffer.characters, buffer.length).leakRef()
356 HashAndUTF8Characters buffer; local
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Streams.java 40 byte[] buffer = new byte[1];
41 int result = in.read(buffer, 0, 1);
42 return (result != -1) ? buffer[0] & 0xff : -1;
51 byte[] buffer = new byte[1];
52 buffer[0] = (byte) (b & 0xff);
53 out.write(buffer);
106 byte[] buffer = new byte[1024];
108 while ((count = in.read(buffer)) != -1) {
109 bytes.write(buffer, 0, count);
120 char[] buffer = new char[1024] local
    [all...]
  /bionic/libc/include/
libgen.h 42 * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned
43 * otherwise, place result in 'buffer'
49 * ERANGE: buffer is too short
52 extern int dirname_r(const char* path, char* buffer, size_t bufflen);
53 extern int basename_r(const char* path, char* buffer, size_t bufflen);
  /cts/tools/dex-tools/src/dex/reader/
DexParameterImpl.java 31 private final DexBuffer buffer; field in class:DexParameterImpl
36 public DexParameterImpl(DexBuffer buffer, String typeName,
39 this.buffer = buffer;
51 buffer.setPosition(annotationOffset);
52 final int size = buffer.readUInt();
54 annotations.add(new DexAnnotationImpl(buffer.createCopy(),
55 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
  /dalvik/dx/src/com/android/dx/io/
ClassDef.java 24 private final DexBuffer buffer; field in class:ClassDef
35 public ClassDef(DexBuffer buffer, int offset, int typeIndex, int accessFlags,
38 this.buffer = buffer;
67 return buffer.readTypeList(interfacesOffset).getTypes();
91 if (buffer == null) {
96 result.append(buffer.typeNames().get(typeIndex));
98 result.append(" extends ").append(buffer.typeNames().get(supertypeIndex));
ProtoId.java 22 private final DexBuffer buffer; field in class:ProtoId
27 public ProtoId(DexBuffer buffer, int shortyIndex, int returnTypeIndex, int parametersOffset) {
28 this.buffer = buffer;
60 if (buffer == null) {
64 return buffer.strings().get(shortyIndex)
65 + ": " + buffer.typeNames().get(returnTypeIndex)
66 + " " + buffer.readTypeList(parametersOffset);
  /development/host/windows/usb/api/
adb_endpoint_object.cpp 50 ADBAPIHANDLE AdbEndpointObject::AsyncRead(void* buffer,
56 buffer,
63 ADBAPIHANDLE AdbEndpointObject::AsyncWrite(void* buffer,
69 buffer,
76 bool AdbEndpointObject::SyncRead(void* buffer,
81 buffer,
87 bool AdbEndpointObject::SyncWrite(void* buffer,
92 buffer,
  /development/ndk/platforms/android-3/include/
libgen.h 42 * if 'buffer' is NULL, 'bufflen' is ignored and the length of the result is returned
43 * otherwise, place result in 'buffer'
49 * ERANGE: buffer is too short
52 extern int dirname_r(const char* path, char* buffer, size_t bufflen);
53 extern int basename_r(const char* path, char* buffer, size_t bufflen);
  /external/apache-http/src/org/apache/http/message/
BasicLineFormatter.java 81 * Obtains a buffer for formatting.
83 * @param buffer a buffer already available, or <code>null</code>
85 * @return the cleared argument buffer if there is one, or
86 * a new empty buffer that can be used for formatting
88 protected CharArrayBuffer initBuffer(CharArrayBuffer buffer) {
89 if (buffer != null) {
90 buffer.clear();
92 buffer = new CharArrayBuffer(64);
94 return buffer;
    [all...]
  /external/chromium/base/allocator/
unittest_utils.cc 10 inline int snprintf(char* buffer, size_t count, const char* format, ...) {
14 result = _vsnprintf(buffer, count, format, args);
  /external/easymock/src/org/easymock/internal/matchers/
Any.java 36 public void appendTo(StringBuffer buffer) {
37 buffer.append("<any>");
NotNull.java 36 public void appendTo(StringBuffer buffer) {
37 buffer.append("notNull()");
Null.java 35 public void appendTo(StringBuffer buffer) {
36 buffer.append("isNull()");
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
TrackReferenceTypeBox.java 65 StringBuilder buffer = new StringBuilder(); local
66 buffer.append("TrackReferenceTypeBox[type=").append(getType());
68 buffer.append(";trackId");
69 buffer.append(i);
70 buffer.append("=");
71 buffer.append(trackIds[i]);
73 buffer.append("]");
74 return buffer.toString();
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
BitReaderBuffer.java 7 private ByteBuffer buffer; field in class:BitReaderBuffer
11 public BitReaderBuffer(ByteBuffer buffer) {
12 this.buffer = buffer;
13 initialPos = buffer.position();
17 byte b = buffer.get(initialPos + position / 8);
31 buffer.position(initialPos + (int) Math.ceil((double) position / 8));
49 return buffer.limit() * 8 - position;
  /external/nist-sip/java/gov/nist/javax/sip/header/
SubscriptionState.java 170 protected StringBuffer encodeBody(StringBuffer buffer) {
172 buffer.append(state);
174 buffer.append(";reason=").append(reasonCode);
176 buffer.append(";expires=").append(expires);
178 buffer.append(";retry-after=").append(retryAfter);
181 buffer.append(SEMICOLON);
182 parameters.encode(buffer);
184 return buffer;
  /external/oprofile/libutil/
op_growable_buffer.h 3 * a growable buffer interface
23 * init_buffer - initialize an empty buffer
24 * @param buffer the buffer to initialize
29 void init_buffer(struct growable_buffer * buffer);
32 * free_buffer - free the memory allocated for this buffer
33 * @param buffer the buffer to free
35 void free_buffer(struct growable_buffer * buffer);
38 * add_data - add data to this buffer
    [all...]
  /external/skia/include/effects/
SkStippleMaskFilter.h 33 SkStippleMaskFilter(SkFlattenableReadBuffer& buffer)
34 : SkMaskFilter(buffer) {
  /external/skia/legacy/include/core/
SkDrawLooper.h 64 SkDrawLooper(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
SkPathEffect.h 84 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) {
85 return SkNEW_ARGS(SkComposePathEffect, (buffer));
92 SkComposePathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
119 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer) {
120 return SkNEW_ARGS(SkSumPathEffect, (buffer));
127 SkSumPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {}
  /external/smack/src/org/jivesoftware/smackx/provider/
XHTMLExtensionProvider.java 54 StringBuilder buffer = new StringBuilder(); local
62 buffer = new StringBuilder();
66 buffer.append(parser.getText());
68 if (buffer != null) {
70 buffer.append(StringUtils.escapeForXML(parser.getText()));
74 buffer.append(parser.getText());
75 xhtmlExtension.addBody(buffer.toString());
85 buffer.append(parser.getText());

Completed in 963 milliseconds

<<11121314151617181920>>