Searched refs:second (Results 1 - 25 of 29) sorted by relevance

12

/fuchsia/zircon/system/utest/fidl-compiler/
H A Ddup_attributes_tests.cpp23 [dup = "first", dup = "second"]
45 [Doc = "second"]
71 [dup = "second"]
H A Dformatter_unittests.cpp24 TestLibrary library(element.first, element.second);
40 TestLibrary library(element.first, element.second);
47 EXPECT_STR_EQ(element.second.c_str(),
64 std::stringstream ss(element.second);
H A Dvisitor_unittests.cpp59 TestLibrary library(element.first, element.second);
/fuchsia/zircon/system/ulib/fbl/include/fbl/
H A Dalgorithm.h200 T gcd(T first, T second) {
202 while (second != 0) {
203 first = static_cast<T>(first % second);
205 return second;
207 second = static_cast<T>(second % first);
217 T lcm(T first, T second) {
218 if (first == 0 && second == 0) {
223 return static_cast<T>((first / gcd(first, second)) * second);
[all...]
H A Dintrusive_pointer_traits.h69 static inline void Swap(PtrType& first, PtrType& second) { argument
71 first = second;
72 second = tmp;
109 static inline void Swap(PtrType& first, PtrType& second) { first.swap(second); } argument
148 static inline void Swap(PtrType& first, PtrType& second) { first.swap(second); } argument
/fuchsia/zircon/system/host/fidl/lib/
H A Didentifier_table.cpp24 kind = lookup->second;
H A Dtree_visitor.cpp76 switch (m.begin()->second) {
H A Dc_generator.cpp1270 ProduceConstForwardDeclaration(iter->second);
1277 ProduceEnumForwardDeclaration(iter->second);
1284 ProduceInterfaceForwardDeclaration(iter->second);
1291 ProduceStructForwardDeclaration(iter->second);
1298 ProduceTableForwardDeclaration(iter->second);
1305 ProduceUnionForwardDeclaration(iter->second);
1328 ProduceInterfaceExternDeclaration(iter->second);
1344 ProduceConstDeclaration(iter->second);
1355 ProduceInterfaceDeclaration(iter->second);
1362 ProduceStructDeclaration(iter->second);
[all...]
H A Dtables_generator.cpp334 return iter->second;
349 return iter->second;
365 return iter->second;
378 return iter->second;
390 return iter->second;
402 return iter->second;
418 auto coded_type = iter->second.get();
456 return iter->second;
561 if (!members.emplace(member.ordinal->Value(), &member).second) {
566 const auto& member = *member_pair.second;
[all...]
H A Dflat_ast.cpp54 return ScopeInsertResult::FailureAt(iter->second);
358 return iter.second;
368 *out_library = iter->second.get();
401 auto insert = iter->second->emplace(name, library);
402 return insert.second;
412 auto iter2 = iter1->second->find(name);
413 if (iter2 == iter1->second->end()) {
417 *out_library = iter2->second;
506 if (!iter.second) {
1079 return iter->second;
[all...]
/fuchsia/zircon/system/host/abigen/
H A Dheader_generator.cpp14 return (ft == attributes.end()) ? string() : ft->second;
32 if (name_prefix.second(sc))
H A Dabigen.cpp86 type_to_filename[entry.first] = output_prefix + entry.second;
H A Dabigen_generator.cpp177 if (!generate_one(entry.second, type_to_generator.at(entry.first), entry.first))
H A Dgenerator.cpp110 for (auto sc : category.second)
H A Dtypes.cpp90 return (ft == overrides.end()) ? name : ft->second;
/fuchsia/zircon/kernel/lib/pow2_range_allocator/
H A Dpow2_range_allocator.cpp93 p2ra_block_t* second; local
95 /* Odd alignment. This might be the second block of a merge pair */
96 second = block;
101 second = list_next_type(l, &block->node, p2ra_block_t, node);
105 if (first && second) {
107 if ((first->start + first_len) == second->start) {
112 DEBUG_ASSERT(first->bucket == second->bucket);
116 list_delete(&second->node);
119 list_add_tail(&state->unused_blocks, &second->node);
348 /* Fill out the bookkeeping for the second hal
[all...]
/fuchsia/zircon/third_party/tools/android/
H A Dmkbootimg56 filesize(args.second), # size in bytes
68 update_sha(sha, args.second)
134 parser.add_argument('--second', help='path to the 2nd bootloader', type=FileType('rb'))
161 write_padded_file(args.output, args.second, args.pagesize)
/fuchsia/zircon/system/ulib/region-alloc/
H A Dregion-alloc.cpp146 Region* second = region_pool_->New(this); local
147 if (second == nullptr)
152 // region's position in the size index, and add the second region to
156 second->base = region_end;
157 second->size = before_end - region_end;
160 avail_regions_by_base_.insert(second);
161 avail_regions_by_size_.insert(second);
/fuchsia/zircon/system/host/xdc-server/
H A Dxdc-server.cpp205 std::shared_ptr<Client> client = iter.second;
229 short events = iter.second;
305 std::shared_ptr<Client> client = iter->second;
418 return pair.second->stream_id() == stream_id;
421 return iter == clients_.end() ? nullptr : iter->second;
/fuchsia/zircon/kernel/tests/
H A Dthread_tests.cpp422 * complete in order, about a second apart. */
439 printf("done with real-time preempt test, above time stamps should be 1 second apart\n");
515 spin_lock_t second = SPIN_LOCK_INITIAL_VALUE; member in struct:lock_pair_t
518 // Acquires lock on "second" and holds it until it sees that "first" is released.
523 spin_lock_irqsave(&pair->second, state);
527 spin_unlock_irqrestore(&pair->second, state);
563 while (spin_lock_holder_cpu(&pair.second) == UINT_MAX) {
567 // See that from our perspective "second" is not held.
568 ASSERT(!spin_lock_held(&pair.second));
/fuchsia/zircon/system/uapp/ihda/
H A Dprint_codec_state.cpp345 const auto& second = widget.conn_list_[i + 1]; local
346 if (second.range_) {
347 printf("[%hu, %hu]", first.nid_, second.nid_);
/fuchsia/zircon/third_party/uapp/fsck-msdosfs/
H A Dfat.c399 struct fatEntry *second, u_int fatnum)
405 if (first[cl].next != second[cl].next)
406 ret |= clustdiffer(cl, &first[cl].next, &second[cl].next, fatnum);
398 comparefat(struct bootblock *boot, struct fatEntry *first, struct fatEntry *second, u_int fatnum) argument
/fuchsia/zircon/make/
H A Dmacros.mk39 # with the second if so
/fuchsia/zircon/system/host/minfs/
H A Dmain.cpp376 if ((status = CopyFile(file_list_[n].first.c_str(), file_list_[n].second.c_str()))
534 if (!strcmp(dst, file_list_[n].second.c_str())) {
/fuchsia/zircon/system/host/fidl/compiler/
H A Dmain.cpp359 auto& output_file = output.second;

Completed in 138 milliseconds

12