/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestWebServer.java | 329 byte[] buf; field in class:TestWebServer.Worker 356 buf = new byte[BUF_SIZE]; 426 buf[i] = 0; 450 buf[read] = (byte)data; 455 if (buf[read++]==(byte)'\n') { 477 byte[] buf = new byte[length]; 481 count = is.read(buf, read, length-read); 510 if (buf[0] == (byte)'G' && 511 buf[1] == (byte)'E' && 512 buf[ [all...] |
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 588 char buf[16384]; local 609 len = read(fd, buf, sizeof(buf)); 610 done = len < (ssize_t)sizeof(buf); 616 if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) {
|
/frameworks/minikin/libs/minikin/ |
H A D | Hyphenator.cpp | 75 const uint8_t* buf(uint32_t entry) const { function in struct:android::Pattern 211 // into the buf pool. This is the pattern for the substring (i..j) we just matched, 217 const uint8_t* pat_buf = pattern->buf(pat_entry);
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferConsumer.cpp | 110 virtual status_t releaseBuffer(int buf, uint64_t frameNumber, argument 115 data.writeInt32(buf); 315 int buf = data.readInt32(); local 320 status_t result = releaseBuffer(buf, frameNumber,
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
H A D | gl2_copyTexImage.cpp | 87 char* buf = (char*) malloc(infoLen); local 88 if (buf) { 89 glGetShaderInfoLog(shader, infoLen, NULL, buf); 91 shaderType, buf); 92 free(buf); 126 char* buf = (char*) malloc(bufLength); local 127 if (buf) { 128 glGetProgramInfoLog(program, bufLength, NULL, buf); 129 fprintf(stderr, "Could not link program:\n%s\n", buf); 130 free(buf); [all...] |
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 94 char* buf = (char*) malloc(infoLen); local 95 if (buf) { 96 glGetShaderInfoLog(shader, infoLen, NULL, buf); 98 shaderType, buf); 99 free(buf); 103 char* buf = (char*) malloc(0x1000); local 104 if (buf) { 105 glGetShaderInfoLog(shader, 0x1000, NULL, buf); 107 shaderType, buf); 108 free(buf); 142 char* buf = (char*) malloc(bufLength); local 203 char* buf = NULL; local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | common.cpp | 222 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local 223 if (buf) { 226 buf += position << elementSizeShift; 231 return (void*) buf;
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 175 void* buf = _env->GetDirectBufferAddress(buffer); local 176 if (buf) { 179 buf = ((char*) buf) + (position << elementSizeShift); 185 buf = getPointer(_env, buffer, &array, &remaining, &offset); 187 releasePointer(_env, array, buf, 0); 189 buf = (char*)buf + offset; 195 return buf;
|
/frameworks/native/services/sensorservice/ |
H A D | SensorEventConnection.cpp | 550 unsigned char buf[sizeof(sensors_event_t)]; local 551 ssize_t numBytesRead = ::recv(fd, buf, sizeof(buf), MSG_DONTWAIT); 562 memcpy(&sensor_event, buf, sizeof(sensors_event_t)); 577 memcpy(&numAcks, buf, numBytesRead);
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 55 status_t MonitoredProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument 56 return mProducer->requestBuffer(slot, buf);
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | jni_helper.cpp | 146 bool JNIHelper::getStringFieldValue(jobject obj, const char *name, char *buf, int size) argument 169 strncpy(buf, utf, size); 171 buf[size - 1] = 0; 244 void JNIHelper::getByteArrayField(jobject obj, const char *name, byte* buf, int size) { argument 264 memcpy(buf, elem, size);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBlur.cpp | 286 float4 *buf = &stackbuf[0]; local 315 buf = (float4 *) ((((intptr_t)cp->mScratch[info->lid]) + 15) & ~0xf); 317 float4 *fout = (float4 *)buf; 333 OneHU4(info, out, x1, buf, cp->mFp, cp->mIradius); 340 rsdIntrinsicBlurHFU4_K(out, buf - cp->mIradius, cp->mFp, 348 OneHU4(info, out, x1, buf, cp->mFp, cp->mIradius); 357 float buf[4 * 2048]; local 383 float *fout = (float *)buf; 400 OneHU1(info, out, x1, buf, cp->mFp, cp->mIradius); 410 rsdIntrinsicBlurHFU1_K(out, ((float *)buf) [all...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 254 char* buf = (char*) malloc(infoLen); local 255 if (buf) { 256 RSD_CALL_GL(glGetShaderInfoLog, mCurrentState->mShaderID, infoLen, nullptr, buf); 257 rsc->setError(RS_ERROR_FATAL_PROGRAM_LINK, buf); 258 free(buf);
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 660 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 666 if (buf.data != NULL && buf.length > 0) { 667 data.writeInt32(buf.length); 668 data.write(buf.data, buf.length); 1372 DrmBuffer buf((bufferSize > 0) ? (char *)data.readInplace(bufferSize) : NULL, 1376 DecryptHandle* handle = openDecryptSession(uniqueId, buf, mimeType); 659 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 463 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 475 result = rDrmEngine.openDecryptSession(uniqueId, handle, buf, mimeType); 462 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
|
H A D | DrmManagerService.cpp | 286 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 289 return mDrmManager->openDecryptSession(uniqueId, buf, mimeType); 285 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 278 int uniqueId, const DrmBuffer& buf, const String8& mimeType) { 279 return getDrmManagerService()->openDecryptSession(uniqueId, buf, mimeType); 277 openDecryptSession( int uniqueId, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 377 uint8_t *buf = pContext->mCaptureBuf; local 387 buf[captIdx] = ((uint8_t)smp)^0x80;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 790 const sp<ABuffer> &buf = mInputBuffers[ix]; local 791 if (buf->data() == mediaBuffer->data()) {
|
H A D | NuPlayerDriver.cpp | 658 char buf[256] = {0}; local 665 snprintf(buf, sizeof(buf), " mime(%s)\n", mime.c_str()); 666 logString.append(buf); 671 snprintf(buf, sizeof(buf), " decoder(%s)\n", name.c_str()); 672 logString.append(buf); 679 snprintf(buf, sizeof(buf), " resolution(%d x %d)\n", width, height); 680 logString.append(buf); [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 98 uint8_t buf[kMaxReadBytes]; local 103 uint8_t *tmp = buf; 116 memcpy(buf, tmp, remainingBytes); 125 buf + remainingBytes, 133 tmp = buf;
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 143 static void ivd_aligned_free(void *ctxt, void *buf) { argument 145 free(buf);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 100 static void ivd_aligned_free(void *ctxt, void *buf) { argument 102 free(buf);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ColorUtils.cpp | 645 sp<ABuffer> buf; local 646 if (!format->findBuffer("hdr-static-info", &buf)) { 651 if (buf->size() != 25 /* static Metadata Type 1 size */) { 652 ALOGW("Ignore invalid HDRStaticInfo with size: %zu", buf->size()); 656 const uint8_t *data = buf->data();
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 209 char* buf = (char*) malloc(infoLen); local 210 if (buf) { 211 glGetShaderInfoLog(shader, infoLen, NULL, buf); 212 printf("Shader compile log:\n%s\n", buf); 213 free(buf); 217 char* buf = (char*) malloc(0x1000); local 218 if (buf) { 219 glGetShaderInfoLog(shader, 0x1000, NULL, buf); 220 printf("Shader compile log:\n%s\n", buf); 221 free(buf); 265 char* buf = (char*) malloc(bufLength); local 536 fillYV12Buffer(uint8_t* buf, int w, int h, int stride) argument 566 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument [all...] |