/external/kernel-headers/original/linux/ |
kdev_t.h | 11 #define print_dev_t(buffer, dev) \ 12 sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) 14 #define format_dev_t(buffer, dev) \ 16 sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ 17 buffer; \
|
/external/oprofile/libop/ |
op_interface.h | 48 * The head structure of a kernel sample buffer. 51 int cpu_nr; /**< the CPU number of this buffer */ 52 size_t count; /**< number of samples in this buffer */ 54 struct op_sample buffer[0]; /**< the sample buffer */ member in struct:op_buffer_head
|
/external/webkit/WebCore/platform/graphics/qt/ |
FontCustomPlatformDataQt.cpp | 49 FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer) 51 ASSERT_ARG(buffer, buffer); 53 int id = QFontDatabase::addApplicationFontFromData(QByteArray(buffer->data(), buffer->size()));
|
/external/webkit/WebCore/platform/graphics/win/ |
FontCustomPlatformData.cpp | 102 SharedBuffer* buffer = static_cast<SharedBuffer*>(info); local 103 buffer->ref(); 104 return (void*)buffer->data(); 112 size_t getBytesWithOffset(void *info, void* buffer, size_t offset, size_t count) 118 memcpy(buffer, sharedBuffer->data() + offset, availBytes); 136 size_t read(void* buffer, size_t count); 148 size_t EOTStream::read(void* buffer, size_t count) 153 memcpy(buffer, m_eotHeader.data() + m_offset, bytesFromHeader); 163 memcpy(buffer, m_fontData->data() + m_offset, bytesFromData); 168 memcpy(reinterpret_cast<char*>(buffer) + dstOffset, m_fontData->data() + m_overlaySrc + srcOffset, bytesToCopy) [all...] |
/external/webkit/WebKit/chromium/src/ |
ProfilerAgentImpl.cpp | 45 static char buffer[65536]; local 46 const int readSize = v8::V8::GetLogLines(position, buffer, sizeof(buffer) - 1); 47 buffer[readSize] = '\0'; 49 m_delegate->didGetLogLines(position, buffer);
|
/frameworks/base/camera/libcameraservice/ |
FakeCamera.h | 43 void getNextFrameAsYuv422(uint8_t *buffer); 48 // TODO: remove the uint16_t buffer param everywhere since it is a field of 50 void getNextFrameAsRgb565(uint16_t *buffer); 52 void drawSquare(uint16_t *buffer, int x, int y, int size, int color, int shadow); 53 void drawCheckerboard(uint16_t *buffer, int size);
|
/frameworks/base/cmds/stagefright/ |
audioloop.cpp | 85 MediaBuffer *buffer; local 86 while (decoder->read(&buffer) == OK) { 87 // do something with buffer 92 buffer->release(); 93 buffer = NULL;
|
/frameworks/base/libs/audioflinger/ |
AudioBufferProvider.h | 31 struct Buffer { 42 virtual status_t getNextBuffer(Buffer* buffer) = 0; 43 virtual void releaseBuffer(Buffer* buffer) = 0;
|
/ndk/build/platforms/android-3/arch-arm/usr/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);
|
/ndk/build/platforms/android-4/arch-arm/usr/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);
|
/ndk/build/platforms/android-5/arch-arm/usr/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);
|
/ndk/build/platforms/android-5/arch-x86/usr/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);
|
/ndk/build/platforms/android-8/arch-arm/usr/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);
|
/ndk/build/platforms/android-8/arch-x86/usr/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);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
GridQuadMesh.java | 168 int[] buffer = new int[1]; local 169 buffer[0] = mVertBufferIndex; 170 gl11.glDeleteBuffers(1, buffer, 0); 172 buffer[0] = mTextureCoordBufferIndex; 173 gl11.glDeleteBuffers(1, buffer, 0); 175 buffer[0] = mIndexBufferIndex; 176 gl11.glDeleteBuffers(1, buffer, 0); 185 * if a buffer has not already been previously allocated. Note that this 196 int[] buffer = new int[1]; local 198 // Allocate and fill the vertex buffer [all...] |
/system/core/nexus/ |
WifiNetwork.h | 79 virtual int get(int idx, int *buffer) = 0; 91 virtual int get(int idx, char *buffer, size_t max) = 0; 100 int get(int idx, int *buffer); 108 int get(int idx, int *buffer); 116 int get(int idx, int *buffer); 124 int get(int idx, char *buffer, size_t max); 132 int get(int idx, char *buffer, size_t max); 140 int get(int idx, char *buffer, size_t max); 148 int get(int idx, char *buffer, size_t max); 156 int get(int idx, char *buffer, size_t max) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueFormatter.java | 107 public CharArrayBuffer formatElements(CharArrayBuffer buffer, 116 if (buffer == null) { 117 buffer = new CharArrayBuffer(len); 119 buffer.ensureCapacity(len); 124 buffer.append(", "); 126 formatHeaderElement(buffer, elems[i], quote); 129 return buffer; 176 public CharArrayBuffer formatHeaderElement(CharArrayBuffer buffer, 185 if (buffer == null) { 186 buffer = new CharArrayBuffer(len) [all...] |
/external/icu4c/io/ |
ustdio.c | 91 uprv_free(file->fTranslit->buffer); 92 file->fTranslit->buffer=NULL; 110 file->fTranslit->buffer = NULL; 147 memmove(f->fTranslit->buffer, f->fTranslit->buffer + f->fTranslit->pos, 153 /* Calculate new buffer size needed */ 158 if(f->fTranslit->buffer == NULL) 160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar)); 164 f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar)) [all...] |
/external/skia/src/core/ |
SkString.cpp | 57 char buffer[SkStrAppendS32_MaxSize]; local 58 char* p = buffer + sizeof(buffer); 73 SkASSERT(p >= buffer); 74 char* stop = buffer + sizeof(buffer); 317 // just use less of the buffer without allocating a smaller one 388 do it in place, rather than allocating a new buffer. 429 char buffer[kMaxBytesInUTF8Sequence]; local 430 size_t len = SkUTF8_FromUnichar(uni, buffer); 438 char buffer[SkStrAppendS32_MaxSize]; local 449 char buffer[8]; local 466 char buffer[SkStrAppendScalar_MaxSize]; local 493 char buffer[kBufferSize]; local 500 char buffer[kBufferSize]; local 507 char buffer[kBufferSize]; local [all...] |
/external/v8/src/ |
debug-agent.cc | 222 char c = '\0'; // One character receive buffer. 234 // Add character to header buffer. 241 if (header_buffer_position == 2) { // Receive buffer contains CRLF. 289 char* buffer = NewArray<char>(content_length + 1); local 290 received = ReceiveAll(conn, buffer, content_length); 295 buffer[content_length] = '\0'; 297 return SmartPointer<char>(buffer); 304 char buffer[kBufferSize]; // Sending buffer. local 309 len = OS::SNPrintF(Vector<char>(buffer, kBufferSize) 350 char buffer[kBufferSize]; \/\/ Sending buffer both for header and body. local [all...] |
/external/v8/test/cctest/ |
test-assembler-ia32.cc | 63 v8::internal::byte buffer[256]; local 64 Assembler assm(buffer, sizeof buffer); 91 v8::internal::byte buffer[256]; local 92 Assembler assm(buffer, sizeof buffer); 129 v8::internal::byte buffer[256]; local 130 Assembler assm(buffer, sizeof buffer); 173 v8::internal::byte buffer[256] local 207 v8::internal::byte buffer[256]; local 239 v8::internal::byte buffer[256]; local 265 v8::internal::byte buffer[256]; local 310 v8::internal::byte buffer[256]; local 344 v8::internal::byte buffer[256]; local [all...] |
/external/opencore/oscl/oscl/osclbase/src/ |
oscl_byte_order.inl | 30 This function takes a buffer of data which is assumed to be in little endian order and 33 \param data A pointer to the input/output buffer 34 \param size The number of bytes in the buffer. 45 This function takes a buffer of data and reverses the order of the bytes. 46 \param data A pointer to the input/output buffer 47 \param size The number of bytes in the buffer. 84 This function takes a buffer of data which is assumed to be in the host's native order and 86 \param data A pointer to the input/output buffer 87 \param size The number of bytes in the buffer. 101 This function takes a buffer of data which is assumed to be in big endian order an [all...] |
/sdk/layoutlib_utils/src/com/android/layoutlib/utils/ |
ValueResourceParser.java | 194 char[] buffer = value.toCharArray(); local 197 if (buffer[i] == '\\' && i + 1 < length) { 198 if (buffer[i+1] == 'u') { 201 int unicodeChar = Integer.parseInt(new String(buffer, i+2, 4), 16); 204 buffer[i] = (char)unicodeChar; 206 // offset the rest of the buffer since we go from 6 to 1 char 207 if (i + 6 < buffer.length) { 208 System.arraycopy(buffer, i+6, buffer, i+1, length - i - 6); 213 if (buffer[i+1] == 'n') [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...] |
/hardware/ti/omap3/dspbridge/inc/ |
DSPStream.h | 46 *! 07-Jun-2001 sg: Made buffer alloc/free fxn names plural. 49 *! Buffer(), since these have been moved to DSP_STREAMATTRIN. 69 * uSize: Size of the buffer 79 * DSP_EFAIL: General failure to allocate buffer. 104 * Free a previously allocated stream data buffer. 162 * Send a buffer of data to a stream. 165 * pBuffer: Ptr to the buffer. 166 * dwDataSize: Size of data in buffer in bytes. 167 * dwBufSize: Size of actual buffer in bytes. 168 * dwArg: User defined buffer context [all...] |