Lines Matching refs:item

301      * Read base config item.
306 * @return the base item
321 DataItem item = readItem(buf);
322 return item.value;
377 * Read all config item.
382 * @return the item list
399 DataItem item = readItem(buf);
400 result.add(item.value);
409 * Read the config item.
412 * @return the item info
415 DataItem item = new DataItem();
416 item.size = buf.getInt();
417 item.type = buf.getInt();
418 item.id = buf.getInt();
422 item.value = new String(value, StandardCharsets.UTF_8);
426 item.name = new String(name, StandardCharsets.UTF_8);
427 return item;
431 * Read all config item.
434 * @return the item info.
475 * Read all config item.
479 * @return the item list
498 DataItem item = readItem(buf);
499 resourceIndexResults.add(parseDataItems(item, configClass));
508 * @param item Indicates the DataItem.
511 static ResourceIndexResult parseDataItems(DataItem item, String configClass) {
514 if (item != null) {
515 resourceIndexResult.type = ResType.getType(item.type);
516 resourceIndexResult.id = item.id;
517 resourceIndexResult.name = item.name.substring(0, item.name.length() - 1);
518 if (item.type == ResType.StrArray.getIndex() || item.type == ResType.IntArray.getIndex()
519 || item.type == ResType.Theme.getIndex() || item.type == ResType.Plurals.getIndex()
520 || item.type == ResType.Pattern.getIndex()) {
522 item.value.substring(0, item.value.length() - 1).getBytes(StandardCharsets.UTF_8);
525 resourceIndexResult.value = item.value.substring(0, item.value.length() - 1);
551 String item = new String(value, StandardCharsets.UTF_8);
552 result.append(item, 0, item.length() - 1);