/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/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,
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/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,
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/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,
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/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,
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/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,
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/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,
|
/system/core/nexus/ |
PropertyManager.h | 40 const char *get(const char *name, char *buffer, size_t max); 46 int doGet(Property *p, int idx, char *buffer, size_t max);
|
/external/chromium/third_party/icu/source/common/ |
normlzr.cpp | 33 buffer(), bufferPos(0) 41 buffer(), bufferPos(0) 49 buffer(), bufferPos(0) 57 buffer(copy.buffer), bufferPos(copy.bufferPos) 104 return ((CharacterIterator *)(text->context))->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; 114 buffer==that.buffer && 144 UChar *buffer=dest->getBuffer(source.length()); local 145 int32_t length=unorm_internalNormalize(buffer, dest->getCapacity() 190 UChar *buffer=dest->getBuffer(source.length()); local 236 UChar *buffer=dest->getBuffer(source.length()); local 282 UChar *buffer=dest->getBuffer(left.length()+right.length()); local [all...] |
/external/webkit/WebCore/platform/image-decoders/gif/ |
GIFImageDecoder.cpp | 205 // Initialize the frame rect in our buffer. 209 // Make sure the frameRect doesn't extend past the bottom-right of the buffer. 215 RGBA32Buffer* const buffer = &m_frameBufferCache[frameIndex]; local 220 buffer->setRect(IntRect(left, top, right - left, bottom - top)); 224 if (!buffer->setSize(scaledSize().width(), scaledSize().height())) { 250 buffer->copyBitmapData(*prevBuffer); 260 if (!buffer->setSize(bufferSize.width(), bufferSize.height())) { 265 // Copy the whole previous buffer, then clear just its frame. 266 buffer->copyBitmapData(*prevBuffer); 269 buffer->setRGBA(x, y, 0, 0, 0, 0) 355 RGBA32Buffer& buffer = m_frameBufferCache[frameIndex]; local [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
ARTPWriter.cpp | 176 static void StripStartcode(MediaBuffer *buffer) { 177 if (buffer->range_length() < 4) { 182 (const uint8_t *)buffer->data() + buffer->range_offset(); 185 buffer->set_range( 186 buffer->range_offset() + 4, buffer->range_length() - 4); 198 MediaBuffer *buffer; 199 CHECK_EQ(mSource->read(&buffer), (status_t)OK); 201 StripStartcode(buffer); 299 sp<ABuffer> buffer = new ABuffer(65536); local 555 sp<ABuffer> buffer = new ABuffer(8); local 582 sp<ABuffer> buffer = new ABuffer(kMaxPacketSize); local 686 sp<ABuffer> buffer = new ABuffer(kMaxPacketSize); local 773 sp<ABuffer> buffer = new ABuffer(kMaxPacketSize); local [all...] |
UDPPusher.cpp | 82 sp<ABuffer> buffer = new ABuffer(length); local 83 if (fread(buffer->data(), 1, length, mFile) < length) { 89 mSocket, buffer->data(), buffer->size(), 0, 92 CHECK_EQ(n, (ssize_t)buffer->size()); 118 sp<ABuffer> buffer = new ABuffer(8); local 119 uint8_t *data = buffer->data(); 128 buffer->setRange(0, 8); 134 mSocket, buffer->data(), buffer->size(), 0 [all...] |
/external/zlib/contrib/untgz/ |
untgz.c | 91 char buffer[BLOCKSIZE]; member in union:tar_buffer 134 static char buffer[1024]; local 137 strcpy(buffer,arcname); 138 origlen = strlen(buffer); 142 strcpy(buffer+origlen,TGZsuffix[i]); 143 if (access(buffer,F_OK) == 0) 144 return buffer; 330 char *buffer = strdup(newdir); local 332 int len = strlen(buffer); 335 free(buffer); 388 union tar_buffer buffer; local [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
URLCodec.java | 120 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local 130 buffer.write(b); 132 buffer.write('%'); 137 buffer.write(hex1); 138 buffer.write(hex2); 141 return buffer.toByteArray(); 160 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local 164 buffer.write(' '); 172 buffer.write((char)((u << 4) + l)); 177 buffer.write(b) [all...] |
/external/openssl/crypto/bio/ |
b_print.c | 135 static void _dopr(char **sbuffer, char **buffer, 171 char **buffer, 195 if (ch == '\0' || (buffer == NULL && currlen >= *maxlen)) 203 doapr_outch(sbuffer,buffer, &currlen, maxlen, ch); 309 fmtint(sbuffer, buffer, &currlen, maxlen, 335 fmtint(sbuffer, buffer, &currlen, maxlen, value, 344 fmtfp(sbuffer, buffer, &currlen, maxlen, 364 doapr_outch(sbuffer, buffer, &currlen, maxlen, 370 if (buffer) 375 fmtstr(sbuffer, buffer, &currlen, maxlen, strvalue [all...] |
/external/qemu/hw/ |
goldfish_battery.c | 89 // return current buffer status flags 206 char buffer[100]; local 209 sprintf(buffer, "AC: %s\r\n", (battery_state->ac_online ? "online" : "offline")); 210 callback(data, buffer); 229 sprintf(buffer, "status: %s\r\n", value); 230 callback(data, buffer); 252 sprintf(buffer, "health: %s\r\n", value); 253 callback(data, buffer); 255 sprintf(buffer, "present: %s\r\n", (battery_state->present ? "true" : "false")); 256 callback(data, buffer); [all...] |
/external/webkit/JavaScriptCore/wtf/ |
Assertions.cpp | 64 char* buffer = (char*)malloc(length + 1); local 66 CFStringGetCString(str, buffer, length, kCFStringEncodingUTF8); 68 fputs(buffer, stderr); 70 free(buffer); 79 char* buffer = (char*)malloc(size); 81 if (buffer == NULL) 84 if (_vsnprintf(buffer, size, format, args) != -1) { 91 if (!(wideBuffer[i] = buffer[i])) 97 OutputDebugStringA(buffer); 99 free(buffer); [all...] |
/external/webkit/WebCore/bridge/objc/ |
objc_utility.mm | 81 @result Fills 'buffer' with the ObjectiveC method name that corresponds to 'JSName'. 82 Returns true for success, false for failure. (Failure occurs when 'buffer' 85 bool convertJSMethodNameToObjc(const char *JSName, char *buffer, size_t bufferSize) 87 ASSERT(JSName && buffer); 90 char *dp = buffer; // destination pointer 92 char *end = buffer + bufferSize; 103 // of the buffer in the middle of this loop. Let's make sure to check for that. 115 return false; // We ran out of buffer before converting JSName 229 JSValue convertObjcValueToValue(ExecState* exec, void* buffer, ObjcValueType type, RootObject* rootObject) 235 id obj = *(id*)buffer; [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
FontPlatformDataCGWin.cpp | 59 BYTE* buffer = bufferVector.data(); local 60 if (GetFontData(dc, 'eman', 0, buffer, bufferSize) == GDI_ERROR) 66 USHORT numberOfRecords = readBigEndianWord(buffer + 2); 67 UINT stringsOffset = readBigEndianWord(buffer + 4); 71 BYTE* strings = buffer + stringsOffset; 79 USHORT platformID = readBigEndianWord(buffer + offset); 80 USHORT encodingID = readBigEndianWord(buffer + offset + 2); 81 USHORT languageID = readBigEndianWord(buffer + offset + 4); 82 USHORT nameID = readBigEndianWord(buffer + offset + 6); 83 USHORT length = readBigEndianWord(buffer + offset + 8) [all...] |
/system/extras/tests/sdcard/ |
testcase.cpp | 98 char buffer[32000] = {0,}; local 99 char *str = buffer; 100 size_t size_left = sizeof(buffer); 109 write(mIpc[TestCase::WRITE_TO_PARENT], buffer, str - buffer); 130 char buffer[32000] = {0,}; local 131 while(read(mIpc[READ_FROM_CHILD], buffer, sizeof(buffer)) != 0) 133 printf("%s", buffer); 135 memset(buffer, 0, sizeof(buffer)) [all...] |
/external/chromium/third_party/icu/source/io/ |
sprintf.c | 101 u_sprintf(UChar *buffer, 109 written = u_vsnprintf(buffer, INT32_MAX, patternSpecification, ap); 116 u_sprintf_u(UChar *buffer, 124 written = u_vsnprintf_u(buffer, INT32_MAX, patternSpecification, ap); 131 u_vsprintf(UChar *buffer, 135 return u_vsnprintf(buffer, INT32_MAX, patternSpecification, ap); 139 u_snprintf(UChar *buffer, 148 written = u_vsnprintf(buffer, count, patternSpecification, ap); 155 u_snprintf_u(UChar *buffer, 164 written = u_vsnprintf_u(buffer, count, patternSpecification, ap) [all...] |
/external/e2fsprogs/misc/ |
logsave.c | 46 static void send_output(const char *buffer, int c, int flag) 51 c = strlen(buffer); 54 write(1, buffer, c); 58 write(outfd, buffer, c); 63 memcpy(((char *)outbuf)+outbufsize, buffer, c); 72 char buffer[4096], *cp, *sep; local 74 c = read(fd, buffer, sizeof(buffer)-1); 78 send_output(buffer, c, SEND_CONSOLE); 79 buffer[c] = 0 109 char buffer[80]; local [all...] |
/external/icu4c/io/ |
sprintf.c | 101 u_sprintf(UChar *buffer, 109 written = u_vsnprintf(buffer, INT32_MAX, patternSpecification, ap); 116 u_sprintf_u(UChar *buffer, 124 written = u_vsnprintf_u(buffer, INT32_MAX, patternSpecification, ap); 131 u_vsprintf(UChar *buffer, 135 return u_vsnprintf(buffer, INT32_MAX, patternSpecification, ap); 139 u_snprintf(UChar *buffer, 148 written = u_vsnprintf(buffer, count, patternSpecification, ap); 155 u_snprintf_u(UChar *buffer, 164 written = u_vsnprintf_u(buffer, count, patternSpecification, ap) [all...] |
/bionic/libc/bionic/ |
malloc_debug_leak.c | 319 "*** MALLOC CHECK: buffer %p, is not a valid " 335 char* buffer; local 345 "*** %s CHECK: buffer %p " 353 buffer = (char*)mem - CHK_SENTINEL_HEAD_SIZE; 354 offset = dlmalloc_usable_size(buffer) - sizeof(size_t); 355 bytes = *(size_t *)(buffer + offset); 361 "*** %s CHECK: buffer %p, size=%lu, " 363 func, buffer, bytes, i+1); 375 char* buffer = (char*)dlmalloc(bytes + CHK_OVERHEAD_SIZE); local 376 if (buffer) { 390 char* buffer; local 420 char* buffer; local 456 void* buffer = dlmalloc(bytes); local 472 void* buffer = fill_malloc(bytes); local 487 void* buffer = dlmemalign(alignment, bytes); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerInputStream.java | 44 * Internal buffer for storing encoded array 46 protected byte[] buffer; field in class:BerInputStream 49 * The position in the buffer. 51 * Next read must place data into the buffer from this offset 55 // The buffer increment size. 91 this.buffer = encoded; 106 * Allocates initial buffer of default size 117 * Allocates initial buffer of <code>initialSize</code> size 119 * @param initialSize the internal buffer initial size 125 buffer = new byte[initialSize] [all...] |
/frameworks/base/cmds/stagefright/ |
record.cpp | 53 // that the buffer size mSize it set correctly above. 78 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { 85 status_t err = mGroup.acquire_buffer(buffer); 91 memset((*buffer)->data(), x, mSize); 92 (*buffer)->set_range(0, mSize); 93 (*buffer)->meta_data()->clear(); 94 (*buffer)->meta_data()->setInt64( 98 // printf("DummySource::read - returning buffer\n"); 99 // LOGI("DummySource::read - returning buffer"); 243 MediaBuffer *buffer; local 334 MediaBuffer *buffer; local [all...] |