Searched refs:fieldCount (Results 1 – 9 of 9) sorted by relevance
/frameworks/rs/ |
D | rsElement.cpp | 136 uint32_t fieldCount = stream->loadU32(); in createFromStream() local 137 if (!fieldCount) { in createFromStream() 145 const Element **subElems = new const Element *[fieldCount]; in createFromStream() 146 const char **subElemNames = new const char *[fieldCount]; in createFromStream() 147 size_t *subElemNamesLengths = new size_t[fieldCount]; in createFromStream() 148 uint32_t *arraySizes = new uint32_t[fieldCount]; in createFromStream() 150 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream() 157 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, in createFromStream() 159 for (uint32_t ct = 0; ct < fieldCount; ct ++) { in createFromStream()
|
D | rsAllocation.cpp | 382 uint32_t fieldCount = elem->getFieldCount(); in writePackedData() local 383 if (fieldCount == 0) { in writePackedData() 393 uint32_t *offsetsPadded = new uint32_t[fieldCount]; in writePackedData() 394 uint32_t *offsetsUnpadded = new uint32_t[fieldCount]; in writePackedData() 395 uint32_t *sizeUnpadded = new uint32_t[fieldCount]; in writePackedData() 397 for (uint32_t i = 0; i < fieldCount; i++) { in writePackedData() 408 for (uint32_t fI = 0; fI < fieldCount; fI++) { in writePackedData()
|
/frameworks/rs/cpp/ |
D | Element.cpp | 159 size_t fieldCount = mElementsCount; in updateVisibleSubElements() local 161 for (size_t ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 169 for (size_t ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 489 size_t fieldCount = mElementsCount; in create() local 490 void ** elementArray = (void **)calloc(fieldCount, sizeof(void *)); in create() 492 for (size_t ct = 0; ct < fieldCount; ct++) { in create() 497 (RsElement *)elementArray, fieldCount, in create() 498 … (const char **)mElementNames, fieldCount, mElementNameLengths, in create() 499 mArraySizes, fieldCount); in create()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | InjectedClass.java | 193 final int fieldCount = initialCount + mFields.size(); in getDeclaredFields() local 194 final ModelField[] fields = Arrays.copyOf(superFields, fieldCount); in getDeclaredFields()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoOutputStream.java | 2289 final long fieldCount = fieldId & FIELD_COUNT_MASK; in checkFieldId() local 2298 || !((fieldCount == expectedCount) in checkFieldId() 2299 || (fieldCount == FIELD_COUNT_PACKED in checkFieldId() 2301 final String countString = getFieldCountString(fieldCount); in checkFieldId() 2322 if (fieldCount == FIELD_COUNT_PACKED) { in checkFieldId() 2363 private static String getFieldCountString(long fieldCount) { in getFieldCountString() argument 2364 if (fieldCount == FIELD_COUNT_SINGLE) { in getFieldCountString() 2366 } else if (fieldCount == FIELD_COUNT_REPEATED) { in getFieldCountString() 2368 } else if (fieldCount == FIELD_COUNT_PACKED) { in getFieldCountString() 2379 final long fieldCount = fieldId & FIELD_COUNT_MASK; in getFieldIdString() local [all …]
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | Element.java | 80 int fieldCount = mElementNames.length; in updateVisibleSubElements() local 82 for (int ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 90 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Element.java | 73 int fieldCount = mElementNames.length; in updateVisibleSubElements() local 75 for (int ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements() 83 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 949 int fieldCount = _env->GetArrayLength(_ids); in nElementCreate2() local 955 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); in nElementCreate2() 956 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2() 958 for(int i = 0; i < fieldCount; i ++) { in nElementCreate2() 963 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); in nElementCreate2() 969 fieldCount, nameArray, in nElementCreate2() 970 fieldCount * sizeof(size_t), sizeArray, in nElementCreate2() 971 … (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1085 int fieldCount = _env->GetArrayLength(_ids); in nElementCreate2() local 1101 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); in nElementCreate2() 1102 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2() 1104 for(int i = 0; i < fieldCount; i ++) { in nElementCreate2() 1109 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); in nElementCreate2() 1115 (const RsElement *)ids, fieldCount, in nElementCreate2() 1116 nameArray, fieldCount * sizeof(size_t), sizeArray, in nElementCreate2() 1117 (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
|