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

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/text/method/
ArrowKeyMovementMethod.java 36 private boolean up(TextView widget, Spannable buffer) {
37 boolean cap = (MetaKeyKeyListener.getMetaState(buffer,
39 (MetaKeyKeyListener.getMetaState(buffer,
41 boolean alt = MetaKeyKeyListener.getMetaState(buffer,
47 Selection.extendSelection(buffer, 0);
50 return Selection.extendUp(buffer, layout);
54 Selection.setSelection(buffer, 0);
57 return Selection.moveUp(buffer, layout);
62 private boolean down(TextView widget, Spannable buffer) {
63 boolean cap = (MetaKeyKeyListener.getMetaState(buffer,
    [all...]
LinkMovementMethod.java 37 public boolean onKeyDown(TextView widget, Spannable buffer,
43 if (action(CLICK, widget, buffer)) {
49 return super.onKeyDown(widget, buffer, keyCode, event);
53 protected boolean up(TextView widget, Spannable buffer) {
54 if (action(UP, widget, buffer)) {
58 return super.up(widget, buffer);
62 protected boolean down(TextView widget, Spannable buffer) {
63 if (action(DOWN, widget, buffer)) {
67 return super.down(widget, buffer);
71 protected boolean left(TextView widget, Spannable buffer) {
    [all...]
  /dalvik/libcore/nio/src/main/java/java/nio/
NIOAccess.java 24 * an NIO Buffer, breaking encapsulation in the name of efficiency.
30 * Buffer starting at the Buffer's current position, or 0 if the
31 * Buffer is not backed by native heap storage. Note that this is
35 * @param Buffer b the Buffer to be queried
36 * @return the native pointer to the Buffer's data at its current
39 static long getBasePointer(Buffer b) {
51 * Returns the number of bytes remaining in the given Buffer. That is,
53 * of this Buffer
    [all...]
Buffer.java 20 * A buffer is a list of elements of a specific primitive type.
22 * A buffer can be described by the following properties:
24 * <li>Capacity: the number of elements a buffer can hold. Capacity may not be
26 * <li>Position: a cursor of this buffer. Elements are read or written at the
35 * <li>A buffer can be read-only or read-write. Trying to modify the elements
36 * of a read-only buffer will cause a <code>ReadOnlyBufferException</code>,
37 * while changing the position, limit and mark of a read-only buffer is OK.</li>
38 * <li>A buffer can be direct or indirect. A direct buffer will try its best to
43 * Buffers are not thread-safe. If concurrent access to a buffer instance i
    [all...]
  /external/opencore/android/
android_log_appender.h 86 uint8* buffer = va_arg (va, uint8*); local
90 AppendStringA(0," %x %x %x %x %x %x %x %x %x %x", buffer[0], buffer[1], buffer[2], buffer[3], buffer[4], buffer[5], buffer[6], buffer[7], buffer[8], buffer[9])
    [all...]
  /external/opencore/oscl/pvlogger/src/
pvlogger_stderr_appender.h 84 uint8* buffer = va_arg(va, uint8*); local
89 AppendStringA(0, " %x %x %x %x %x %x %x %x %x %x", buffer[0], buffer[1], buffer[2], buffer[3], buffer[4], buffer[5], buffer[6], buffer[7], buffer[8], buffer[9])
    [all...]
  /external/clearsilver/util/test/
hdf_dealloc_test.c 18 char buffer[64]; local
20 snprintf(buffer, sizeof(buffer), "node.%d.test.%d", i, j);
21 hdf_set_value(hdf, buffer, "test");
  /external/elfutils/libasm/
asm_error.c 45 /* If we have not yet initialized the buffer do it now. */
50 /* We have a key. Use it to get the thread-specific buffer. */
51 int *buffer = getspecific (key); local
52 if (buffer == NULL)
54 /* No buffer allocated so far. */
55 buffer = (int *) malloc (sizeof (int));
56 if (buffer == NULL)
57 /* No more memory available. We use the static buffer. */
58 buffer = &global_error;
60 setspecific (key, buffer);
86 int *buffer = getspecific (key); local
130 int *buffer = (int *) getspecific (key); local
    [all...]
  /external/webkit/JavaScriptCore/runtime/
StringBuilder.h 37 buffer.append(u);
47 buffer.reserveCapacity(buffer.size() + len);
49 buffer.append(static_cast<unsigned char>(str[i]));
54 buffer.append(str, len);
59 buffer.append(str.data(), str.size());
62 bool isEmpty() { return buffer.isEmpty(); }
63 void reserveCapacity(size_t newCapacity) { buffer.reserveCapacity(newCapacity); }
64 void resize(size_t size) { buffer.resize(size); }
65 size_t size() const { return buffer.size();
78 Vector<UChar, 64> buffer; member in class:JSC::StringBuilder
    [all...]
  /external/zlib/contrib/delphi/
ZLibConst.pas 6 sTargetBufferTooSmall = 'ZLib error: target buffer may be too small';
  /external/icu4c/test/cintltst/
cstrcase.c 41 UChar buffer[32]; local
46 buffer[0]=0xabcd;
48 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
54 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 ||
55 buffer[length]!=0
60 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 &&
61 buffer[length]==0 ? "yes" : "no",
63 aescstrdup(buffer,-1));
66 /* lowercase with turkish locale and in the same buffer */
139 UChar buffer[32]; local
235 UChar buffer[32]; local
339 UChar buffer[32]; local
432 UChar buffer[32]; local
872 UChar buffer[32]; local
    [all...]
  /external/kernel-headers/original/linux/
relay.h 30 * Per-cpu relay channel buffer
34 void *start; /* start of channel buffer */
35 void *data; /* start of current sub-buffer */
36 size_t offset; /* current offset into sub-buffer */
43 struct kref kref; /* channel buffer refcount */
44 struct page **page_array; /* array of current buffer pages */
45 unsigned int page_count; /* number of current buffer pages */
46 unsigned int finalized; /* buffer has been finalized */
47 size_t *padding; /* padding counts per sub-buffer */
59 size_t subbuf_size; /* sub-buffer size *
    [all...]
  /frameworks/base/tools/aidl/
aidl_language_y.y 44 IMPORT { g_callbacks->import(&($1.buffer)); }
45 | IMPORT imports { g_callbacks->import(&($1.buffer)); }
69 $2.buffer.lineno, $2.buffer.data);
84 b->parcelable_token = $1.buffer;
85 b->name = $2.buffer;
87 b->semicolon_token = $3.buffer;
92 g_currentFilename, $1.buffer.lineno);
97 g_currentFilename, $2.buffer.lineno, $2.buffer.data)
    [all...]
  /external/qemu/android/utils/
bufprint.h 18 /** FORMATTED BUFFER PRINTING
21 ** content to a given bounded character buffer, in a way that is easier
24 ** 'buffer' is the start position in the buffer,
25 ** 'buffend' is the end of the buffer, the function assumes (buffer <= buffend)
29 ** the function returns the next position in the buffer if everything fits
35 ** char buffer[1024];
36 ** char* p = buffer;
37 ** char* end = p + sizeof(buffer);
    [all...]
  /external/apache-http/src/org/apache/http/message/
HeaderValueFormatter.java 47 * All formatting methods accept an optional buffer argument.
48 * If a buffer is passed in, the formatted element will be appended
49 * and the modified buffer is returned. If no buffer is passed in,
50 * a new buffer will be created and filled with the formatted element.
51 * In both cases, the caller is allowed to modify the returned buffer.
65 * @param buffer the buffer to append to, or
66 * <code>null</code> to create a new buffer
71 * @return a buffer with the formatted header elements
    [all...]
LineFormatter.java 54 * a buffer can be passed as argument to all formatting methods.
55 * The implementation may or may not actually use that buffer for formatting.
56 * If it is used, the buffer will first be cleared by the
58 * The argument buffer can always be re-used after the call. The buffer
59 * returned as the result, if it is different from the argument buffer,
79 * <code>buffer</code> arguments.
80 * It does <i>not</i> clear the argument buffer, but appends instead.
81 * The returned buffer can always be modified by the caller.
85 * @param buffer a buffer to which to append, or <code>null</code
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
RawResourceTest.java 44 final byte[] buffer = new byte[10];
48 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) {
52 + " but found " + ((char) buffer[i]),
53 buffer[i], expectedString.charAt(curIndex));
58 readCount = is.read(buffer, 0, buffer.length);
59 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount,
62 readCount = is.read(buffer, buffer.length, 0)
    [all...]
  /external/icu4c/tools/toolutil/
flagparser.c 12 static void extractFlag(char* buffer, int32_t bufferSize, char* flag);
13 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
20 char buffer[LARGE_BUFFER_MAX_SIZE]; local
29 if (T_FileStream_readLine(f, buffer, LARGE_BUFFER_MAX_SIZE) == NULL) {
34 extractFlag(buffer, LARGE_BUFFER_MAX_SIZE, flagBuffer[i]);
44 static void extractFlag(char* buffer, int32_t bufferSize, char* flag) {
50 if (buffer[0] != 0) {
52 offset = getFlagOffset(buffer, bufferSize);
53 pBuffer = buffer+offset;
76 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize)
    [all...]
  /external/icu4c/tools/genrb/
rle.c 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) {
45 if(buffer < buffLimit){
46 *buffer++ = c;
51 return buffer;
56 return buffer;
64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) {
72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status);
74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status)
    [all...]
  /external/webkit/WebCore/platform/network/
FormDataBuilder.cpp 96 static inline void append(Vector<char>& buffer, char string)
98 buffer.append(string);
101 static inline void append(Vector<char>& buffer, const char* string)
103 buffer.append(string, strlen(string));
106 static inline void append(Vector<char>& buffer, const CString& string)
108 buffer.append(string.data(), string.length());
111 static void appendQuotedString(Vector<char>& buffer, const CString& string)
122 append(buffer, "%0A");
125 append(buffer, "%0D");
128 append(buffer, "%22")
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
ExtendedDigest.java 7 * Return the size in bytes of the internal buffer the digest applies it's compression
10 * @return byte length of the digests internal buffer.
  /dalvik/dx/src/junit/framework/
TestFailure.java 40 StringBuffer buffer= new StringBuffer(); local
41 buffer.append(fFailedTest+": "+fThrownException.getMessage());
42 return buffer.toString();
48 StringBuffer buffer= stringWriter.getBuffer(); local
49 return buffer.toString();
  /dalvik/libcore/junit/src/main/java/junit/framework/
TestFailure.java 40 StringBuffer buffer= new StringBuffer(); local
41 buffer.append(fFailedTest+": "+fThrownException.getMessage());
42 return buffer.toString();
48 StringBuffer buffer= stringWriter.getBuffer(); local
49 return buffer.toString();
  /external/icu4c/test/intltest/
textfile.cpp 24 buffer(0),
57 uprv_strcpy(buffer, testDir);
58 uprv_strcat(buffer, name);
60 file = T_FileStream_open(buffer, "rb");
69 if (buffer != 0) uprv_free(buffer);
80 // Note: 'buffer' may change after ensureCapacity() is called,
82 // p=buffer; *p++=c;
84 // i=; buffer[i++]=c;
101 UnicodeString str(buffer, encoding)
    [all...]
  /external/junit/src/junit/framework/
TestFailure.java 40 StringBuffer buffer= new StringBuffer(); local
41 buffer.append(fFailedTest+": "+fThrownException.getMessage());
42 return buffer.toString();
48 StringBuffer buffer= stringWriter.getBuffer(); local
49 return buffer.toString();

Completed in 590 milliseconds

12 3 4 5 6 7 8 91011>>