Searched refs:fieldCount (Results 1 - 9 of 9) sorted by relevance
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
H A D | InjectedClass.java | 193 final int fieldCount = initialCount + mFields.size(); 194 final ModelField[] fields = Arrays.copyOf(superFields, fieldCount);
|
/frameworks/rs/cpp/ |
H A D | Element.cpp | 159 size_t fieldCount = mElementsCount; local 161 for (size_t ct = 0; ct < fieldCount; ct ++) { 169 for (size_t ct = 0; ct < fieldCount; ct ++) { 489 size_t fieldCount = mElementsCount; local 490 void ** elementArray = (void **)calloc(fieldCount, sizeof(void *)); 492 for (size_t ct = 0; ct < fieldCount; ct++) { 497 (RsElement *)elementArray, fieldCount, 498 (const char **)mElementNames, fieldCount, mElementNameLengths, 499 mArraySizes, fieldCount);
|
/frameworks/rs/ |
H A D | rsElement.cpp | 97 ALOGV("%s Element: fieldCount: %zu, size bytes: %zu", prefix, mFieldCount, getSizeBytes()); 136 uint32_t fieldCount = stream->loadU32(); local 137 if (!fieldCount) { 145 const Element **subElems = new const Element *[fieldCount]; 146 const char **subElemNames = new const char *[fieldCount]; 147 size_t *subElemNamesLengths = new size_t[fieldCount]; 148 uint32_t *arraySizes = new uint32_t[fieldCount]; 150 for (uint32_t ct = 0; ct < fieldCount; ct ++) { 157 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, 159 for (uint32_t ct = 0; ct < fieldCount; c [all...] |
H A D | rsAllocation.cpp | 382 uint32_t fieldCount = elem->getFieldCount(); local 383 if (fieldCount == 0) { 393 uint32_t *offsetsPadded = new uint32_t[fieldCount]; 394 uint32_t *offsetsUnpadded = new uint32_t[fieldCount]; 395 uint32_t *sizeUnpadded = new uint32_t[fieldCount]; 397 for (uint32_t i = 0; i < fieldCount; i++) { 408 for (uint32_t fI = 0; fI < fieldCount; fI++) {
|
/frameworks/base/core/java/android/util/proto/ |
H A D | ProtoOutputStream.java | 2284 final long fieldCount = fieldId & FIELD_COUNT_MASK; 2293 || !((fieldCount == expectedCount) 2294 || (fieldCount == FIELD_COUNT_PACKED 2296 final String countString = getFieldCountString(fieldCount); 2317 if (fieldCount == FIELD_COUNT_PACKED) { 2358 private static String getFieldCountString(long fieldCount) { argument 2359 if (fieldCount == FIELD_COUNT_SINGLE) { 2361 } else if (fieldCount == FIELD_COUNT_REPEATED) { 2363 } else if (fieldCount == FIELD_COUNT_PACKED) { 2374 final long fieldCount [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Element.java | 73 int fieldCount = mElementNames.length; 75 for (int ct = 0; ct < fieldCount; ct ++) { 83 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) {
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | Element.java | 80 int fieldCount = mElementNames.length; 82 for (int ct = 0; ct < fieldCount; ct ++) { 90 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) {
|
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1083 int fieldCount = _env->GetArrayLength(_ids); local 1099 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); 1100 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 1102 for(int i = 0; i < fieldCount; i ++) { 1107 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 1113 (const RsElement *)ids, fieldCount, 1114 nameArray, fieldCount * sizeof(size_t), sizeArray, 1115 (const uint32_t *)arraySizes, fieldCount);
|
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 947 int fieldCount = _env->GetArrayLength(_ids); local 953 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); 954 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); 956 for(int i = 0; i < fieldCount; i ++) { 961 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); 967 fieldCount, nameArray, 968 fieldCount * sizeof(size_t), sizeArray, 969 (const uint32_t *)arraySizes, fieldCount);
|
Completed in 203 milliseconds