/frameworks/base/media/libdrm/mobile1/src/objmng/ |
D | drm_i18n.c | 44 static int32_t wcToLatin1(uint16_t wc, uint8_t * mbs, int32_t bufSize); 56 static int32_t wcToUtf8(uint16_t wc, uint8_t * mbs, int32_t bufSize); 68 static int32_t wcToUtf16be(uint16_t wc, uint8_t * mbs, int32_t bufSize); 80 static int32_t wcToUtf16le(uint16_t wc, uint8_t * mbs, int32_t bufSize); 239 int32_t wcToLatin1(uint16_t wc, uint8_t * mbs, int32_t bufSize) in wcToLatin1() argument 248 if (mbs && bufSize > 0) in wcToLatin1() 352 int32_t wcToUtf8(uint16_t wc, uint8_t * mbs, int32_t bufSize) in wcToUtf8() argument 355 if (mbs && (bufSize >= 1)) { in wcToUtf8() 360 if (mbs && (bufSize >= 2)) { in wcToUtf8() 366 if (mbs && (bufSize >= 3)) { in wcToUtf8() [all …]
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 7 void API_ENTRY(glGetProgramBinaryOES)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *bin… 8 CALL_GL_API(glGetProgramBinaryOES, program, bufSize, length, binaryFormat, binary); 58 void API_ENTRY(glGetPerfMonitorGroupStringAMD)(GLuint group, GLsizei bufSize, GLsizei *length, GLch… 59 CALL_GL_API(glGetPerfMonitorGroupStringAMD, group, bufSize, length, groupString); 61 void API_ENTRY(glGetPerfMonitorCounterStringAMD)(GLuint group, GLuint counter, GLsizei bufSize, GLs… 62 CALL_GL_API(glGetPerfMonitorCounterStringAMD, group, counter, bufSize, length, counterString); 100 void API_ENTRY(glGetObjectLabelEXT)(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, G… 101 CALL_GL_API(glGetObjectLabelEXT, type, object, bufSize, length, label); 151 … GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) { 152 CALL_GL_API(glReadnPixelsEXT, x, y, width, height, format, type, bufSize, data); [all …]
|
/frameworks/native/libs/utils/tests/ |
D | BlobCache_test.cpp | 151 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE + 1 }; in TEST_F() enumerator 154 char buf[bufSize]; in TEST_F() 158 for (int i = 0; i < bufSize; i++) { in TEST_F() 201 enum { bufSize = MAX_TOTAL_SIZE - MAX_KEY_SIZE }; in TEST_F() enumerator 204 char buf[bufSize]; in TEST_F() 208 for (int i = 0; i < bufSize; i++) { in TEST_F() 212 mBC->set(key, MAX_KEY_SIZE, buf, bufSize); in TEST_F() 213 ASSERT_EQ(size_t(bufSize), mBC->get(key, MAX_KEY_SIZE, NULL, 0)); in TEST_F()
|
/frameworks/base/core/java/com/android/internal/backup/ |
D | LocalTransport.java | 105 int bufSize = 512; in performBackup() local 106 byte[] buf = new byte[bufSize]; in performBackup() 123 if (dataSize > bufSize) { in performBackup() 124 bufSize = dataSize; in performBackup() 125 buf = new byte[bufSize]; in performBackup()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioFormatAdapter.h | 49 template<class T, size_t bufSize> 65 mMaxSamplesPerCall = bufSize / nChannels; in configure() 115 audio_sample_t mBuffer[bufSize];
|
/frameworks/native/opengl/include/GLES2/ |
D | gl2ext.h | 716 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length… 719 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei … 850 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei … 851 … glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length,… 862 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, G… 863 …TPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length,… 963 GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsiz… 966 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize… 1043 …, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 1044 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, fl… [all …]
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | glext_api.in | 307 … GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) { 308 CALL_GL_API(glReadnPixelsEXT, x, y, width, height, format, type, bufSize, data); 310 void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, float *params) { 311 CALL_GL_API(glGetnUniformfvEXT, program, location, bufSize, params); 313 void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint *params) { 314 CALL_GL_API(glGetnUniformivEXT, program, location, bufSize, params); 370 void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei *length… 371 CALL_GL_API(glGetDriverControlStringQCOM, driverControl, bufSize, length, driverControlString);
|
/frameworks/native/opengl/libs/ |
D | trace.in | 171 …bufSize, GLsizei *length, GLchar *driverControlString), (driverControl, bufSize, length, driverCon… 188 …GLsizei bufSize, GLsizei *length, GLchar *label), (type, object, bufSize, length, label), 5, "GLen… 191 …bufSize, GLsizei *length, GLchar *counterString), (group, counter, bufSize, length, counterString)… 193 …roup, GLsizei bufSize, GLsizei *length, GLchar *groupString), (group, bufSize, length, groupString… 196 …bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary), (program, bufSize, length, binary… 198 …eline, GLsizei bufSize, GLsizei *length, GLchar *infoLog), (pipeline, bufSize, length, infoLog), 4… 227 …ation, GLsizei bufSize, float *params), (program, location, bufSize, params), 4, "GLuint", program… 228 …ation, GLsizei bufSize, GLint *params), (program, location, bufSize, params), 4, "GLuint", program… 334 …bufSize, void *data), (x, y, width, height, format, type, bufSize, data), 8, "GLint", x, "GLint", …
|
D | debug.in | 99 …bufSize, GLsizei *length, GLchar *driverControlString), (driverControl, bufSize, length, driverCon… 113 …bufSize, GLsizei *length, GLchar *counterString), (group, counter, bufSize, length, counterString)… 115 …roup, GLsizei bufSize, GLsizei *length, GLchar *groupString), (group, bufSize, length, groupString… 118 …bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary), (program, bufSize, length, binary…
|
D | entries.in | 171 GL_ENTRY(void, glGetDriverControlStringQCOM, GLuint driverControl, GLsizei bufSize, GLsizei *length… 188 GL_ENTRY(void, glGetObjectLabelEXT, GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, G… 191 GL_ENTRY(void, glGetPerfMonitorCounterStringAMD, GLuint group, GLuint counter, GLsizei bufSize, GLs… 193 GL_ENTRY(void, glGetPerfMonitorGroupStringAMD, GLuint group, GLsizei bufSize, GLsizei *length, GLch… 196 GL_ENTRY(void, glGetProgramBinaryOES, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *bin… 198 GL_ENTRY(void, glGetProgramPipelineInfoLogEXT, GLuint pipeline, GLsizei bufSize, GLsizei *length, G… 227 GL_ENTRY(void, glGetnUniformfvEXT, GLuint program, GLint location, GLsizei bufSize, float *params) 228 GL_ENTRY(void, glGetnUniformivEXT, GLuint program, GLint location, GLsizei bufSize, GLint *params) 334 …x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data)
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
D | gltrace_api.h | 171 void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binary… 188 void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei *length, GLchar … 189 void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsize… 202 void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLch… 219 …, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 220 void GLTrace_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, float *params); 221 void GLTrace_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params); 251 void GLTrace_glGetProgramPipelineInfoLogEXT(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLch… 273 void GLTrace_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, G…
|
D | gltrace_api.cpp | 5799 void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binary… in GLTrace_glGetProgramBinaryOES() argument 5815 arg_bufSize->add_intvalue(bufSize); in GLTrace_glGetProgramBinaryOES() 5838 glContext->hooks->gl.glGetProgramBinaryOES(program, bufSize, length, binaryFormat, binary); in GLTrace_glGetProgramBinaryOES() 6724 void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei *length, GLchar … in GLTrace_glGetPerfMonitorGroupStringAMD() argument 6740 arg_bufSize->add_intvalue(bufSize); in GLTrace_glGetPerfMonitorGroupStringAMD() 6757 glContext->hooks->gl.glGetPerfMonitorGroupStringAMD(group, bufSize, length, groupString); in GLTrace_glGetPerfMonitorGroupStringAMD() 6772 void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsize… in GLTrace_glGetPerfMonitorCounterStringAMD() argument 6794 arg_bufSize->add_intvalue(bufSize); in GLTrace_glGetPerfMonitorCounterStringAMD() 6811 …glContext->hooks->gl.glGetPerfMonitorCounterStringAMD(group, counter, bufSize, length, counterStri… in GLTrace_glGetPerfMonitorCounterStringAMD() 7361 void GLTrace_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLch… in GLTrace_glGetObjectLabelEXT() argument [all …]
|
/frameworks/native/opengl/include/GLES/ |
D | glext.h | 980 …, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 981 GL_API void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, float … 982 GL_API void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint … 985 …, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); 986 …ENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, float *params); 987 …ENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); 1109 GL_API void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsize… 1114 …TRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length,…
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 1197 int bufSize = strlen(str)+1; in test_read_header_and_entity() local 1198 char* buf = (char*)malloc(bufSize); in test_read_header_and_entity() 1232 if ((int)actualSize != bufSize) { in test_read_header_and_entity() 1233 fprintf(stderr, "ReadEntityHeader expected dataSize 0x%08x got 0x%08x\n", bufSize, in test_read_header_and_entity() 1239 nRead = reader.ReadEntityData(buf, bufSize); in test_read_header_and_entity() 1246 if (0 != memcmp(buf, str, bufSize)) { in test_read_header_and_entity()
|
/frameworks/base/services/java/com/android/server/ |
D | PackageManagerBackupAgent.java | 376 int bufSize = 256; in parseStateFile() local 377 byte[] buf = new byte[bufSize]; in parseStateFile()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4954 int bufSize = in.readInt(); in readHistory() local 4956 if (bufSize >= (MAX_MAX_HISTORY_BUFFER*3)) { in readHistory() 4957 Slog.w(TAG, "File corrupt: history data buffer too large " + bufSize); in readHistory() 4958 } else if ((bufSize&~3) != bufSize) { in readHistory() 4959 Slog.w(TAG, "File corrupt: history data buffer not aligned " + bufSize); in readHistory() 4961 if (DEBUG_HISTORY) Slog.i(TAG, "***************** READING NEW HISTORY: " + bufSize in readHistory() 4963 mHistoryBuffer.appendFrom(in, curPos, bufSize); in readHistory() 4964 in.setDataPosition(curPos + bufSize); in readHistory()
|
/frameworks/av/services/audioflinger/ |
D | AudioMixer.cpp | 1033 size_t bufSize = state->frameCount * sizeof(int16_t) * MAX_NUM_CHANNELS; in process__nop() local 1051 memset(t1.mainBuffer, 0, bufSize); in process__nop()
|