/frameworks/av/media/libstagefright/include/ |
H A D | MPEG4Extractor.h | 63 virtual char* getDrmTrackInfo(size_t trackID, int *len); 120 ssize_t len; member in struct:android::MPEG4Extractor::SINF
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 50 size_t len = local 53 if (len >= keyLen + 1 && s[keyLen] == '=' 55 value->setTo(&s[keyLen + 1], len - keyLen - 1);
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.cpp | 423 size_t len = strnlen(node->value, EFFECT_STRING_LEN_MAX); local 424 if (*curSize + len + 1 > *totSize) { 425 *totSize = *curSize + len + 1; 428 strncpy(param + *curSize, node->value, len); 429 *curSize += len; 431 ALOGV("readParamValue() reading string %s", param + *curSize - len); 432 return len;
|
/frameworks/base/cmds/idmap/ |
H A D | scan.cpp | 97 size_t len; local 98 String16 key(parser.getAttributeName(i, &len)); 100 const uint16_t *p = parser.getAttributeStringValue(i, &len); 102 target = String16(p, len); 133 size_t len; local 134 String16 tag(parser.getElementName(&len));
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 41 static TypedArray obtain(Resources res, int len) { argument 44 attrs.mLength = len; 47 final int fullLen = len * AssetManager.STYLE_NUM_ENTRIES; 53 attrs.mIndices = new int[1 + len]; 58 new int[len*AssetManager.STYLE_NUM_ENTRIES], 59 new int[1+len], len); 999 /*package*/ TypedArray(Resources resources, int[] data, int[] indices, int len) { argument 1005 mLength = len;
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 457 private static int skipQuotedText(CharSequence s, int i, int len) { argument 458 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { 466 while (i < len) { 472 if (i + 1 < len && s.charAt(i + 1) == QUOTE) { 499 int len = inFormat.length(); 501 for (int i = 0; i < len; i += count) { 506 count = appendQuotedText(s, i, len); 507 len = s.length(); 511 while ((i + count < len) && (s.charAt(i + count) == c)) { 577 len 649 appendQuotedText(SpannableStringBuilder s, int i, int len) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); argument 95 public abstract int maxOutputSize(int len); argument 148 * @param len the number of bytes of input to decode 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { argument 158 Decoder decoder = new Decoder(flags, new byte[len*3/4]); 160 if (!decoder.process(input, offset, len, true)) { 251 * len} bytes could decode to. 253 public int maxOutputSize(int len) { argument 254 return len * 3/4 + 10; 263 public boolean process(byte[] input, int offset, int len, boolea argument 475 encodeToString(byte[] input, int offset, int len, int flags) argument 509 encode(byte[] input, int offset, int len, int flags) argument 599 maxOutputSize(int len) argument 603 process(byte[] input, int offset, int len, boolean finish) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 148 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException { argument 151 int end = start+len; 372 public XmlSerializer text(char[] buf, int start, int len) throws IOException, argument 378 escapeAndAppendString(buf, start, len); 380 mLineStart = buf[start+len-1] == '\n';
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 148 size_t len; local 151 while ((len = stream->read(data + streamLen, 153 streamLen += len;
|
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 281 int len; local 282 if (security_get_boolean_names(&list, &len) == -1) { 287 jobjectArray stringArray = env->NewObjectArray(len, stringClass, NULL); 288 for (int i = 0; i < len; i++) {
|
H A D | android_util_EventLog.cpp | 79 uint32_t len = strlen(str); local 80 size_t max = sizeof(buf) - sizeof(len) - 2; // Type byte, final newline 81 if (len > max) len = max; 84 memcpy(&buf[1], &len, sizeof(len)); 85 memcpy(&buf[1 + sizeof(len)], str, len); 86 buf[1 + sizeof(len) + len] 112 jint len = strlen(str); local 199 jsize len = ret; local [all...] |
H A D | android_util_XmlBlock.cpp | 36 jint off, jint len) 44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) { 51 osb->setTo(b+off, len, true); 34 android_content_XmlBlock_nativeCreate(JNIEnv* env, jobject clazz, jbyteArray bArray, jint off, jint len) argument
|
/frameworks/base/libs/androidfw/ |
H A D | ZipUtils.cpp | 286 int len; local 288 len = getc(fp); 289 len |= getc(fp) << 8; 290 while (len-- && getc(fp) != EOF)
|
/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL), 40 // len is the number of bytes in text 41 ShadowText(const SkPaint* paint, float radius, uint32_t len, const char* srcText, argument 43 len(len), radius(radius), positions(positions) { 75 uint32_t charCount = len / sizeof(char16_t); 85 uint32_t len; member in struct:android::uirenderer::ShadowText 138 ShadowTexture* get(const SkPaint* paint, const char* text, uint32_t len,
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | EglManager.cpp | 63 int len = property_get(PROPERTY_RENDER_DIRTY_REGIONS, buf, "true"); local 64 return !strncasecmp("true", buf, len);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 93 public final void write(byte b[], int off, int len) { argument 94 ensureFit(len); 95 System.arraycopy(b, off, mBuffer, mOffset, len); 96 mOffset += len; 140 public final int read(byte[] b, int off, int len) { argument 144 if ((mPos + len) > mSize) { 145 len = mSize - mPos; 147 System.arraycopy(mBuffer, mPos, b, off, len); 148 mPos += len; 149 return len; [all...] |
/frameworks/base/media/tests/players/ |
H A D | invoke_mock_media_player.cpp | 113 const size_t len = request.dataAvail(); local 115 reply->setData(static_cast<const uint8_t*>(request.readInplace(len)), len); local
|
/frameworks/base/obex/javax/obex/ |
H A D | ApplicationParameter.java | 116 public void addAPPHeader(byte tag, byte len, byte[] value) { argument 117 if ((mLength + len + 2) > mMaxLength) { 118 byte[] array_tmp = new byte[mLength + 4 * len]; 121 mMaxLength = mLength + 4 * len; 124 mArray[mLength++] = len; 125 System.arraycopy(value, 0, mArray, mLength, len); 126 mLength += len;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | FieldPacker.java | 31 public FieldPacker(int len) { argument 33 mLen = len; 34 mData = new byte[len];
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeTypedArray.java | 59 public BridgeTypedArray(BridgeResources resources, BridgeContext context, int len, argument 65 mResourceData = new ResourceValue[len]; 66 mNames = new String[len]; 67 mIsFramework = new boolean[len]; 842 static TypedArray obtain(Resources res, int len) { argument 844 new BridgeTypedArray(((BridgeResources) res), null, len, true) : null;
|
/frameworks/base/tools/split-select/ |
H A D | Main.cpp | 157 size_t len; local 158 const char16_t* name = xml.getElementName(&len); 159 String16 name16(name, len);
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | bitcode_wrapperer.cpp | 234 uint16_t len; member in struct:IntFieldHelper
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.c | 28 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(). 214 uint32_t len) /* JHB */ 219 if ((context->count[0] += len << 3) < (len << 3)) 221 context->count[1] += (len >> 29); 222 if ((j + len) > 6 213 SHA1Update(SHA1_CTX* context, const uint8_t* data, uint32_t len) argument [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontCollection.cpp | 135 int len = unorm2_getRawDecomposition(normalizer, ch, decomposed, 4, &errorCode); local 136 if (U_SUCCESS(errorCode) && len > 0) {
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 342 size_t len = 0; local 345 len += strlen(src[i]) + 1; 348 char* result = new char[len+1];
|