Home
last modified time | relevance | path

Searched refs:cropExtLen (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/surfacetexture/
DEGLConsumer.cpp68 size_t cropExtLen = strlen(PROT_CONTENT_EXT_STR); in hasEglProtectedContentImpl() local
71 bool atStart = !strncmp(PROT_CONTENT_EXT_STR " ", exts, cropExtLen + 1); in hasEglProtectedContentImpl()
72 bool atEnd = (cropExtLen + 1) < extsLen && in hasEglProtectedContentImpl()
73 !strcmp(" " PROT_CONTENT_EXT_STR, exts + extsLen - (cropExtLen + 1)); in hasEglProtectedContentImpl()
/frameworks/native/libs/gui/
DGLConsumer.cpp87 size_t cropExtLen = strlen(PROT_CONTENT_EXT_STR); in hasEglProtectedContentImpl() local
90 bool atStart = !strncmp(PROT_CONTENT_EXT_STR " ", exts, cropExtLen+1); in hasEglProtectedContentImpl()
91 bool atEnd = (cropExtLen+1) < extsLen && in hasEglProtectedContentImpl()
92 !strcmp(" " PROT_CONTENT_EXT_STR, exts + extsLen - (cropExtLen+1)); in hasEglProtectedContentImpl()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp33 size_t cropExtLen = strlen(extensionName); in hasEglExtension() local
38 bool atStart = !strncmp(extString + space, exts, cropExtLen + 1); in hasEglExtension()
39 bool atEnd = (cropExtLen + 1) < extsLen && in hasEglExtension()
40 !strcmp(space + extString, exts + extsLen - (cropExtLen + 1)); in hasEglExtension()