/frameworks/base/core/java/android/util/ |
H A D | SparseLongArray.java | 228 private static int binarySearch(int[] a, int start, int len, long key) { argument 229 int high = start + len, low = start - 1, guess; 240 if (high == start + len) 241 return ~(start + len);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayout.cpp | 35 bool TextLayout::needsLayout(const jchar* text, jint len, jint bidiFlags) { argument 43 for (int i = 0; i < len; ++i) { 54 void TextLayout::handleText(SkPaint *paint, const jchar* text, jsize len, argument 57 text, 0, len, len, bidiFlags); 91 void TextLayout::getTextPath(SkPaint *paint, const jchar *text, jsize len, argument 93 handleText(paint, text, len, bidiFlags, x, y, path);
|
/frameworks/base/core/jni/ |
H A D | android_backup_BackupHelperDispatcher.cpp | 136 padding_len(int len) argument 138 len = len % 4; 139 return len == 0 ? len : 4 - len;
|
H A D | android_os_SystemProperties.cpp | 33 int len; local 45 len = property_get(key, buf, ""); 46 if ((len <= 0) && (defJ != NULL)) { 48 } else if (len >= 0) { 69 int len; local 82 len = property_get(key, buf, ""); 83 if (len > 0) { 99 int len; local 112 len = property_get(key, buf, ""); 113 if (len > 129 int len; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | TextDropShadowCache.h | 35 ShadowText(): radius(0), len(0), textSize(0.0f), typeface(NULL) { 38 ShadowText(SkPaint* paint, uint32_t radius, uint32_t len, const char* srcText, argument 40 radius(radius), len(len), positions(positions) { 63 uint32_t len; member in struct:android::uirenderer::ShadowText 75 str.setTo((const char16_t*) text, len >> 1); 79 positionsCopy.appendArray(positions, len); 85 LTE_INT(len) { 92 int cmp = memcmp(text, rhs.text, len); 96 return memcmp(positions, rhs.positions, len << [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 353 private static int binarySearch(int[] a, int start, int len, int key) { argument 354 int high = start + len, low = start - 1, guess; 365 if (high == start + len) 366 return ~(start + len);
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
H A D | BCHeaderField.h | 41 BCHeaderField(Tag ID, size_t len, uint8_t* data) : argument 42 ID_(ID), len_(len), data_(data) {} 90 FixedSubfield len; local 91 ReadFixedSubfield(&len, buf + sizeof(FixedSubfield)); 92 return len;
|
/frameworks/native/libs/utils/ |
H A D | ZipUtils.cpp | 299 int len; local 301 len = getc(fp); 302 len |= getc(fp) << 8; 303 while (len-- && getc(fp) != EOF)
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_transport.cpp | 110 int TCPStream::send(void *buf, size_t len) { argument 116 int n = write(mSocket, buf, len); 122 int TCPStream::receive(void *data, size_t len) { argument 128 while (totalRead < len) { 129 int n = read(mSocket, (uint8_t*)data + totalRead, len - totalRead); 160 const uint32_t len = msg->ByteSize(); local 162 mStringBuffer.append((const char *)&len, sizeof(len)); // append header
|
/frameworks/rs/driver/ |
H A D | rsdIntrinsicColorMatrix.cpp | 105 int32_t len = (x2 - x1) >> 2; local 106 if(len > 0) { 109 rsdIntrinsicColorMatrixDot_K(out, in, cp->ip, len); 111 rsdIntrinsicColorMatrix3x3_K(out, in, cp->ip, len); 114 rsdIntrinsicColorMatrix4x4_K(out, in, cp->ip, len); 116 x1 += len << 2; 117 out += len << 2; 118 in += len << 2;
|
H A D | rsdIntrinsicConvolve3x3.cpp | 105 int32_t len = (x2 - x1 - 1) >> 1; local 106 if(len > 0) { 107 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->ip, len); 108 x1 += len << 1; 109 out += len << 1;
|
H A D | rsdIntrinsicYuvToRGB.cpp | 106 int32_t len = (x2 - x1 - 1) >> 3; local 107 if(len > 0) { 108 rsdIntrinsicYuv_K(out, Y, uv, len, YuvCoeff); 109 x1 += len << 3; 110 out += len << 3;
|
/frameworks/rs/ |
H A D | rsScriptIntrinsic.cpp | 66 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
|
H A D | rsThreadIO.cpp | 70 void ThreadIO::coreWrite(const void *data, size_t len) { argument 71 //ALOGV("core write %p %i", data, (int)len); 72 mToCore.writeAsync(data, len, true); 75 void ThreadIO::coreRead(void *data, size_t len) { argument 76 //ALOGV("core read %p %i", data, (int)len); 77 mToCore.read(data, len);
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | FieldPacker.java | 26 public FieldPacker(int len) { argument 28 mLen = len; 29 mData = new byte[len];
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdIntrinsicColorMatrix.cpp | 105 int32_t len = (x2 - x1) >> 2; local 106 if(len > 0) { 109 rsdIntrinsicColorMatrixDot_K(out, in, cp->ip, len); 111 rsdIntrinsicColorMatrix3x3_K(out, in, cp->ip, len); 114 rsdIntrinsicColorMatrix4x4_K(out, in, cp->ip, len); 116 x1 += len << 2; 117 out += len << 2; 118 in += len << 2;
|
H A D | rsdIntrinsicConvolve3x3.cpp | 100 int32_t len = (x2 - x1 - 1) >> 1; local 101 if(len > 0) { 102 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->ip, len); 103 x1 += len << 1; 104 out += len << 1;
|
H A D | rsdIntrinsicYuvToRGB.cpp | 102 int32_t len = (x2 - x1 - 1) >> 3; local 103 if(len > 0) { 104 rsdIntrinsicYuv_K(out, Y, uv, len, YuvCoeff); 105 x1 += len << 3; 106 out += len << 3;
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsScriptC.cpp | 98 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument 108 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len);
|
H A D | rsScriptIntrinsic.cpp | 66 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
|
H A D | rsThreadIO.cpp | 70 void ThreadIO::coreWrite(const void *data, size_t len) { argument 71 //ALOGV("core write %p %i", data, (int)len); 72 mToCore.writeAsync(data, len, true); 75 void ThreadIO::coreRead(void *data, size_t len) { argument 76 //ALOGV("core read %p %i", data, (int)len); 77 mToCore.read(data, len);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 334 private static int binarySearch(long[] a, int start, int len, long key) { argument 335 int high = start + len, low = start - 1, guess; 346 if (high == start + len) 347 return ~(start + len);
|
H A D | SparseArrayCompat.java | 325 private static int binarySearch(int[] a, int start, int len, int key) { argument 326 int high = start + len, low = start - 1, guess; 337 if (high == start + len) 338 return ~(start + len);
|
/frameworks/wilhelm/src/ |
H A D | data.c | 193 size_t len = strlen((const char *) pDataLocator->mURI.URI); local 194 SLchar *myURI = (SLchar *) malloc(len + 1); 198 memcpy(myURI, pDataLocator->mURI.URI, len + 1); 201 if ('\0' != myURI[len]) { 485 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); local 486 SLchar *myMIME = (SLchar *) malloc(len + 1); 490 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1); 492 if ('\0' != myMIME[len]) {
|
/frameworks/base/media/java/android/drm/mobile1/ |
H A D | DrmRightsManager.java | 94 public synchronized DrmRights installRights(InputStream rightsData, int len, String mimeTypeStr) throws DrmException, IOException { argument 106 if (len <= 0) 112 int res = nativeInstallDrmRights(rightsData, len, mimeType, rights); 192 * @param len the length of the data. 201 private native int nativeInstallDrmRights(InputStream data, int len, int mimeType, DrmRights rights); argument
|