Lines Matching refs:u

50     types_.emplace(descriptor, 0u);  in AddType()
60 fields_.emplace(key, 0u); in AddField()
81 methods_.emplace(method_key, 0u); in AddMethod()
97 header->link_size_ = 0u; // Unused. in Build()
98 header->link_off_ = 0u; // Unused. in Build()
99 header->map_off_ = 0u; // Unused. TODO: This is wrong. Dex files created by this builder in Build()
102 uint32_t data_section_size = 0u; in Build()
105 uint32_t string_idx = 0u; in Build()
113 header->string_ids_off_ = strings_.empty() ? 0u : string_ids_offset; in Build()
116 uint32_t type_idx = 0u; in Build()
122 header->type_ids_off_ = types_.empty() ? 0u : type_ids_offset; in Build()
125 uint32_t proto_idx = 0u; in Build()
130 if (num_args != 0u) { in Build()
134 entry.second.data_offset = 0u; in Build()
138 header->proto_ids_off_ = protos_.empty() ? 0u : proto_ids_offset; in Build()
141 uint32_t field_idx = 0u; in Build()
147 header->field_ids_off_ = fields_.empty() ? 0u : field_ids_offset; in Build()
150 uint32_t method_idx = 0u; in Build()
156 header->method_ids_off_ = methods_.empty() ? 0u : method_ids_offset; in Build()
159 header->class_defs_size_ = 0u; in Build()
160 header->class_defs_off_ = 0u; in Build()
164 header->data_off_ = (data_section_size != 0u) ? data_section_offset : 0u; in Build()
186 (num_args != 0u) ? data_section_offset + entry.second.data_offset : 0u; in Build()
188 Write32(raw_offset + 0u, GetStringIdx(entry.first.shorty)); in Build()
191 if (num_args != 0u) { in Build()
192 CHECK_NE(entry.second.data_offset, 0u); in Build()
203 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
210 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
241 0u, in Build()
371 CHECK_EQ(dex_file_data_[offset + 0], 0u); in Write32()
372 CHECK_EQ(dex_file_data_[offset + 1], 0u); in Write32()
373 CHECK_EQ(dex_file_data_[offset + 2], 0u); in Write32()
374 CHECK_EQ(dex_file_data_[offset + 3], 0u); in Write32()
384 CHECK_EQ(dex_file_data_[offset + 0], 0u); in Write16()
385 CHECK_EQ(dex_file_data_[offset + 1], 0u); in Write16()