/frameworks/base/libs/hwui/debug/ |
D | NullGlesDriver.cpp | 79 void NullGlesDriver::glGetProgramInfoLog_(GLuint program, GLsizei bufSize, GLsizei* length, in glGetProgramInfoLog_() argument 81 *length = snprintf(infoLog, bufSize, "success"); in glGetProgramInfoLog_() 82 if (*length >= bufSize) { in glGetProgramInfoLog_() 83 *length = bufSize - 1; in glGetProgramInfoLog_() 95 void NullGlesDriver::glGetShaderInfoLog_(GLuint shader, GLsizei bufSize, GLsizei* length, in glGetShaderInfoLog_() argument 97 *length = snprintf(infoLog, bufSize, "success"); in glGetShaderInfoLog_() 98 if (*length >= bufSize) { in glGetShaderInfoLog_() 99 *length = bufSize - 1; in glGetShaderInfoLog_()
|
D | gles_stubs.in | 163 void API_ENTRY(glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, G… 164 CALL_GL_API(glGetActiveAttrib, program, index, bufSize, length, size, type, name); 166 void API_ENTRY(glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, … 167 CALL_GL_API(glGetActiveUniform, program, index, bufSize, length, size, type, name); 196 void API_ENTRY(glGetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoL… 197 CALL_GL_API(glGetProgramInfoLog, program, bufSize, length, infoLog); 205 void API_ENTRY(glGetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog… 206 CALL_GL_API(glGetShaderInfoLog, shader, bufSize, length, infoLog); 211 void API_ENTRY(glGetShaderSource)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) { 212 CALL_GL_API(glGetShaderSource, shader, bufSize, length, source); [all …]
|
D | gles_decls.in | 55 GL_ENTRY(void, glGetActiveAttrib, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, G… 56 GL_ENTRY(void, glGetActiveUniform, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, … 66 GL_ENTRY(void, glGetProgramInfoLog, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoL… 69 GL_ENTRY(void, glGetShaderInfoLog, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) 71 GL_ENTRY(void, glGetShaderSource, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) 181 GL_ENTRY(void, glGetTransformFeedbackVarying, GLuint program, GLuint index, GLsizei bufSize, GLsize… 209 …ctiveUniformBlockName, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length,… 219 GL_ENTRY(void, glGetSynciv, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *val… 239 GL_ENTRY(void, glGetProgramBinary, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binary… 246 …ternalformativ, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params) [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | proto_util.cpp | 36 status_t write_header_section(int fd, const uint8_t* buf, size_t bufSize) { in write_header_section() argument 39 if (bufSize == 0) { in write_header_section() 43 err = write_section_header(fd, FIELD_ID_INCIDENT_HEADER, bufSize); in write_header_section() 48 err = WriteFully(fd, buf, bufSize); in write_header_section()
|
D | proto_util.h | 35 status_t write_header_section(int fd, const uint8_t* buf, size_t bufSize);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES32.spec | 6 GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint… 10 void glGetObjectLabel ( GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *l… 12 void glGetObjectPtrLabel ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label ) 28 …, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data ) 29 void glGetnUniformfv ( GLuint program, GLint location, GLsizei bufSize, GLfloat *params ) 30 void glGetnUniformiv ( GLuint program, GLint location, GLsizei bufSize, GLint *params ) 31 void glGetnUniformuiv ( GLuint program, GLint location, GLsizei bufSize, GLuint *params )
|
D | checks.spec | 79 glGetnUniformfv check params bufSize 80 glGetnUniformiv check params bufSize 81 glGetnUniformuiv check params bufSize 95 glReadnPixels check data bufSize
|
D | GLES31Ext.spec | 5 GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLu… 9 void glGetObjectLabelKHR ( GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar… 11 void glGetObjectPtrLabelKHR ( const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label )
|
/frameworks/av/media/extractors/mpeg2/ |
D | MPEG2PSExtractor.cpp | 721 size_t bufSize; in read() local 722 if (inMeta.findData(kKeyCryptoIV, &bufType, &bufData, &bufSize)) { in read() 723 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read() 725 if (inMeta.findData(kKeyCryptoKey, &bufType, &bufData, &bufSize)) { in read() 726 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read() 728 if (inMeta.findData(kKeyPlainSizes, &bufType, &bufData, &bufSize)) { in read() 729 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read() 731 if (inMeta.findData(kKeyEncryptedSizes, &bufType, &bufData, &bufSize)) { in read() 732 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read() 734 if (inMeta.findData(kKeySEI, &bufType, &bufData, &bufSize)) { in read() [all …]
|
D | MPEG2TSExtractor.cpp | 211 size_t bufSize; in read() local 212 if (inMeta.findData(kKeyCryptoIV, &bufType, &bufData, &bufSize)) { in read() 213 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_IV, bufData, bufSize); in read() 215 if (inMeta.findData(kKeyCryptoKey, &bufType, &bufData, &bufSize)) { in read() 216 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, bufData, bufSize); in read() 218 if (inMeta.findData(kKeyPlainSizes, &bufType, &bufData, &bufSize)) { in read() 219 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, bufData, bufSize); in read() 221 if (inMeta.findData(kKeyEncryptedSizes, &bufType, &bufData, &bufSize)) { in read() 222 AMediaFormat_setBuffer(outMeta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, bufData, bufSize); in read() 224 if (inMeta.findData(kKeySEI, &bufType, &bufData, &bufSize)) { in read() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES32.java | 313 int bufSize, in glGetDebugMessageLog() argument 545 int bufSize, in glReadnPixels() argument 554 int bufSize, in glGetnUniformfv() argument 564 int bufSize, in glGetnUniformfv() argument 573 int bufSize, in glGetnUniformiv() argument 583 int bufSize, in glGetnUniformiv() argument 592 int bufSize, in glGetnUniformuiv() argument 602 int bufSize, in glGetnUniformuiv() argument
|
/frameworks/av/media/libstagefright/foundation/ |
D | base64.cpp | 31 size_t bufSize = n / 4 * 3; in decodeBase64() local 32 sp<ABuffer> buf = new ABuffer(bufSize); in decodeBase64() 34 if (decodeBase64(buf->data(), &bufSize, s.c_str())) { in decodeBase64() 35 buf->setRange(0, bufSize); in decodeBase64()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 53 size_t bufSize, size_t start, size_t count, in doLayout() argument 58 const minikin::U16StringPiece textBuf(buf, bufSize); in doLayout() 74 size_t count, size_t bufSize, float* advances) { in measureText() argument 76 const minikin::U16StringPiece textBuf(buf, bufSize); in measureText()
|
D | MinikinUtils.h | 47 size_t bufSize, size_t start, size_t count, 53 size_t start, size_t count, size_t bufSize,
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 109 bool Append(uint8_t* buf, size_t bufSize) override { in Append() argument 110 if (mBytesWritten + bufSize > mOutputSize) { in Append() 114 memcpy(mOutput + mBytesWritten, buf, bufSize); in Append() 115 mBytesWritten += bufSize; in Append()
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache_test.cpp | 160 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE + 1 }; in TEST_F() enumerator 163 char buf[bufSize]; in TEST_F() 167 for (int i = 0; i < bufSize; i++) { in TEST_F() 210 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE }; in TEST_F() enumerator 213 char buf[bufSize]; in TEST_F() 217 for (int i = 0; i < bufSize; i++) { in TEST_F() 221 mBC->set(key, MAX_KEY_SIZE, buf, bufSize); in TEST_F() 222 ASSERT_EQ(size_t(bufSize), mBC->get(key, MAX_KEY_SIZE, nullptr, 0)); in TEST_F()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioFormatAdapter.h | 49 template<class T, size_t bufSize> 65 mMaxSamplesPerCall = bufSize / nChannels; in configure() 116 audio_sample_t mBuffer[bufSize];
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2_api.in | 163 void API_ENTRY(glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, G… 164 CALL_GL_API(glGetActiveAttrib, program, index, bufSize, length, size, type, name); 166 void API_ENTRY(glGetActiveUniform)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, … 167 CALL_GL_API(glGetActiveUniform, program, index, bufSize, length, size, type, name); 196 void API_ENTRY(glGetProgramInfoLog)(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoL… 197 CALL_GL_API(glGetProgramInfoLog, program, bufSize, length, infoLog); 205 void API_ENTRY(glGetShaderInfoLog)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog… 206 CALL_GL_API(glGetShaderInfoLog, shader, bufSize, length, infoLog); 211 void API_ENTRY(glGetShaderSource)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) { 212 CALL_GL_API(glGetShaderSource, shader, bufSize, length, source); [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistory.java | 286 int bufSize = p.readInt(); in getNextParcel() local 288 mCurrentParcelEnd = curPos + bufSize; in getNextParcel() 306 final int bufSize = p.readInt(); in getNextParcel() local 308 mCurrentParcelEnd = curPos + bufSize; in getNextParcel()
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache_test.cpp | 226 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE + 1 }; in TEST_P() enumerator 229 char buf[bufSize]; in TEST_P() 233 for (int i = 0; i < bufSize; i++) { in TEST_P() 276 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE }; in TEST_P() enumerator 279 char buf[bufSize]; in TEST_P() 283 for (int i = 0; i < bufSize; i++) { in TEST_P() 287 mBC->set(key, MAX_KEY_SIZE, buf, bufSize); in TEST_P() 288 ASSERT_EQ(size_t(bufSize), mBC->get(key, MAX_KEY_SIZE, NULL, 0)); in TEST_P()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 1018 constexpr size_t bufSize = 64*1024; in dumpTrace() local 1019 std::unique_ptr<uint8_t> in(new uint8_t[bufSize]); in dumpTrace() 1020 std::unique_ptr<uint8_t> out(new uint8_t[bufSize]); in dumpTrace() 1030 zs.avail_out = bufSize; in dumpTrace() 1036 result = read(traceFD, in.get(), bufSize); in dumpTrace() 1052 result = write(outFd, out.get(), bufSize); in dumpTrace() 1053 if ((size_t)result < bufSize) { in dumpTrace() 1057 zs.avail_out = bufSize; // skip the final write in dumpTrace() 1061 zs.avail_out = bufSize; in dumpTrace() 1070 if (zs.avail_out < bufSize) { in dumpTrace() [all …]
|
/frameworks/base/core/jni/ |
D | android_opengl_GLES32.cpp | 595 …(JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset,… in android_glGetDebugMessageLog__II_3II_3II_3II_3II_3II_3BI() argument 1012 …s, jint x, jint y, jint width, jint height, jint format, jint type, jint bufSize, jobject data_buf… in android_glReadnPixels__IIIIIIILjava_nio_Buffer_2() argument 1028 if (_remaining < bufSize) { in android_glReadnPixels__IIIIIIILjava_nio_Buffer_2() 1045 (GLsizei)bufSize, in android_glReadnPixels__IIIIIIILjava_nio_Buffer_2() 1061 …(JNIEnv *_env, jobject _this, jint program, jint location, jint bufSize, jfloatArray params_ref, j… in android_glGetnUniformfv__III_3FI() argument 1082 if (_remaining < bufSize) { in android_glGetnUniformfv__III_3FI() 1095 (GLsizei)bufSize, in android_glGetnUniformfv__III_3FI() 1112 (JNIEnv *_env, jobject _this, jint program, jint location, jint bufSize, jobject params_buf) { in android_glGetnUniformfv__IIILjava_nio_FloatBuffer_2() argument 1128 if (_remaining < bufSize) { in android_glGetnUniformfv__IIILjava_nio_FloatBuffer_2() 1141 (GLsizei)bufSize, in android_glGetnUniformfv__IIILjava_nio_FloatBuffer_2() [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glGetActiveUniformBlockName.java | 6 int bufSize, in glGetActiveUniformBlockName() argument
|
D | glGetActiveUniformBlockName.cpp | 4 …(JNIEnv* _env, jobject _this, jint program, jint uniformBlockIndex, int bufSize, jintArray length_… in android_glGetActiveUniformBlockName_III_3II_3BI() argument 48 (GLsizei)bufSize, in android_glGetActiveUniformBlockName_III_3II_3BI()
|
/frameworks/native/opengl/include/GLES3/ |
D | gl32.h | 439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize… 440 …ENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length,… 450 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *l… 453 typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *len… 455 typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *leng… 582 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsiz… 583 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsi… 593 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, … 596 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GL… 598 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLc… [all …]
|