/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | Properties.h | 29 char buf[PROPERTY_VALUE_MAX]; local 30 property_get(str, buf, "0"); 31 return atoi(buf);
|
/frameworks/base/core/java/android/database/ |
H A D | CharArrayBuffer.java | 27 public CharArrayBuffer(char[] buf) { argument 28 data = buf;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetProgramInfoLog.cpp | 10 char* buf = (char*) malloc(infoLen); local 11 if (buf == NULL) { 15 glGetProgramInfoLog(shader, infoLen, NULL, buf); 16 jstring result = _env->NewStringUTF(buf); 17 free(buf);
|
H A D | glGetProgramPipelineInfoLog.cpp | 10 char* buf = (char*) malloc(infoLen); local 11 if (buf == NULL) { 15 glGetProgramPipelineInfoLog(shader, infoLen, NULL, buf); 16 jstring result = _env->NewStringUTF(buf); 17 free(buf);
|
H A D | glGetShaderInfoLog.cpp | 10 char* buf = (char*) malloc(infoLen); local 11 if (buf == NULL) { 15 glGetShaderInfoLog(shader, infoLen, NULL, buf); 16 jstring result = _env->NewStringUTF(buf); 17 free(buf);
|
H A D | glDebugMessageInsertKHR.cpp | 1 /* void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf ) */ 4 (JNIEnv *_env, jobject _this, jint source, jint type, jint id, jint severity, jstring buf) { 11 if (!buf) { 14 _exceptionMessage = "buf == null"; 17 _nativebuf = _env->GetStringUTFChars(buf, 0); 18 _length = _env->GetStringUTFLength(buf); 31 _env->ReleaseStringUTFChars(buf, _nativebuf); 3 android_glDebugMessageInsertKHR__IIIILjava_lang_String_2(JNIEnv *_env, jobject _this, jint source, jint type, jint id, jint severity, jstring buf) argument
|
/frameworks/rs/cpu_ref/linkloader/include/ |
H A D | ELFSectionStrTab.h | 32 std::vector<char> buf; member in class:ELFSectionStrTab 44 return &*buf.begin() + index;
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | Sha1Util.cpp | 41 char buf[256]; local 43 ssize_t nread = file.read(buf, sizeof(buf)); 51 reinterpret_cast<unsigned char *>(buf), 54 if (static_cast<size_t>(nread) < sizeof(buf)) {
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGLToGL_test.cpp | 53 sp<GraphicBuffer> buf = mST->getCurrentBuffer(); local 55 ASSERT_EQ(texWidth, buf->getHeight()); 56 ASSERT_EQ(texHeight, buf->getWidth()); 58 ASSERT_EQ(texWidth, buf->getWidth()); 59 ASSERT_EQ(texHeight, buf->getHeight()); 71 buf = mST->getCurrentBuffer(); 73 ASSERT_EQ(texWidth, buf->getWidth()); 74 ASSERT_EQ(texHeight, buf->getHeight());
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 91 const DrmBuffer& buf, const String8& mimeType); 444 * @param[in] buf Data to initiate decrypt session 450 const DrmBuffer& buf, const String8& mimeType) { 449 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, const DrmBuffer& buf, const String8& mimeType) argument
|
/frameworks/av/media/img_utils/src/ |
H A D | ByteArrayOutput.cpp | 32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 33 if (mByteArray.appendArray(buf + offset, count) < 0) {
|
H A D | FileInput.cpp | 48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { argument 54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
|
H A D | FileOutput.cpp | 47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioWatchdog.cpp | 30 char buf[32]; local 33 ctime_r(&mMostRecent, buf); 35 strcpy(buf, "N/A\n"); 38 mUnderruns, mLogs, buf);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseInputStream.java | 50 * @param buf a byte array containing data 52 public BitwiseInputStream(byte buf[]) { argument 53 mBuf = buf; 54 mEnd = buf.length << 3;
|
/frameworks/base/libs/hwui/utils/ |
H A D | TraceUtils.h | 42 char buf[BUFFER_SIZE]; local 45 vsnprintf(buf, BUFFER_SIZE, fmt, ap); 48 ATRACE_BEGIN(buf);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ByteBufferInputStream.java | 26 public ByteBufferInputStream(ByteBuffer buf) { argument 27 mBuf = buf;
|
/frameworks/base/tools/aapt/ |
H A D | printapk.cpp | 31 void* buf; local 58 buf = malloc(size); 59 if (buf == NULL) { 64 amt = read(fd, buf, size); 72 zip = init_zipfile(buf, size);
|
/frameworks/minikin/libs/minikin/ |
H A D | GraphemeBreak.cpp | 25 bool GraphemeBreak::isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, argument 36 if (U16_IS_TRAIL(buf[offset])) { 43 U16_PREV(buf, start, offset_back, c1); 44 U16_NEXT(buf, offset, count, c2); 100 size_t GraphemeBreak::getTextRunCursor(const uint16_t* buf, size_t start, size_t count, argument 109 while (!isGraphemeBreak(buf, start, count, offset)) { 119 while (!isGraphemeBreak(buf, start, count, offset)) { 124 if (!isGraphemeBreak(buf, start, count, offset)) {
|
/frameworks/native/include/gui/ |
H A D | BufferQueueConsumer.h | 152 virtual status_t releaseBuffer(int buf, uint64_t frameNumber, argument 155 return releaseBuffer(buf, frameNumber, releaseFence, display, fence);
|
/frameworks/native/libs/binder/ |
H A D | TextOutput.cpp | 49 char buf[16]; local 50 sprintf(buf, "%d", val); 51 to.print(buf, strlen(buf)); 57 char buf[16]; local 58 sprintf(buf, "%ld", val); 59 to.print(buf, strlen(buf)); 65 char buf[16]; local 66 sprintf(buf, " 73 char buf[16]; local 81 char buf[32]; local 89 char buf[32]; local 97 char buf[64]; local 119 char buf[32]; local 148 HexDump(const void *buf, size_t size, size_t bytesPerLine) argument [all...] |
/frameworks/native/opengl/tests/EGLTest/ |
H A D | egl_cache_test.cpp | 44 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local 46 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); 47 ASSERT_EQ(0xee, buf[0]); 48 ASSERT_EQ(0xee, buf[1]); 49 ASSERT_EQ(0xee, buf[2]); 50 ASSERT_EQ(0xee, buf[3]); 54 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local 57 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); 58 ASSERT_EQ('e', buf[0]); 59 ASSERT_EQ('f', buf[ 65 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local 97 char buf[4] = { 0xee, 0xee, 0xee, 0xee }; local [all...] |
/frameworks/rs/tests/cppallocation/ |
H A D | compute.cpp | 38 uint32_t* buf = new uint32_t[numElems]; local 40 buf[ct] = (uint32_t)ct; 43 ain->copy1DRangeFrom(0, numElems, buf); 47 aout->copy1DRangeTo(0, numElems, buf); 50 if (buf[ct] != ct * 2) { 51 printf("Mismatch at location %d: %u\n", ct, buf[ct]);
|
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 40 uint32_t* buf = (uint32_t*) malloc(stride * numElems * sizeof(uint32_t)); local 41 if (!buf) { 48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems); 52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t)); 56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); 60 if (*(buf+(stride*i)+ct) != (uint32_t)(ct + (i * numElems)) * 2) { 61 printf("Mismatch at location %d, %d: %u\n", i, ct, *(buf+(stride*i)+ct));
|
/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];
|