Searched refs:pgmLength (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 89 int pgmLength; in internalCreate() local 94 pgmLength = 0; in internalCreate() 96 int bytesLeft = pgm.length - pgmLength; in internalCreate() 101 bytesLeft = pgm.length - pgmLength; in internalCreate() 103 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() 107 pgmLength += bytesRead; in internalCreate() 119 return rs.nScriptCCreate(resName, RenderScript.getCachePath(), pgm, pgmLength); in internalCreate()
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | ScriptC.java | 90 int pgmLength; in internalCreate() local 95 pgmLength = 0; in internalCreate() 97 int bytesLeft = pgm.length - pgmLength; in internalCreate() 102 bytesLeft = pgm.length - pgmLength; in internalCreate() 104 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() 108 pgmLength += bytesRead; in internalCreate() 122 return rs.nScriptCCreate(resName, cachePath, pgm, pgmLength); in internalCreate()
|