Searched refs:fieldCount (Results 1 – 10 of 10) sorted by relevance
464 public static @Nullable String getFieldCountString(long fieldCount) { in getFieldCountString() argument465 if (fieldCount == FIELD_COUNT_SINGLE) { in getFieldCountString()467 } else if (fieldCount == FIELD_COUNT_REPEATED) { in getFieldCountString()469 } else if (fieldCount == FIELD_COUNT_PACKED) { in getFieldCountString()502 final long fieldCount = fieldId & FIELD_COUNT_MASK; in getFieldIdString() local503 String countString = getFieldCountString(fieldCount); in getFieldIdString()505 countString = "fieldCount=" + fieldCount; in getFieldIdString()
2210 final long fieldCount = fieldId & FIELD_COUNT_MASK; in checkFieldId() local2219 || !((fieldCount == expectedCount) in checkFieldId()2220 || (fieldCount == FIELD_COUNT_PACKED in checkFieldId()2222 final String countString = getFieldCountString(fieldCount); in checkFieldId()2243 if (fieldCount == FIELD_COUNT_PACKED) { in checkFieldId()
136 uint32_t fieldCount = stream->loadU32(); in createFromStream() local137 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()
382 uint32_t fieldCount = elem->getFieldCount(); in writePackedData() local383 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()
159 size_t fieldCount = mElementsCount; in updateVisibleSubElements() local161 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() local490 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()
85 int fieldCount = mElementNames.length; in updateVisibleSubElements() local87 for (int ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()95 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()
80 int fieldCount = mElementNames.length; in updateVisibleSubElements() local82 for (int ct = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()90 for (int ct = 0, ctNoPadding = 0; ct < fieldCount; ct ++) { in updateVisibleSubElements()
949 int fieldCount = _env->GetArrayLength(_ids); in nElementCreate2() local955 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()
1084 int fieldCount = _env->GetArrayLength(_ids); in nElementCreate2() local1100 RsElement *ids = (RsElement*)malloc(fieldCount * sizeof(RsElement)); in nElementCreate2()1101 uint32_t *arraySizes = (uint32_t *)malloc(fieldCount * sizeof(uint32_t)); in nElementCreate2()1103 for(int i = 0; i < fieldCount; i ++) { in nElementCreate2()1108 AutoJavaStringArrayToUTF8 names(_env, _names, fieldCount); in nElementCreate2()1114 (const RsElement *)ids, fieldCount, in nElementCreate2()1115 nameArray, fieldCount * sizeof(size_t), sizeArray, in nElementCreate2()1116 (const uint32_t *)arraySizes, fieldCount); in nElementCreate2()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...