Searched refs:cropExtLen (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/libs/gui/
H A DGLConsumer.cpp111 size_t cropExtLen = strlen(CROP_EXT_STR); local
114 bool atStart = !strncmp(CROP_EXT_STR " ", exts, cropExtLen+1);
115 bool atEnd = (cropExtLen+1) < extsLen &&
116 !strcmp(" " CROP_EXT_STR, exts + extsLen - (cropExtLen+1));
131 size_t cropExtLen = strlen(PROT_CONTENT_EXT_STR);
134 bool atStart = !strncmp(PROT_CONTENT_EXT_STR " ", exts, cropExtLen+1);
135 bool atEnd = (cropExtLen+1) < extsLen &&
136 !strcmp(" " PROT_CONTENT_EXT_STR, exts + extsLen - (cropExtLen+1));
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp643 size_t cropExtLen = strlen(CROP_EXT_STR); local
646 bool atStart = !strncmp(CROP_EXT_STR " ", exts, cropExtLen+1);
647 bool atEnd = (cropExtLen+1) < extsLen &&
648 !strcmp(" " CROP_EXT_STR, exts + extsLen - (cropExtLen+1));

Completed in 3097 milliseconds