/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | wrapper_output.cpp | 19 bool WrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { argument 22 if (!Write(buffer[i])) return false;
|
H A D | file_wrapper_output.cpp | 38 bool FileWrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { argument 39 if (!buffer) { 44 return buffer_size == fwrite(buffer, 1, buffer_size, _file);
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glBindVertexBuffer.java | 1 // C function void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) 5 int buffer, 3 glBindVertexBuffer( int bindingindex, int buffer, long offset, int stride ) argument
|
H A D | glBindVertexBuffer.cpp | 1 /* void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) */ 4 (JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) { 11 (GLuint)buffer, 3 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
|
/frameworks/wilhelm/src/ |
H A D | interfaces.c | 136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 141 strcpy(buffer, "MPH"); 142 strcpy(&buffer[3], infix); 143 strcat(buffer, "_"); 144 strcat(buffer, interface_names[MPH]);
|
/frameworks/wilhelm/tools/hashgen/ |
H A D | interfaces.c | 136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 141 strcpy(buffer, "MPH"); 142 strcpy(&buffer[3], infix); 143 strcat(buffer, "_"); 144 strcat(buffer, interface_names[MPH]);
|
H A D | frag3.c | 4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]); 18 char buffer[40]; local 19 buffer[39] = 'x'; 20 MPH_to_MPH_string(MPH, buffer); 21 assert('x' == buffer[39]); 22 printf(" %s", buffer);
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.h | 12 uint8_t buffer[64]; member in struct:__anon1069
|
/frameworks/native/cmds/bugreport/ |
H A D | bugreport.c | 25 char buffer[65536]; local 48 int length = read(s, buffer, sizeof(buffer)); 51 fwrite(buffer, 1, length, stdout);
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
H A D | eglCreatePbufferFromClientBuffer.java | 1 // C function EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list ) 6 int buffer, 18 long buffer, 3 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset ) argument 15 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, long buffer, EGLConfig config, int[] attrib_list, int offset ) argument
|
/frameworks/av/include/private/media/ |
H A D | AudioEffectShared.h | 29 // Size of buffer used to exchange parameters between application and mediaserver processes. 40 uint8_t* buffer; // start of parameter buffer member in struct:android::effect_param_cblk_t
|
/frameworks/base/media/java/android/media/ |
H A D | DataSource.java | 31 * @param buffer the buffer to read the data into 35 public int readAt(long offset, byte[] buffer, int size); argument
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Demangle.cpp | 29 char* buffer = abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, local 34 std::string result(buffer); 35 free(buffer);
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureGLToGL_test.cpp | 40 // Start a buffer with our chosen size and transform hint moving 50 // The current buffer should either show the effects of the transform 91 // This is needed to ensure we pick up a buffer of the correct size. 188 // This test should have the only reference to buffer 0. 191 // The GLConsumer should hold a single reference to buffer 1 in its 250 sp<GraphicBuffer> buffer; local 270 buffer = mST->getCurrentBuffer(); 276 // make un-current, all references to buffer should be gone 283 EXPECT_EQ(1, buffer->getStrongCount()); 287 sp<GraphicBuffer> buffer; local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | record.cpp | 53 // that the buffer size mSize it set correctly above. 78 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { 85 status_t err = mGroup.acquire_buffer(buffer); 91 memset((*buffer)->data(), x, mSize); 92 (*buffer)->set_range(0, mSize); 93 (*buffer)->meta_data()->clear(); 94 (*buffer)->meta_data()->setInt64( 98 // printf("DummySource::read - returning buffer\n"); 99 // ALOGI("DummySource::read - returning buffer"); 243 MediaBuffer *buffer; 335 MediaBuffer *buffer; local [all...] |
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { argument 68 *buffer = new char[length]; 69 if (length != read(fd, (void*) *buffer, length)) {
|
/frameworks/av/media/libnbaio/ |
H A D | LibsndfileSink.cpp | 37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) argument 45 sf_count_t actual = sf_writef_short(mSndfile, (short *) buffer, (sf_count_t) count);
|
H A D | LibsndfileSource.cpp | 46 ssize_t LibsndfileSource::read(void *buffer, size_t count) argument 54 sf_count_t actual = sf_readf_short(mSndfile, (short *) buffer, (sf_count_t) count);
|
H A D | Pipe.cpp | 28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : argument 31 mBuffer(buffer == NULL ? malloc(mMaxFrames * Format_frameSize(format)) : buffer), 34 mFreeBufferInDestructor(buffer == NULL) 46 ssize_t Pipe::write(const void *buffer, size_t count) argument 58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize); 64 memcpy(mBuffer, (char *) buffer + (written * mFrameSize), count * mFrameSize);
|
/frameworks/av/media/libstagefright/ |
H A D | DataURISource.cpp | 37 sp<ABuffer> buffer; local 51 buffer = decodeBase64(encoded); 53 if (buffer == NULL) { 60 buffer = new ABuffer(dataLen); 61 memcpy(buffer->data(), commaPos + 1, dataLen); 73 return new DataURISource(buffer); 76 DataURISource::DataURISource(const sp<ABuffer> &buffer) argument 77 : mBuffer(buffer) {
|
H A D | MediaAdapter.cpp | 68 void MediaAdapter::signalBufferReturned(MediaBuffer *buffer) { argument 70 CHECK(buffer != NULL); 71 buffer->setObserver(0); 72 buffer->release(); 73 ALOGV("buffer returned %p", buffer); 78 MediaBuffer **buffer, const ReadOptions * /* options */) { 98 *buffer = mCurrentMediaBuffer; 100 (*buffer)->setObserver(this); 105 status_t MediaAdapter::pushBuffer(MediaBuffer *buffer) { argument 77 read( MediaBuffer **buffer, const ReadOptions * ) argument [all...] |
H A D | MediaBufferGroup.cpp | 33 for (MediaBuffer *buffer = mFirstBuffer; buffer != NULL; 34 buffer = next) { 35 next = buffer->nextBuffer(); 37 CHECK_EQ(buffer->refcount(), 0); 39 buffer->setObserver(NULL); 40 buffer->release(); 44 void MediaBufferGroup::add_buffer(MediaBuffer *buffer) { argument 47 buffer->setObserver(this); 50 mLastBuffer->setNextBuffer(buffer); [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG2TSAssembler.cpp | 76 sp<ABuffer> buffer = *queue->begin(); local 80 mNextExpectedSeqNo = (uint32_t)buffer->int32Data(); 81 } else if ((uint32_t)buffer->int32Data() != mNextExpectedSeqNo) { 87 // hexdump(buffer->data(), buffer->size()); 89 if ((buffer->size() % 188) > 0) { 99 msg->setBuffer("access-unit", buffer);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | DummyRecorder.cpp | 78 MediaBuffer *buffer; local 80 while (mStarted && (err = mSource->read(&buffer)) == OK){ 81 // if not getting a valid buffer from source, then exit 82 if (buffer == NULL) { 85 buffer->release(); 86 buffer = NULL;
|
/frameworks/av/media/mediaserver/ |
H A D | main_mediaserver.cpp | 69 char buffer[32]; local 91 snprintf(buffer, sizeof(buffer), "unknown (%d)", info.si_code); 92 code = buffer;
|