Home
last modified time | relevance | path

Searched refs:strLength (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/renderscript/
DProgram.java248 int strLength; in setShader() local
253 strLength = 0; in setShader()
255 int bytesLeft = str.length - strLength; in setShader()
260 bytesLeft = str.length - strLength; in setShader()
262 int bytesRead = is.read(str, strLength, bytesLeft); in setShader()
266 strLength += bytesRead; in setShader()
276 mShader = new String(str, 0, strLength, "UTF-8"); in setShader()
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_file.c47 convertFilename(const uint16_t *strData, int32_t strLength, char *buffer);
63 convertFilename(const uint16_t *strData, int32_t strLength, char *buffer) in convertFilename() argument
67 if (strLength >= (MAXPATHLEN-1)) in convertFilename()
69 Trace("convertFilename '%.*S' too long", strLength, strData); in convertFilename()
73 for (idx = 0; idx < strLength; ++idx) in convertFilename()
77 return strLength; in convertFilename()
286 int32_t strLength = prefixLen - *iteration; in DRM_file_listNextEntry() local
313 for (idx = 0; idx < strLength; ++idx) in DRM_file_listNextEntry()