/bionic/libc/bionic/ |
libgen.cpp | 54 int basename_r(const char* path, char* buffer, size_t buffer_size) { 90 if (buffer == NULL) { 100 memcpy(buffer, startp, len); 101 buffer[len] = 0; 106 int dirname_r(const char* path, char* buffer, size_t buffer_size) { 148 if (buffer == NULL) { 159 memcpy(buffer, path, len); 160 buffer[len] = 0;
|
/cts/tests/src/android/os/cts/ |
FileUtils.java | 116 byte[] buffer = new byte[4096]; 118 while ((bytesRead = inputStream.read(buffer)) >= 0) { 119 out.write(buffer, 0, bytesRead); 140 byte[] buffer = new byte[numBytes]; 143 output.write(buffer); 151 byte[] buffer = new byte[32768]; 154 while ((count = is.read(buffer)) != -1) { 155 os.write(buffer, 0, count);
|
/development/host/windows/usb/api/ |
adb_legacy_endpoint_object.h | 60 @param[in,out] buffer Pointer to the buffer for read / write.
73 void* buffer,
82 @param[in,out] buffer Pointer to the buffer for read / write.
92 void* buffer,
|
/development/host/windows/usb/winusb/ |
adb_winusb_endpoint_object.h | 83 @param[in,out] buffer Pointer to the buffer for read / write.
96 void* buffer,
105 @param[in,out] buffer Pointer to the buffer for read / write.
115 void* buffer,
|
/development/ndk/platforms/android-3/include/linux/ |
xattr.h | 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
/external/apache-http/src/org/apache/http/impl/auth/ |
NTLMScheme.java | 91 final CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException { 92 String challenge = buffer.substringTrimmed(pos, len); 134 CharArrayBuffer buffer = new CharArrayBuffer(32); local 136 buffer.append(AUTH.PROXY_AUTH_RESP); 138 buffer.append(AUTH.WWW_AUTH_RESP); 140 buffer.append(": NTLM "); 141 buffer.append(response); 142 return new BufferedHeader(buffer);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
AVT.java | 182 FastStringBuffer buffer = null; local 185 buffer = StringBufferPool.get(); 188 buffer = new FastStringBuffer(6); 218 buffer.append(t); 234 buffer.append(lookahead); 251 if (buffer.length() > 0) 253 m_parts.addElement(new AVTPartSimple(buffer.toString())); 254 buffer.setLength(0); 306 buffer.setLength(0); 359 buffer.append(lookahead) [all...] |
/external/chromium/base/ |
sync_socket.h | 46 // buffer is a pointer to the data to send. 49 size_t Send(const void* buffer, size_t length); 52 // buffer is a pointer to the buffer to receive data. 55 size_t Receive(void* buffer, size_t length);
|
/external/chromium/chrome/browser/autofill/crypto/ |
rc4_decryptor.h | 34 scoped_array<wchar_t> buffer(new wchar_t[data.length() + 1]); 35 memset(buffer.get(), 0, (data.length() + 1) * sizeof(wchar_t)); 36 memcpy(buffer.get(), data.c_str(), data_size); 38 RunInternal(reinterpret_cast<uint8 *>(buffer.get()), data_size); 40 std::wstring result(buffer.get()); 43 memset(buffer.get(), 0, data_size); 80 void RunInternal(uint8 *buffer, int buffer_len) { 94 buffer[counter] ^= state[xor_index];
|
/external/chromium/crypto/ |
encryptor_nss.cc | 61 std::vector<unsigned char> buffer(ciphertext_len); 65 &buffer[0], 76 &buffer[op_len], 82 ciphertext->assign(reinterpret_cast<char *>(&buffer[0]), 99 std::vector<unsigned char> buffer(plaintext_len); 103 &buffer[0], 114 &buffer[op_len], 120 plaintext->assign(reinterpret_cast<char *>(&buffer[0]),
|
/external/chromium/net/spdy/ |
spdy_io_buffer.h | 23 // |buffer| is the actual data buffer. 24 // |size| is the size of the data buffer. 25 // |priority| is the priority of this buffer. Lower numbers are higher 27 // |stream| is a pointer to the stream which is managing this buffer. 28 SpdyIOBuffer(IOBuffer* buffer, int size, int priority, SpdyStream* stream); 33 DrainableIOBuffer* buffer() const { return buffer_; } function in class:net::SpdyIOBuffer
|
/external/easymock/src/org/easymock/internal/matchers/ |
CompareTo.java | 42 public void appendTo(StringBuffer buffer) {
43 buffer.append(getName() + "(" + expected + ")");
|
EqualsWithDelta.java | 43 public void appendTo(StringBuffer buffer) {
44 buffer.append("eq(" + expected + ", " + delta + ")");
|
Find.java | 38 public void appendTo(StringBuffer buffer) {
39 buffer.append("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")");
|
/external/freetype/src/base/ |
ftbitmap.c | 54 if ( source->buffer == NULL ) 65 if ( target->buffer ) 76 (void)FT_QREALLOC( target->buffer, target_size, size ); 79 (void)FT_QALLOC( target->buffer, size ); 86 p = target->buffer; 88 target->buffer = p; 90 FT_MEM_COPY( target->buffer, source->buffer, size ); 108 unsigned char* buffer = NULL; local 151 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 ) [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-normalize-private.hh | 33 #include "hb-buffer.h" 35 /* buffer var allocations, used during the normalization process */ 50 hb_buffer_t *buffer, 57 hb_buffer_t *buffer; member in struct:hb_ot_shape_normalize_context_t
|
hb-shape.h | 37 #include "hb-buffer.h" 64 hb_buffer_t *buffer, 70 hb_buffer_t *buffer,
|
/external/icu4c/i18n/ |
numsys.cpp | 114 char buffer[ULOC_KEYWORDS_CAPACITY]; local 115 int32_t count = inLocale.getKeywordValue("numbers",buffer, sizeof(buffer),status); 117 buffer[count] = '\0'; // Make sure it is null terminated. 118 if ( !uprv_strcmp(buffer,gDefault) || !uprv_strcmp(buffer,gNative) || 119 !uprv_strcmp(buffer,gTraditional) || !uprv_strcmp(buffer,gFinance)) { 123 uprv_strcpy(buffer,gDefault); 134 const UChar *nsName = ures_getStringByKeyWithFallback(numberElementsRes, buffer, &count, &localStatus) [all...] |
/external/icu4c/tools/genrb/ |
rle.h | 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
IndexByteBuffer.java | 35 import java.nio.Buffer; 47 public IndexByteBuffer(ByteBuffer buffer) { 48 this.buf = buffer; 67 public Buffer getBuffer() {
|
IndexShortBuffer.java | 35 import java.nio.Buffer; 47 public IndexShortBuffer(ShortBuffer buffer) { 48 this.buf = buffer; 67 public Buffer getBuffer() {
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
DateSerializer.java | 52 public void writeObject(ByteBuffer buffer, Object object) throws IOException { 53 buffer.putLong(((Date)object).getTime());
|
/external/jsilver/src/com/google/clearsilver/jsilver/output/ |
ThreadLocalOutputBufferProvider.java | 43 throw new IllegalStateException("Thread buffer is not free."); 52 public void release(Appendable buffer) { 53 if (buffer != pool.get()) { 54 throw new IllegalArgumentException("Can't release buffer that does not "
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
MediaRange.java | 112 public StringBuffer encode(StringBuffer buffer) { 113 return buffer.append(type)
|
RequestLine.java | 76 public StringBuffer encode(StringBuffer buffer) { 78 buffer.append(method); 79 buffer.append(SP); 82 uri.encode(buffer); 83 buffer.append(SP); 85 buffer.append(sipVersion); 86 buffer.append(NEWLINE); 87 return buffer;
|