HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 351 - 375 of 9473) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/main/java/javax/xml/parsers/
FilePathToURI.java 64 StringBuilder buffer = new StringBuilder(len*3); local
65 buffer.append("file://");
70 buffer.append('/');
82 buffer.append('%');
83 buffer.append(gAfterEscaping1[ch]);
84 buffer.append(gAfterEscaping2[ch]);
88 buffer.append((char)ch);
111 buffer.append('%');
112 buffer.append(gHexChs[ch >> 4]);
113 buffer.append(gHexChs[ch & 0xf])
    [all...]
  /libcore/luni/src/main/java/javax/xml/transform/stream/
FilePathToURI.java 64 StringBuilder buffer = new StringBuilder(len*3); local
65 buffer.append("file://");
70 buffer.append('/');
82 buffer.append('%');
83 buffer.append(gAfterEscaping1[ch]);
84 buffer.append(gAfterEscaping2[ch]);
88 buffer.append((char)ch);
111 buffer.append('%');
112 buffer.append(gHexChs[ch >> 4]);
113 buffer.append(gHexChs[ch & 0xf])
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Posix.java 95 public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
96 if (buffer.isDirect()) {
97 return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
99 return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
106 private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException
    [all...]
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...]
  /build/tools/fs_config/
fs_config.c 75 char buffer[1024]; local
98 while (fgets(buffer, 1023, stdin) != NULL) {
101 for (i = 0; i < 1024 && buffer[i]; ++i) {
102 switch (buffer[i]) {
104 buffer[i-is_dir] = '\0';
118 fs_config(buffer, is_dir, &uid, &gid, &mode, &capabilities);
119 printf("%s %d %d %o", buffer, uid, gid, mode);
122 size_t buffer_strlen = strnlen(buffer, sizeof(buffer));
123 if (buffer_strlen >= sizeof(buffer)) {
    [all...]
  /external/chromium_org/chrome/browser/nacl_host/
nacl_validation_cache.cc 91 std::string buffer; local
95 if (!iter.ReadString(&buffer))
97 if (0 != buffer.compare(kValidationCacheBeginMagic))
101 if (!iter.ReadString(&buffer))
103 if (buffer.size() != kValidationCacheKeySize)
106 validation_cache_key_ = buffer;
113 if (!iter.ReadString(&buffer))
115 if (buffer.size() != kValidationCacheEntrySize)
117 validation_cache_.Put(buffer, true);
121 if (!iter.ReadString(&buffer))
    [all...]
  /external/chromium_org/third_party/icu/source/io/
sscanf.c 34 u_sscanf(const UChar *buffer,
42 converted = u_vsscanf(buffer, patternSpecification, ap);
49 u_sscanf_u(const UChar *buffer,
57 converted = u_vsscanf_u(buffer, patternSpecification, ap);
64 u_vsscanf(const UChar *buffer,
86 converted = u_vsscanf_u(buffer, pattern, ap);
97 u_vsscanf_u(const UChar *buffer,
111 inStr.str.fBuffer = (UChar *)buffer;
112 inStr.str.fPos = (UChar *)buffer;
113 inStr.str.fLimit = buffer + u_strlen(buffer)
    [all...]
  /external/e2fsprogs/lib/ss/
list_rqs.c 33 char buffer[BUFSIZ]; local
57 buffer[0] = '\0';
62 strncat(buffer, *name, len);
65 strcat(buffer, ", ");
69 strcat(buffer, NL);
70 fputs(buffer, output);
72 buffer[0] = '\0';
74 strncat(buffer, twentyfive_spaces, 25-spacing);
75 strcat(buffer, entry->info_string);
76 strcat(buffer, NL)
    [all...]
  /external/icu4c/io/
sscanf.c 34 u_sscanf(const UChar *buffer,
42 converted = u_vsscanf(buffer, patternSpecification, ap);
49 u_sscanf_u(const UChar *buffer,
57 converted = u_vsscanf_u(buffer, patternSpecification, ap);
64 u_vsscanf(const UChar *buffer,
86 converted = u_vsscanf_u(buffer, pattern, ap);
97 u_vsscanf_u(const UChar *buffer,
111 inStr.str.fBuffer = (UChar *)buffer;
112 inStr.str.fPos = (UChar *)buffer;
113 inStr.str.fLimit = buffer + u_strlen(buffer)
    [all...]
  /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/chromium_org/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...]
  /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));
  /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/chromium_org/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/chromium_org/device/bluetooth/
bluetooth_socket.h 27 // Receives data from the socket and stores it in |buffer|. It returns whether
30 virtual bool Receive(net::GrowableIOBuffer* buffer) = 0;
32 // Sends |buffer| to the socket. It returns whether the sending has been
35 virtual bool Send(net::DrainableIOBuffer* buffer) = 0;
  /external/chromium_org/media/mp4/
avc.h 20 static bool ConvertFrameToAnnexB(int length_size, std::vector<uint8>* buffer);
24 std::vector<uint8>* buffer);
  /external/chromium_org/net/base/
test_data_stream.h 21 // Fill |buffer| with |length| bytes of data from the stream.
22 void GetBytes(char* buffer, int length);
24 // Verify that |buffer| contains the expected next |length| bytes from the
26 bool VerifyBytes(const char *buffer, int length);
33 // index and fill the buffer.
36 // Consume data from the spill buffer.
  /external/chromium_org/net/quic/crypto/
null_decrypter.cc 34 // TODO(rch): avoid buffer copy here
35 string buffer = associated_data.as_string(); local
36 plaintext.AppendToString(&buffer);
38 if (hash != QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length())) {
60 // TODO(rch): avoid buffer copy here
61 string buffer = associated_data.as_string(); local
62 plaintext.AppendToString(&buffer);
64 if (hash != QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length()))
    [all...]

Completed in 1396 milliseconds

<<11121314151617181920>>