/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 181 char buf[1024]; local 186 buf, sizeof(buf), 192 return _env->NewStringUTF(buf);
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdIntrinsicBlur.cpp | 164 float buf[4 * 2048]; local 173 float4 *fout = (float4 *)buf; 188 OneH(p, out, x1, (float4 *)buf, cp->fp, cp->iradius); 194 rsdIntrinsicBlurHF_K(out, ((float4 *)buf) - cp->iradius, cp->fp, cp->iradius * 2 + 1, x1, x2 - cp->iradius); 200 OneH(p, out, x1, (float4 *)buf, cp->fp, cp->iradius);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsContext.cpp | 155 char buf[PROPERTY_VALUE_MAX]; local 156 property_get(str, buf, "0"); 157 return atoi(buf);
|
H A D | rsStream.cpp | 24 IStream::IStream(const uint8_t *buf, bool use64) { argument 25 mData = buf;
|
H A D | rsThreadIO.cpp | 81 uint32_t buf; local 83 data = &buf; 84 dataLen = sizeof(buf); 91 uint32_t buf; local 93 data = &buf; 94 dataLen = sizeof(buf); 108 uint8_t buf[2 * 1024]; local 109 const CoreCmdHeader *cmd = (const CoreCmdHeader *)&buf[0]; 110 const void * data = (const void *)&buf[sizeof(CoreCmdHeader)]; 138 r = mToCore.read(&buf[ [all...] |
H A D | rsType.cpp | 146 char buf[1024]; local 154 snprintf(buf, sizeof(buf), "%s element: ", prefix); 155 mElement->dumpLOGV(buf);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 51 @Override public void write(char[] buf, int offset, int count) { argument 53 char c = buf[offset + i];
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | ByteArrayPool.java | 93 byte[] buf = mBuffersBySize.get(i); 94 if (buf.length >= len) { 95 mCurrentSize -= buf.length; 97 mBuffersByLastUse.remove(buf); 98 return buf; 108 * @param buf the buffer to return to the pool. 110 public synchronized void returnBuf(byte[] buf) { argument 111 if (buf == null || buf.length > mSizeLimit) { 114 mBuffersByLastUse.add(buf); [all...] |
/frameworks/rs/driver/ |
H A D | rsdBcc.cpp | 183 unsigned char buf[1024 * 8]; local 200 if (mtls->fep.yStrideOut < sizeof(buf)) { 201 p.out = buf; 205 memcpy(mtls->fep.ptrOut + (mtls->fep.yStrideOut * p.y), buf, mtls->fep.yStrideOut);
|
H A D | rsdIntrinsicBlur.cpp | 164 float buf[4 * 2048]; local 177 float4 *fout = (float4 *)buf; 192 OneH(p, out, x1, (float4 *)buf, cp->fp, cp->iradius); 198 rsdIntrinsicBlurHF_K(out, ((float4 *)buf) - cp->iradius, cp->fp, cp->iradius * 2 + 1, x1, x2 - cp->iradius); 204 OneH(p, out, x1, (float4 *)buf, cp->fp, cp->iradius);
|
H A D | rsdShader.cpp | 254 char* buf = (char*) malloc(infoLen); local 255 if (buf) { 256 RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, NULL, buf); 257 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf); 258 free(buf);
|
H A D | rsdShaderCache.cpp | 160 char* buf = (char*) malloc(bufLength); local 161 if (buf) { 162 glGetProgramInfoLog(pgm, bufLength, NULL, buf); 163 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf); 164 free(buf);
|
/frameworks/rs/ |
H A D | rsContext.cpp | 183 char buf[PROPERTY_VALUE_MAX]; local 184 property_get(str, buf, "0"); 185 return atoi(buf);
|
H A D | rsStream.cpp | 24 IStream::IStream(const uint8_t *buf, bool use64) { argument 25 mData = buf;
|
H A D | rsThreadIO.cpp | 81 uint32_t buf; local 83 data = &buf; 84 dataLen = sizeof(buf); 91 uint32_t buf; local 93 data = &buf; 94 dataLen = sizeof(buf); 108 uint8_t buf[2 * 1024]; local 109 const CoreCmdHeader *cmd = (const CoreCmdHeader *)&buf[0]; 110 const void * data = (const void *)&buf[sizeof(CoreCmdHeader)]; 138 r = mToCore.read(&buf[ [all...] |
H A D | rsType.cpp | 146 char buf[1024]; local 154 snprintf(buf, sizeof(buf), "%s element: ", prefix); 155 mElement->dumpLOGV(buf);
|
/frameworks/rs/tests/ |
H A D | compute.cpp | 41 uint32_t *buf = new uint32_t[t->getCount()]; local 43 buf[ct] = ct | (ct << 16); 45 //ain->copy1DRangeFrom(0, 128*128, (int32_t *)buf, 128*128*4); 46 ain->copy1DRangeFromUnchecked(0, t->getCount(), buf, t->getCount()*4);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatService.java | 356 ByteArrayOutputStream buf = new ByteArrayOutputStream(); 368 buf.write(tag); 369 buf.write(0x03); // length 370 buf.write(cmdDet.commandNumber); 371 buf.write(cmdDet.typeOfCommand); 372 buf.write(cmdDet.commandQualifier); 382 buf.write(tag); 383 buf.write(0x02); // length 384 buf.write(DEV_ID_TERMINAL); // source device id 385 buf 415 encodeOptionalTags(CommandDetails cmdDet, ResultCode resultCode, Input cmdInput, ByteArrayOutputStream buf) argument 444 getInKeyResponse(ByteArrayOutputStream buf, Input cmdInput) argument 453 getPliResponse(ByteArrayOutputStream buf) argument [all...] |
H A D | ResponseData.java | 36 public abstract void format(ByteArrayOutputStream buf); argument 38 public static void writeLength(ByteArrayOutputStream buf, int length) { argument 43 buf.write(0x81); 45 buf.write(length); 59 public void format(ByteArrayOutputStream buf) { argument 62 buf.write(tag); // tag 63 buf.write(1); // length 64 buf.write(id); // identifier of item chosen 98 public void format(ByteArrayOutputStream buf) { argument 99 if (buf 171 format(ByteArrayOutputStream buf) argument 209 format(ByteArrayOutputStream buf) argument [all...] |
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduComposer.java | 185 * Copy buf to mMessage. 187 protected void arraycopy(byte[] buf, int pos, int length) { argument 188 mMessage.write(buf, pos, length);
|
/frameworks/compile/slang/ |
H A D | slang-data.c | 47 unsigned char buf[256]; local 48 unsigned char *ptr = buf; 50 size_t nread = fread(buf, sizeof(char), sizeof(buf), infile); 74 fprintf(outfile, "\\x%02x", buf[i]); 80 if (nread != sizeof(buf)) {
|
H A D | slang_rs_reflection_cpp.cpp | 208 unsigned char buf[16]; local 212 while ((read_length = fread(buf, 1, sizeof(buf), pfin)) > 0) { 216 sprintf(buf2, "0x%02x,", buf[i]);
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 118 char *buf = (char *) malloc(size + 1); local 119 if (buf == NULL) { 123 int retval = klogctl(KLOG_READ_ALL, buf, size); 126 free(buf); 129 buf[retval] = '\0'; 130 printf("%s\n\n", buf); 131 free(buf); 250 char buf[PROPERTY_KEY_MAX + PROPERTY_VALUE_MAX + 10]; local 251 snprintf(buf, sizeof(buf), "[ [all...] |
/frameworks/native/include/utils/ |
H A D | Compat.h | 35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument 36 return pread(fd, buf, nbytes, offset);
|
H A D | Trace.h | 102 char buf[1024]; local 103 snprintf(buf, 1024, "C|%d|%s|%d", getpid(), name, value); 104 write(sTraceFD, buf, strlen(buf)); 110 char buf[1024]; local 111 size_t len = snprintf(buf, 1024, "B|%d|%s", getpid(), name); 112 write(sTraceFD, buf, len); 118 char buf = 'E'; local 119 write(sTraceFD, &buf, 1);
|