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

<<11121314151617181920>>

  /build/tools/
java-event-log-tags.py 90 buffer = cStringIO.StringIO() variable
91 buffer.write("/* This file is auto-generated. DO NOT MODIFY.\n"
95 buffer.write("package %s;\n\n" % (tagfile.options["java_package"][0],))
100 buffer.write("/**\n"
103 buffer.write("public class %s {\n" % (basename,))
104 buffer.write(" private %s() { } // don't instantiate\n" % (basename,))
108 buffer.write("\n /** %d %s %s */\n" % (t.tagnum, t.tagname, t.description))
110 buffer.write("\n /** %d %s */\n" % (t.tagnum, t.tagname))
112 buffer.write(" public static final int %s = %d;\n" %
140 buffer.write("\n public static void %s(%s) {" % (methodName, argTypesNames)
    [all...]
  /external/bluetooth/glib/gio/tests/
data-output-stream.c 134 test_data_array (gpointer buffer, int len,
187 res = g_data_output_stream_put_byte (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
190 res = g_data_output_stream_put_int16 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
193 res = g_data_output_stream_put_uint16 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
196 res = g_data_output_stream_put_int32 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
199 res = g_data_output_stream_put_uint32 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
202 res = g_data_output_stream_put_int64 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
205 res = g_data_output_stream_put_uint64 (G_DATA_OUTPUT_STREAM (stream), TEST_DATA_RETYPE_BUFF (data_type, ((guchar*)buffer + pos)), NULL, &error);
240 g_assert_cmpint (data, ==, TEST_DATA_RETYPE_BUFF(data_type, ((guchar*)buffer + pos)));
255 gpointer buffer; local
    [all...]
  /external/e2fsprogs/lib/ss/
help.c 44 char *buffer; local
62 buffer = malloc(80+2*strlen(request_name));
63 if (!buffer) {
68 sprintf(buffer, "usage:\n\t%s [topic|command]\nor\t%s\n",
70 ss_perror(sci_idx, 0, buffer);
71 free(buffer);
84 buffer = malloc(strlen (info->info_dirs[idx]) + 1 +
86 if (!buffer) {
91 (void) strcpy(buffer, info->info_dirs[idx]);
92 (void) strcat(buffer, "/");
    [all...]
  /external/kernel-headers/original/linux/
moduleparam.h 33 /* Returns length written or -errno. Buffer is 4k (ie. be short!) */
34 typedef int (*param_get_fn)(char *buffer, struct kernel_param *kp);
108 extern int param_get_byte(char *buffer, struct kernel_param *kp);
112 extern int param_get_short(char *buffer, struct kernel_param *kp);
116 extern int param_get_ushort(char *buffer, struct kernel_param *kp);
120 extern int param_get_int(char *buffer, struct kernel_param *kp);
124 extern int param_get_uint(char *buffer, struct kernel_param *kp);
128 extern int param_get_long(char *buffer, struct kernel_param *kp);
132 extern int param_get_ulong(char *buffer, struct kernel_param *kp);
136 extern int param_get_charp(char *buffer, struct kernel_param *kp)
    [all...]
  /external/quake/quake/src/WinQuake/
net_loop.cpp 156 byte *buffer; local
167 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
170 *buffer++ = 1;
173 *buffer++ = data->cursize & 0xff;
174 *buffer++ = data->cursize >> 8;
177 buffer++;
180 Q_memcpy(buffer, data->data, data->cursize);
190 byte *buffer; local
201 buffer = ((qsocket_t *)sock->driverdata)->receiveMessage + *bufferLength;
204 *buffer++ = 2
    [all...]
  /external/v8/src/
regexp-macro-assembler-irregexp.h 39 // into a buffer, with the instructions starting from the beginning and the
40 // relocation information starting from the end of the buffer. See CodeDesc
43 // If the provided buffer is NULL, the assembler allocates and grows its own
44 // buffer, and buffer_size determines the initial buffer size. The buffer is
47 // If the provided buffer is not NULL, the assembler uses the provided buffer
48 // for code generation and assumes its size to be buffer_size. If the buffer
49 // is too small, a fatal error occurs. No deallocation of the buffer is don
    [all...]
  /external/webkit/JavaScriptCore/API/
JSStringRef.h 53 @abstract Creates a JavaScript string from a buffer of Unicode characters.
54 @param chars The buffer of Unicode characters to copy into the new JSString.
55 @param numChars The number of characters to copy from the buffer pointed to by chars.
90 @abstract Returns a pointer to the Unicode character buffer that
93 @result A pointer to the Unicode character buffer that serves as string's
112 and copies the result into an external byte buffer.
114 @param buffer The destination byte buffer into which to copy a null-terminated
115 UTF8 representation of string. On return, buffer contains a UTF8 string
116 representation of string. If bufferSize is too small, buffer will contain only
    [all...]
  /external/webkit/WebKitTools/DumpRenderTree/qt/
ImageDiff.cpp 40 char buffer[2048]; local
44 while (fgets(buffer, sizeof(buffer), stdin)) {
46 char* newLineCharacter = strchr(buffer, '\n');
50 if (!strncmp("Content-Length: ", buffer, 16)) {
51 strtok(buffer, " ");
57 unsigned char buffer[2048]; local
64 size_t bytesRead = fread(buffer, 1, bytesToRead, stdin);
65 data.write(reinterpret_cast<const char*>(buffer), bytesRead);
128 QBuffer buffer; local
    [all...]
  /frameworks/base/core/java/android/text/method/
ScrollingMovementMethod.java 33 protected boolean left(TextView widget, Spannable buffer) {
63 protected boolean right(TextView widget, Spannable buffer) {
94 protected boolean up(TextView widget, Spannable buffer) {
118 protected boolean down(TextView widget, Spannable buffer) {
146 public boolean onKeyDown(TextView widget, Spannable buffer, int keyCode, KeyEvent event) {
147 return executeDown(widget, buffer, keyCode);
150 private boolean executeDown(TextView widget, Spannable buffer, int keyCode) {
155 handled |= left(widget, buffer);
159 handled |= right(widget, buffer);
163 handled |= up(widget, buffer);
    [all...]
Touch.java 98 public static boolean onTouchEvent(TextView widget, Spannable buffer,
104 ds = buffer.getSpans(0, buffer.length(), DragState.class);
107 buffer.removeSpan(ds[i]);
110 buffer.setSpan(new DragState(event.getX(), event.getY(),
116 ds = buffer.getSpans(0, buffer.length(), DragState.class);
119 buffer.removeSpan(ds[i]);
129 ds = buffer.getSpans(0, buffer.length(), DragState.class)
    [all...]
  /frameworks/base/libs/surfaceflinger/
LayerBuffer.h 31 class Buffer;
100 class Buffer : public LightRefBase<Buffer> {
102 Buffer(const ISurface::BufferHeap& buffers,
114 friend class LightRefBase<Buffer>;
115 Buffer& operator = (const Buffer& rhs);
116 Buffer(const Buffer& rhs);
117 ~Buffer();
    [all...]
  /development/host/windows/usb/api/
adb_endpoint_object.h 63 @param[in,out] buffer Pointer to the buffer for read / write.
76 void* buffer,
85 @param[in,out] buffer Pointer to the buffer for read / write.
95 void* buffer,
115 @param[out] buffer Pointer to the buffer that receives the data.
127 virtual ADBAPIHANDLE AsyncRead(void* buffer,
135 @param[in] buffer Pointer to the buffer containing the data to be written.
    [all...]
  /external/libxml2/include/libxml/
xmlIO.h 47 * @buffer: the buffer to store data read
48 * @len: the length of the buffer in bytes
54 typedef int (XMLCALL *xmlInputReadCallback) (void * context, char * buffer, int len);
93 * @buffer: the buffer of data to write
94 * @len: the length of the buffer in bytes
100 typedef int (XMLCALL *xmlOutputWriteCallback) (void * context, const char * buffer,
132 xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 * member in struct:_xmlParserInputBuffer
148 xmlBufferPtr buffer; \/* Local buffer encoded in UTF-8 or ISOLatin *\/ member in struct:_xmlOutputBuffer
    [all...]
  /external/skia/src/core/
SkBitmapProcShader.cpp 27 SkBitmapProcShader::SkBitmapProcShader(SkFlattenableReadBuffer& buffer)
28 : INHERITED(buffer) {
29 fRawBitmap.unflatten(buffer);
30 fState.fTileModeX = buffer.readU8();
31 fState.fTileModeY = buffer.readU8();
62 void SkBitmapProcShader::flatten(SkFlattenableWriteBuffer& buffer) {
63 this->INHERITED::flatten(buffer);
65 fRawBitmap.flatten(buffer);
66 buffer.write8(fState.fTileModeX);
67 buffer.write8(fState.fTileModeY)
147 uint32_t buffer[BUF_MAX]; local
179 uint32_t buffer[BUF_MAX]; local
    [all...]
  /frameworks/base/opengl/tools/glgen/stubs/jsr239/
GLCHeader.cpp 92 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer");
104 "getBasePointer", "(Ljava/nio/Buffer;)J");
106 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;");
108 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I");
138 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining)
147 position = _env->GetIntField(buffer, positionID);
148 limit = _env->GetIntField(buffer, limitID);
149 elementSizeShift = _env->GetIntField(buffer, elementSizeShiftID);
152 getBasePointerID, buffer);
159 getBaseArrayID, buffer);
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto.h 35 * @mac: Buffer for the hash
44 * @mac: Buffer for the hash
53 * @mac: Buffer for the hash
62 * @x: Buffer for PRF output
78 * @mac: Buffer for the hash
103 * @crypt: Buffer for the encrypted data (16 bytes)
125 * @plain: Buffer for the decrypted data (16 bytes)
161 * @data: Data buffer to add
162 * @len: Length of the buffer
173 * @hash: Buffer for hash value or %NULL if caller is just freeing the has
    [all...]
  /frameworks/base/media/libmedia/
IOMX.cpp 221 buffer_id *buffer) {
231 *buffer = 0;
236 *buffer = (void*)reply.readIntPtr();
243 buffer_id *buffer, void **buffer_data) {
253 *buffer = 0;
258 *buffer = (void *)reply.readIntPtr();
266 buffer_id *buffer) {
276 *buffer = 0;
281 *buffer = (void*)reply.readIntPtr();
287 node_id node, OMX_U32 port_index, buffer_id buffer) {
553 buffer_id buffer; local
572 buffer_id buffer; local
595 buffer_id buffer; local
614 buffer_id buffer = (void*)data.readIntPtr(); local
625 buffer_id buffer = (void*)data.readIntPtr(); local
636 buffer_id buffer = (void*)data.readIntPtr(); local
769 IOMX::buffer_id buffer = (void*)data.readIntPtr(); local
    [all...]
  /external/webkit/JavaScriptCore/runtime/
StringPrototype.cpp 269 UChar* buffer;
270 PassRefPtr<UStringImpl> impl = UStringImpl::tryCreateUninitialized(totalLength, buffer);
278 UStringImpl::copyChars(buffer + bufferPos, source.data() + substringRanges[i].position, substringRanges[i].length);
282 UStringImpl::copyChars(buffer + bufferPos, separators[i].data(), separators[i].size());
298 UChar* buffer;
299 PassRefPtr<UStringImpl> impl = UStringImpl::tryCreateUninitialized(totalLength, buffer);
303 UStringImpl::copyChars(buffer, source.data(), rangeStart);
304 UStringImpl::copyChars(buffer + rangeStart, replacement.data(), replacementLength);
306 UStringImpl::copyChars(buffer + rangeStart + replacementLength, source.data() + rangeEnd, source.size() - rangeEnd);
795 Vector<UChar> buffer(sSize)
939 UChar* buffer; local
988 UChar* buffer; local
    [all...]
  /dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
ClassTest2.java 60 byte[] buffer = new byte[20];
61 int length = stream.read(buffer);
62 String s = new String(buffer, 0, length);
83 byte[] buffer = new byte[20];
84 int length = stream.read(buffer);
85 String s = new String(buffer, 0, length);
  /external/ppp/pppd/
md4.c 24 ** -- The message digest is available in MD.buffer[0] ...
25 ** MD.buffer[3]. (Least-significant byte of each word
45 #define I0 0x67452301 /* Initial values for MD buffer */
83 ** Print message digest buffer MDp as 32 hexadecimal digits.
84 ** Order is from low-order byte of buffer[0] to high-order byte of
85 ** buffer[3].
96 printf("%02x",(MDp->buffer[i]>>j) & 0xFF);
100 ** Initialize message digest buffer MDp.
108 MDp->buffer[0] = I0;
109 MDp->buffer[1] = I1
    [all...]
  /external/skia/src/effects/
Sk2DPathEffect.cpp 83 void Sk2DPathEffect::flatten(SkFlattenableWriteBuffer& buffer)
85 buffer.writeMul4(&fMatrix, sizeof(fMatrix));
88 Sk2DPathEffect::Sk2DPathEffect(SkFlattenableReadBuffer& buffer)
90 buffer.read(&fMatrix, sizeof(fMatrix));
99 SkFlattenable* Sk2DPathEffect::CreateProc(SkFlattenableReadBuffer& buffer)
101 return SkNEW_ARGS(Sk2DPathEffect, (buffer));
  /external/webkit/WebCore/platform/text/qt/
TextBoundariesQt.cpp 43 int findNextWordFromIndex(UChar const* buffer, int len, int position, bool forward)
45 QString str(reinterpret_cast<QChar const*>(buffer), len);
51 if (QChar(buffer[pos-1]).isLetterOrNumber())
59 if (QChar(buffer[pos]).isLetterOrNumber())
67 void findWordBoundary(UChar const* buffer, int len, int position, int* start, int* end)
69 QString str(reinterpret_cast<QChar const*>(buffer), len);
  /external/yaffs2/yaffs2/
yaffs_nand.c 24 __u8 * buffer,
37 result = dev->readChunkWithTagsFromNAND(dev, realignedChunkInNAND, buffer,
42 buffer,
56 const __u8 * buffer,
79 return dev->writeChunkWithTagsToNAND(dev, chunkInNAND, buffer,
84 buffer,
  /frameworks/base/cmds/servicemanager/
binder.h 40 uint32_t data_avail; /* bytes available in data buffer */
43 char *data0; /* start of data buffer */
44 uint32_t *offs0; /* start of offsets buffer */
100 * buffer, size of the working buffer, and how many object
101 * offset entries to reserve from the buffer
  /frameworks/base/core/java/android/bluetooth/
BluetoothOutputStream.java 60 * Writes {@code count} bytes from the byte array {@code buffer} starting
64 * the buffer to be written.
66 * the start position in {@code buffer} from where to get bytes.
68 * the number of bytes from {@code buffer} to write to this
75 * {@code buffer}.
80 throw new NullPointerException("buffer is null");

Completed in 2686 milliseconds

<<11121314151617181920>>