/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 | 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);
|
/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/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/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/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/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)) {
|
/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[16]; local 148 HexDump(const void *buf, size_t size, size_t bytesPerLine) argument [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 72 sp<GraphicBuffer> buf; local 81 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf)); 89 ASSERT_EQ(OK, mBQ->requestBuffer(slot, &buf));
|
H A D | Surface_test.cpp | 104 ANativeWindowBuffer* buf = 0; local 106 status_t err = native_window_dequeue_buffer_and_wait(anw.get(), &buf); 113 &buf)); 116 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1)); 121 &buf)); 122 ASSERT_EQ(NO_ERROR, anw->queueBuffer(anw.get(), buf, -1));
|
/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];
|
/frameworks/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/base/core/java/android/net/ |
H A D | DhcpInfo.java | 67 private static void putAddress(StringBuffer buf, int addr) { argument 68 buf.append(NetworkUtils.intToInetAddress(addr).getHostAddress());
|
/frameworks/base/core/java/android/util/ |
H A D | LogWriter.java | 64 @Override public void write(char[] buf, int offset, int count) { argument 66 char c = buf[offset + i];
|
/frameworks/base/core/jni/ |
H A D | android_server_Watchdog.cpp | 32 char buf[64]; local 34 snprintf(buf, sizeof(buf), "/proc/%d/stack", tid); 35 int stackFd = open(buf, O_RDONLY); 38 strncat(buf, ":\n", sizeof(buf) - strlen(buf) - 1); 39 write(outFd, buf, strlen(buf)); 43 while ((nBytes = read(stackFd, buf, sizeo 56 char buf[128]; local [all...] |
/frameworks/native/libs/input/tests/ |
H A D | TestHelpers.h | 55 char buf[1]; local 56 ssize_t nRead = ::read(receiveFd, buf, 1);
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlingerConsumer.cpp | 70 int buf = item.mBuf; local 71 if (rejecter && rejecter->reject(mSlots[buf].mGraphicBuffer, item)) { 72 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, EGL_NO_SYNC_KHR);
|