Searched refs:len (Results 251 - 275 of 433) sorted by relevance

<<1112131415161718

/frameworks/base/core/java/android/nfc/
H A DTag.java337 int len = in.readInt();
339 if (len >= 0) {
340 result = new byte[len];
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp55 size_t len; local
58 while ((len = stream->read(data + streamLen,
60 streamLen += len;
H A DHarfbuzzSkia.cpp191 HB_Error harfbuzzSkiaGetTable(void* font, const HB_Tag tag, HB_Byte* buffer, HB_UInt* len) argument
204 *len = tableSize;
208 if (*len < tableSize)
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix3f.java122 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z);
123 if (!(len != 1)) {
124 float recipLen = 1.f / len;
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceResponse.java369 int len = in.readInt();
371 if (len > 0) {
372 data = new byte[len];
/frameworks/rs/
H A DrsFont.h86 void renderUTF(const char *text, uint32_t len, int32_t x, int32_t y,
149 void renderText(const char *text, uint32_t len, int32_t x, int32_t y,
155 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DMatrix3f.java122 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z);
123 if (!(len != 1)) {
124 float recipLen = 1.f / len;
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_dm.c51 const uint8_t * drm_strnstr(const uint8_t * str, const uint8_t * strSearch, int32_t len) argument
55 if (NULL == str || NULL == strSearch || len <= 0)
59 for (i = 0; i < len - stringLen + 1; i++) {
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_FileCommon.c331 M4OSA_UInt32 len, size_needed, size_given; local
339 len = wcslen(w_str);
340 size_needed = len+1;
350 for (i=0; i<len; i++)
354 pBufferOut[len]=0;
/frameworks/base/core/jni/
H A Dandroid_text_format_Time.cpp399 jsize len = env->GetStringLength(strObj); local
400 if (len < 8) {
433 if (len > 8) {
456 if (len > 15) {
480 jsize len = env->GetStringLength(strObj); local
481 if (len < 10) {
520 if (len >= 19) {
553 if (tz_index < len && s[tz_index] == '.') {
556 } while (tz_index < len
562 if (len > tz_inde
[all...]
H A Dcom_google_android_gles_jni_EGLImpl.cpp94 jsize len = _env->GetArrayLength(attrib_list); local
95 if (len < 1) {
99 _env->GetIntArrayRegion(attrib_list, len-1, 1, &item);
128 int len = _env->GetArrayLength(major_minor); local
129 if (len) {
132 if (len >= 1) base[0] = 1;
133 if (len >= 2) base[1] = 0;
150 int len = _env->GetArrayLength(value); local
151 if (len) {
170 int len local
[all...]
H A Dandroid_util_Binder.cpp953 static int getprocname(pid_t pid, char *buf, size_t len) { argument
960 if (!fgets(buf, len, f)) { *buf = '\0'; return 2; }
966 jint len = strlen(str); local
967 int space_needed = 1 + sizeof(len) + len;
975 memcpy(*pos, &len, sizeof(len));
976 *pos += sizeof(len);
977 memcpy(*pos, str, len);
978 *pos += len;
[all...]
H A Dandroid_database_CursorWindow.cpp270 const char* str, size_t len) {
271 ssize_t size = utf8_to_utf16_length(reinterpret_cast<const uint8_t*>(str), len);
279 utf8_to_utf16_no_null_terminator(reinterpret_cast<const uint8_t*>(str), len, local
398 jsize len = env->GetArrayLength(valueObj); local
401 status_t status = window->putBlob(row, column, value, len);
409 LOG_WINDOW("%d,%d is BLOB with %u bytes", row, column, len);
269 fillCharArrayBufferUTF(JNIEnv* env, jobject bufferObj, const char* str, size_t len) argument
H A Dandroid_net_TrafficStats.cpp72 int len = read(fd, buf, sizeof(buf) - 1); local
73 if (len < 0) {
80 buf[len] = '\0';
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py117 if len(devices) == 1:
122 if len(devices) == 0:
135 if self.current_device and len(self.current_device) > 0:
249 if len(raw_output) < 5:
252 for serial_num_index in range(4, len(raw_output), 2):
681 if len(args) == 2:
684 elif len(args) == 1:
689 if len(manifests) == 0:
692 elif len(manifests) > 1:
712 or len(data_director
[all...]
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c28 unsigned int len)
31 unsigned long len)
33 The 'len' parameter was declared an int which works fine on 32
36 function to generate incorrect values if len was greater than
37 8191 (8K - 1) due to the 'len << 3' on line 3 of SHA1Update().
215 unsigned long len) /* JHB */
220 if ((context->count[0] += len << 3) < (len << 3))
222 context->count[1] += (len >> 29);
223 if ((j + len) > 6
214 SHA1Update(SHA1_CTX* context, const unsigned char* data, unsigned long len) argument
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java344 int len = start.getLength();
346 appendValueLength(len);
992 int len = 0;
993 while ((len = cr.read(buffer)) != -1) {
994 mMessage.write(buffer, 0, len);
995 mPosition += len;
996 dataLength += len;
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp239 long len; local
245 res = mCluster->Parse(pos, len);
263 mCluster, nextCluster, pos, len);
279 res = mCluster->Parse(pos, len);
346 long len; long long pos; local
347 pSegment->ParseCues(pEntry->pos, pos, len);
470 MediaBuffer *mbuf = new MediaBuffer(frame.len);
660 long len; local
661 ret = mSegment->LoadCluster(pos, len);
906 blockSize += iter.block()->GetFrame(k).len;
[all...]
/frameworks/base/core/java/android/content/
H A DClipData.java336 int len;
337 while ((len=reader.read(buffer)) > 0) {
338 builder.append(buffer, 0, len);
489 int len;
490 while ((len=reader.read(buffer)) > 0) {
491 builder.append(buffer, 0, len);
/frameworks/base/core/tests/coretests/src/android/util/
H A DBase64Test.java57 /** Assert that actual equals the first len bytes of expected. */
58 private void assertEquals(byte[] expected, int len, byte[] actual) { argument
59 assertEquals(len, actual.length);
60 for (int i = 0; i < len; ++i) {
65 /** Assert that actual equals the first len bytes of expected. */
66 private void assertEquals(byte[] expected, int len, byte[] actual, int alen) { argument
67 assertEquals(len, alen);
68 for (int i = 0; i < len; ++i) {
73 /** Assert that actual equals the first len bytes of expected. */
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp352 size_t len = local
358 len += 10;
360 pos += len;
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp50 size_t len = local
53 if (len >= keyLen + 1 && s[keyLen] == '='
55 value->setTo(&s[keyLen + 1], len - keyLen - 1);
/frameworks/base/core/java/android/gesture/
H A DGesture.java107 int len = 0;
112 len += strokes.get(i).length;
115 return len;
/frameworks/base/core/java/android/net/http/
H A DHeaders.java185 int len = encodings.length;
188 } else if ((len > 0)
190 .equalsIgnoreCase(encodings[len - 1].getName()))) {
/frameworks/base/core/java/android/text/util/
H A DLinkify.java509 int len = links.size();
512 while (i < len - 1) {
528 len--;

Completed in 469 milliseconds

<<1112131415161718