Searched refs:len (Results 101 - 125 of 454) sorted by relevance

1234567891011>>

/frameworks/rs/driver/
H A DrsdMesh.cpp41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len) { argument
49 drv->renderPrimitiveRange(rsc, primIndex, start, len);
/frameworks/rs/
H A DrsScriptC_Lib.cpp200 uint32_t rsrToClient(Context *rsc, int cmdID, const void *data, int len) { argument
201 //ALOGE("SC_toClient %i %i %i", cmdID, len);
202 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, false);
205 uint32_t rsrToClientBlocking(Context *rsc, int cmdID, const void *data, int len) { argument
206 //ALOGE("SC_toClientBlocking %i %i", cmdID, len);
207 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, true);
212 uint32_t rsrToClient(Context *rsc, int cmdID, void *data, int len) { argument
213 return rsrToClient(rsc, cmdID, (const void *)data, len);
216 uint32_t rsrToClientBlocking(Context *rsc, int cmdID, void *data, int len) { argument
217 return rsrToClientBlocking(rsc, cmdID, (const void *)data, len);
[all...]
H A DrsFileA3D.cpp159 size_t len; local
162 len = fread(magicString, 1, 12, f);
163 if ((len != 12) ||
170 len = fread(&headerSize, 1, sizeof(headerSize), f);
171 if (len != sizeof(headerSize) || headerSize == 0) {
180 len = fread(headerData, 1, headerSize, f);
181 if (len != headerSize) {
192 len = fread(&mDataSize, 1, sizeof(mDataSize), f);
193 if (len != sizeof(mDataSize) || mDataSize == 0) {
205 len
433 rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) argument
[all...]
/frameworks/webview/chromium/tools/
H A Dgenerate_local_manifest.py44 if len(sys.argv) < 3:
52 if len(sys.argv) >= 4:
/frameworks/native/include/binder/
H A DParcel.h58 status_t setData(const uint8_t* buffer, size_t len);
61 size_t start, size_t len);
93 status_t write(const void* data, size_t len);
94 void* writeInplace(size_t len);
95 status_t writeUnpadded(const void* data, size_t len);
103 status_t writeString16(const char16_t* str, size_t len);
106 status_t writeInt32Array(size_t len, const int32_t *val);
107 status_t writeByteArray(size_t len, const uint8_t *val);
140 status_t writeBlob(size_t len, WritableBlob* outBlob);
151 status_t read(void* outData, size_t len) cons
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java266 int len = sSeptetTestLengths[i];
267 assertTrue(sb.length() <= len);
269 while (sb.length() < len) {
270 int addCount = len - sb.length();
276 assertEquals(len, sb.length());
280 values[1] = len;
300 int len = sUnicodeTestLengths[i];
301 assertTrue(sb.length() <= len);
303 while (sb.length() < len) {
304 int addCount = len
[all...]
H A DPhoneNumberWatcherTest.java42 int len = number.length();
46 textWatcher.onTextChanged(number, len, 0, 1);
58 int len = number.length();
59 textWatcher.beforeTextChanged(number, len - 1, 1, 0);
60 number.delete(len - 1, len);
165 int len = number.length();
166 textWatcher.beforeTextChanged(number, 0, len, 0);
167 number.delete(0, len);
168 textWatcher.onTextChanged(number, 0, len,
[all...]
/frameworks/base/core/java/android/os/
H A DFileBridge.java52 /** CMD_WRITE [len] [data] */
101 int len = Memory.peekInt(temp, 4, ByteOrder.BIG_ENDIAN);
102 while (len > 0) {
103 int n = IoBridge.read(mServer, temp, 0, Math.min(temp.length, len));
106 "Unexpected EOF; still expected " + len + " bytes");
109 len -= n;
/frameworks/base/tools/aapt/
H A DApkBuilder.cpp93 size_t len = packageConfigStr.length(); local
94 if (len > 0) {
95 char* buf = packageConfigStr.lockBuffer(len);
96 for (char* end = buf + len; buf < end; ++buf) {
101 packageConfigStr.unlockBuffer(len);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexAppParameters.java44 byte len = raw[i++];
46 if (raw.length - i - len < 0) {
50 byte[] val = new byte[len];
52 System.arraycopy(raw, i, val, 0, len);
55 i += len;
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DObexAppParameters.java44 byte len = raw[i++];
46 if (raw.length - i - len < 0) {
50 byte[] val = new byte[len];
52 System.arraycopy(raw, i, val, 0, len);
55 i += len;
/frameworks/native/libs/gui/
H A DSensor.cpp410 uint32_t len = string8.length(); local
411 FlattenableUtils::write(buffer, size, len);
412 memcpy(static_cast<char*>(buffer), string8.string(), len); local
413 FlattenableUtils::advance(buffer, size, FlattenableUtils::align<4>(len));
417 uint32_t len; local
418 if (size < sizeof(len)) {
421 FlattenableUtils::read(buffer, size, len);
422 if (size < len) {
425 outputString8.setTo(static_cast<char const*>(buffer), len); local
426 FlattenableUtils::advance(buffer, size, FlattenableUtils::align<4>(len));
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetActiveAttrib.cpp189 GLint len = 0; local
190 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
191 if (!len) {
194 char* buf = (char*) malloc(len);
237 (GLsizei)len,
285 GLint len = 0; local
286 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
287 if (!len) {
290 char* buf = (char*) malloc(len);
310 (GLsizei)len,
[all...]
H A DglGetActiveUniform.cpp191 GLint len = 0; local
192 glGetProgramiv((GLuint)program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &len);
193 if (!len) {
196 char* buf = (char*) malloc(len);
240 (GLsizei)len,
285 GLint len = 0; local
286 glGetProgramiv((GLuint)program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &len);
287 if (!len) {
290 char* buf = (char*) malloc(len);
311 len,
[all...]
H A DglGetTransformFeedbackVarying.cpp189 GLint len = 0; local
190 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
191 if (!len) {
194 char* buf = (char*) malloc(len);
237 (GLsizei)len,
285 GLint len = 0; local
286 glGetProgramiv((GLuint)program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &len);
287 if (!len) {
290 char* buf = (char*) malloc(len);
310 (GLsizei)len,
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicConvolve3x3.cpp216 int32_t len = (x2 - x1 - 1) >> 1; local
217 if(len > 0) {
218 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len);
219 x1 += len << 1;
220 out += len << 1;
262 int32_t len = (x2 - x1 - 1) >> 1;
263 if(len > 0) {
264 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len);
265 x1 += len << 1;
266 out += len <<
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp386 uint32_t len = (x2 - x1 - 3) >> 2; local
387 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
388 out += len << 2;
389 x1 += len << 2;
395 uint32_t len = (x2 - x1 - 3) >> 1; local
396 rsdIntrinsicConvolve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len);
397 out += len << 1;
398 x1 += len << 1;
444 uint32_t len = (x2 - x1 - 3) >> 1;
445 rsdIntrinsicConvolve5x5_K(out, py0, py1, py2, py3, py4, cp->ip, len);
[all...]
H A DrsCpuIntrinsicYuvToRGB.cpp167 int32_t len = x2 - x1; local
170 x1 += len;
171 out += len;
179 x1 += len;
180 out += len;
183 x1 += len;
184 out += len;
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp183 jint len = _env->GetArrayLength(data); local
184 LOG_API("nContextGetMessage, con(%p), len(%i)", con, len);
189 ptr, len * 4,
231 jint len = 0; local
233 len = _env->GetArrayLength(data);
236 LOG_API("nContextSendMessage, con(%p), id(%i), len(%i)", con, id, len);
237 rsContextSendMessage(con, id, (const uint8_t *)ptr, len * sizeof(int));
441 jint len local
451 jint len = _env->GetArrayLength(data); local
461 jint len = _env->GetArrayLength(data); local
471 jint len = _env->GetArrayLength(data); local
482 jint len = _env->GetArrayLength(data); local
493 jint len = _env->GetArrayLength(data); local
504 jint len = _env->GetArrayLength(data); local
515 jint len = _env->GetArrayLength(data); local
526 jint len = _env->GetArrayLength(data); local
561 jint len = _env->GetArrayLength(data); local
572 jint len = _env->GetArrayLength(data); local
583 jint len = _env->GetArrayLength(data); local
594 jint len = _env->GetArrayLength(data); local
626 jint len = _env->GetArrayLength(data); local
637 jint len = _env->GetArrayLength(data); local
648 jint len = _env->GetArrayLength(data); local
659 jint len = _env->GetArrayLength(data); local
729 jint len = _env->GetArrayLength(data); local
739 jint len = _env->GetArrayLength(data); local
777 jint len = _env->GetArrayLength(data); local
795 jint len = _env->GetArrayLength(params); local
828 jint len = _env->GetArrayLength(params); local
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java191 int[] len = new int[1];
192 GLES20.glGetProgramiv(program, GLES20.GL_ACTIVE_UNIFORM_MAX_LENGTH, len, 0);
196 byte[] name = new byte[len[0]];
199 GLES20.glGetActiveUniform(program, index, len[0], ignore, 0, size, 0, type, 0, name, 0);
334 int len = values.length;
337 checkUniformAssignment(uniform, len, 1);
338 GLES20.glUniform1iv(uniform.getLocation(), len, values, 0);
341 checkUniformAssignment(uniform, len, 2);
342 GLES20.glUniform2iv(uniform.getLocation(), len / 2, values, 0);
345 checkUniformAssignment(uniform, len,
[all...]
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp50 status_t append(const char* txt, size_t len) { argument
51 if ((len+bufferPos) > bufferSize) {
52 void* b = realloc(buffer, ((len+bufferPos)*3)/2);
56 memcpy(buffer+bufferPos, txt, len);
57 bufferPos += len;
155 status_t BufferedTextOutput::print(const char* txt, size_t len) argument
157 //printf("BufferedTextOutput: printing %d\n", len);
162 const char* const end = txt+len;
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp130 int len; local
147 len = strlen (pMimeType+pGroup->size);
150 (len == pMimeItem->size) &&
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp141 size_t len = strlen(ent->d_name); local
143 if (len >= 4
144 && !strcasecmp(ent->d_name + len - 4, ".mp3")) {
/frameworks/base/core/java/android/text/
H A DAlteredCharSequence.java116 int len = length();
118 char[] ret = new char[len];
119 getChars(0, len, ret, 0);
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DFilePart.java228 int len;
229 while ((len = instream.read(tmp)) >= 0) {
230 out.write(tmp, 0, len);

Completed in 3245 milliseconds

1234567891011>>