Lines Matching defs:idx
243 const TypeItem& GetTypeItem(uint32_t idx) const {
244 DCHECK_LT(idx, this->size_);
245 return this->list_[idx];
458 const StringId& GetStringId(uint32_t idx) const {
459 DCHECK_LT(idx, NumStringIds()) << GetLocation();
460 return string_ids_[idx];
482 const char* StringDataAndUtf16LengthByIdx(uint32_t idx, uint32_t* utf16_length) const {
483 if (idx == kDexNoIndex) {
487 const StringId& string_id = GetStringId(idx);
491 const char* StringDataByIdx(uint32_t idx) const {
493 return StringDataAndUtf16LengthByIdx(idx, &unicode_length);
509 const TypeId& GetTypeId(uint32_t idx) const {
510 DCHECK_LT(idx, NumTypeIds()) << GetLocation();
511 return type_ids_[idx];
523 const char* StringByTypeIdx(uint32_t idx, uint32_t* unicode_length) const {
524 const TypeId& type_id = GetTypeId(idx);
528 const char* StringByTypeIdx(uint32_t idx) const {
529 const TypeId& type_id = GetTypeId(idx);
548 const FieldId& GetFieldId(uint32_t idx) const {
549 DCHECK_LT(idx, NumFieldIds()) << GetLocation();
550 return field_ids_[idx];
588 const MethodId& GetMethodId(uint32_t idx) const {
589 DCHECK_LT(idx, NumMethodIds()) << GetLocation();
590 return method_ids_[idx];
638 const ClassDef& GetClassDef(uint16_t idx) const {
639 DCHECK_LT(idx, NumClassDefs()) << GetLocation();
640 return class_defs_[idx];
700 const ProtoId& GetProtoId(uint32_t idx) const {
701 DCHECK_LT(idx, NumProtoIds()) << GetLocation();
702 return proto_ids_[idx];