/frameworks/base/opengl/tools/glgen/stubs/gles11/ |
GLES11cHeader.cpp | 56 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer"); 60 "getBasePointer", "(Ljava/nio/Buffer;)J"); 62 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;"); 64 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I"); 94 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining) 103 position = _env->GetIntField(buffer, positionID); 104 limit = _env->GetIntField(buffer, limitID); 105 elementSizeShift = _env->GetIntField(buffer, elementSizeShiftID); 108 getBasePointerID, buffer); 115 getBaseArrayID, buffer); [all...] |
GLES20cHeader.cpp | 49 jclass bufferClassLocal = _env->FindClass("java/nio/Buffer"); 53 "getBasePointer", "(Ljava/nio/Buffer;)J"); 55 "getBaseArray", "(Ljava/nio/Buffer;)Ljava/lang/Object;"); 57 "getBaseArrayOffset", "(Ljava/nio/Buffer;)I"); 87 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining) 96 position = _env->GetIntField(buffer, positionID); 97 limit = _env->GetIntField(buffer, limitID); 98 elementSizeShift = _env->GetIntField(buffer, elementSizeShiftID); 101 getBasePointerID, buffer); 108 getBaseArrayID, buffer); [all...] |
/system/core/toolbox/ |
dmesg.c | 13 char buffer[KLOG_BUF_LEN + 1]; local 14 char *p = buffer; 24 n = klogctl(op, buffer, KLOG_BUF_LEN); 29 buffer[n] = '\0';
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
SocketInputStream.java | 60 byte[] buffer = new byte[1]; 61 int result = socket.read(buffer, 0, 1); 62 return (-1 == result) ? result : buffer[0] & 0xFF; 66 public int read(byte[] buffer) throws IOException { 67 return read(buffer, 0, buffer.length); 71 public int read(byte[] buffer, int offset, int count) throws IOException { 72 if (null == buffer) { 80 if (0 > offset || offset >= buffer.length) { 84 if (0 > count || offset + count > buffer.length) [all...] |
SocketOutputStream.java | 49 public void write(byte[] buffer) throws IOException { 50 socket.write(buffer, 0, buffer.length); 54 public void write(byte[] buffer, int offset, int count) throws IOException { 56 if (buffer != null) { 57 if (0 <= offset && offset <= buffer.length && 0 <= count 58 && count <= buffer.length - offset) { 59 socket.write(buffer, offset, count); 70 byte[] buffer = new byte[1]; 71 buffer[0] = (byte) (oneByte & 0xFF) [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/ |
BufferedAsymmetricBlockCipher.java | 4 * a buffer wrapper for an asymmetric block cipher, allowing input 26 * return the underlying cipher for the buffer. 28 * @return the underlying cipher for the buffer. 36 * return the amount of data sitting in the buffer. 38 * @return the amount of data sitting in the buffer. 46 * initialise the buffer and the underlying cipher. 101 * add len bytes to the buffer for processing. 132 * process the contents of the buffer using the underlying 136 * buffer. 150 * Reset the buffer and the underlying cipher [all...] |
/external/bluetooth/glib/tests/ |
unicode-caseconv.c | 13 char buffer[1024]; local 35 while (fgets (buffer, sizeof(buffer), infile)) 37 if (buffer[0] == '#') 40 strings = g_strsplit (buffer, "\t", -1); 106 while (fgets (buffer, sizeof(buffer), infile)) 108 if (buffer[0] == '#') 111 buffer[strlen(buffer) - 1] = '\0' [all...] |
/external/e2fsprogs/lib/ss/ |
list_rqs.c | 33 char buffer[BUFSIZ]; local 57 buffer[0] = '\0'; 62 strncat(buffer, *name, len); 65 strcat(buffer, ", "); 69 strcat(buffer, NL); 70 fputs(buffer, output); 72 buffer[0] = '\0'; 74 strncat(buffer, twentyfive_spaces, 25-spacing); 75 strcat(buffer, entry->info_string); 76 strcat(buffer, NL) [all...] |
/external/icu4c/io/ |
sscanf.c | 34 u_sscanf(const UChar *buffer, 42 converted = u_vsscanf(buffer, patternSpecification, ap); 49 u_sscanf_u(const UChar *buffer, 57 converted = u_vsscanf_u(buffer, patternSpecification, ap); 64 u_vsscanf(const UChar *buffer, 86 converted = u_vsscanf_u(buffer, pattern, ap); 97 u_vsscanf_u(const UChar *buffer, 111 inStr.str.fBuffer = (UChar *)buffer; 112 inStr.str.fPos = (UChar *)buffer; 113 inStr.str.fLimit = buffer + u_strlen(buffer) [all...] |
ufmt_cmn.c | 63 ufmt_64tou(UChar *buffer, 77 buffer[length++] = (UChar)(uselower ? TO_LC_DIGIT(digit) 84 buffer[length++] = DIGIT_0; /*zero padding */ 87 /* reverse the buffer */ 88 left = buffer; 89 right = buffer + length; 100 ufmt_ptou(UChar *buffer, 119 buffer[length++]=TO_LC_DIGIT(firstNibble); 120 buffer[length++]=TO_LC_DIGIT(secondNibble); 123 buffer[length++]=TO_UC_DIGIT(firstNibble) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
AssetTest.java | 37 byte[] buffer = new byte[10]; 41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 45 + " but found " + ((char) buffer[i]), 46 buffer[i], expectedString.charAt(curIndex)); 51 readCount = is.read(buffer, 0, buffer.length); 52 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount, 55 readCount = is.read(buffer, buffer.length, 0) [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexParameterImpl.java | 31 private final DexBuffer buffer; field in class:DexParameterImpl 36 public DexParameterImpl(DexBuffer buffer, String typeName, 39 this.buffer = buffer; 51 buffer.setPosition(annotationOffset); 52 final int size = buffer.readUInt(); 54 annotations.add(new DexAnnotationImpl(buffer.createCopy(), 55 buffer.readUInt(), typeIds, stringPool, fieldIdItems));
|
DexAnnotationAttributeImpl.java | 29 private DexBuffer buffer; field in class:DexAnnotationAttributeImpl 34 public DexAnnotationAttributeImpl(DexBuffer buffer, 37 this.buffer = buffer; 46 nameIdx = buffer.readUleb128(); 47 value = new DexEncodedValueImpl(buffer, annotation, typeIds,
|
/development/host/windows/usb/api/ |
adb_endpoint_object.cpp | 50 ADBAPIHANDLE AdbEndpointObject::AsyncRead(void* buffer,
56 buffer,
63 ADBAPIHANDLE AdbEndpointObject::AsyncWrite(void* buffer,
69 buffer,
76 bool AdbEndpointObject::SyncRead(void* buffer,
81 buffer,
87 bool AdbEndpointObject::SyncWrite(void* buffer,
92 buffer,
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2109Spec.java | 158 CharArrayBuffer buffer = new CharArrayBuffer(40 * cookies.size()); local 159 buffer.append(SM.COOKIE); 160 buffer.append(": "); 161 buffer.append("$Version="); 162 buffer.append(Integer.toString(version)); 164 buffer.append("; "); 166 formatCookieAsVer(buffer, cookie, version); 169 headers.add(new BufferedHeader(buffer)); 177 CharArrayBuffer buffer = new CharArrayBuffer(40); local 178 buffer.append("Cookie: ") [all...] |
/external/clearsilver/man/man3/ |
cgiwrap_write.3 | 25 buf - a character buffer 27 buf_len - the length of the buffer in buf
|
/external/dropbear/ |
signkey.h | 28 #include "buffer.h" 47 int buf_get_pub_key(buffer *buf, sign_key *key, int *type); 48 int buf_get_priv_key(buffer* buf, sign_key *key, int *type); 49 void buf_put_pub_key(buffer* buf, sign_key *key, int type); 50 void buf_put_priv_key(buffer* buf, sign_key *key, int type); 52 void buf_put_sign(buffer* buf, sign_key *key, int type, 55 int buf_verify(buffer * buf, sign_key *key, const unsigned char *data, 61 buffer * line, char ** fingerprint);
|
/external/grub/netboot/ |
otulip.h | 62 unsigned long buf1sz:11, /* size of buffer 1 */ 63 buf2sz:11, /* size of buffer 2 */ 65 const unsigned char *buf1addr; /* buffer 1 address */ 66 const unsigned char *buf2addr; /* buffer 2 address */ 71 unsigned long buf1sz:11, /* size of buffer 1 */ 72 buf2sz:11, /* size of buffer 2 */ 74 unsigned char *buf1addr; /* buffer 1 address */ 75 unsigned char *buf2addr; /* buffer 2 address */
|
/external/oprofile/libop/ |
op_config_24.h | 28 * in eviction buffer 34 /** minimal buffer water mark before we try to wakeup daemon */ 36 /** maximum number of entry in samples eviction buffer */ 38 /** minimum number of entry in samples eviction buffer */ 45 * in note buffer 51 /** minimal note buffer water mark before we try to wakeup daemon */ 53 /** maximum number of entry in note buffer */ 55 /** minimum number of entry in note buffer */
|
/external/easymock/src/org/easymock/internal/ |
ErrorMessage.java | 44 public void appendTo(StringBuilder buffer, int matches) {
45 buffer.append("\n ").append(message).append(", actual: ");
48 buffer.append(getActualCount() + 1);
50 buffer.append(getActualCount());
51 buffer.append(" (+1)");
55 buffer.append(getActualCount());
|
/external/icu4c/test/intltest/ |
ucaconf.cpp | 112 char buffer[1024]; local 113 uprv_strcpy(buffer, testDataPath); 114 uprv_strcat(buffer, type); 115 int32_t bufLen = (int32_t)uprv_strlen(buffer); 123 uprv_strcpy(buffer+bufLen, ext); 125 testFile = fopen(buffer, "rb"); 128 uprv_strcpy(buffer+bufLen, "_SHORT"); 129 uprv_strcat(buffer, ext); 130 testFile = fopen(buffer, "rb"); 133 uprv_strcpy(buffer+bufLen, "_STUB") 162 UChar *buffer = b1, *oldB = NULL; local [all...] |
/external/opencore/oscl/pvlogger/src/ |
pvlogger_mem_appender.h | 136 uint8* buffer = va_arg(va, uint8*); local 141 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/skia/include/effects/ |
SkTransparentShader.h | 34 virtual void flatten(SkFlattenableWriteBuffer& buffer) 36 this->INHERITED::flatten(buffer); 44 SkTransparentShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} 46 static SkFlattenable* Create(SkFlattenableReadBuffer& buffer) 48 return SkNEW_ARGS(SkTransparentShader, (buffer));
|
/external/skia/src/core/ |
SkPathHeap.cpp | 12 SkPathHeap::SkPathHeap(SkFlattenableReadBuffer& buffer) 14 int count = buffer.readS32(); 22 p->unflatten(buffer); 44 void SkPathHeap::flatten(SkFlattenableWriteBuffer& buffer) const { 47 buffer.write32(count); 51 (*iter)->flatten(buffer);
|
SkShape.cpp | 52 SkShape::SkShape(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) { 56 SkFlattenable* SkShape::CreateProc(SkFlattenableReadBuffer& buffer) { 57 return SkNEW_ARGS(SkShape, (buffer)); 64 void SkShape::flatten(SkFlattenableWriteBuffer& buffer) { 65 this->INHERITED::flatten(buffer);
|