Searched refs:it (Results 1 - 25 of 53) sorted by relevance

123

/fuchsia/zircon/system/utest/fbl/
H A Dinitializer_list_tests.cpp14 for (const int *it = list.begin(); it != list.end(); ++it, ++index) {
15 EXPECT_EQ(static_cast<int>(index), *it); local
/fuchsia/zircon/third_party/ulib/musl/src/unistd/
H A Dualarm.c6 struct itimerval it = { local
11 setitimer(ITIMER_REAL, &it, &old);
/fuchsia/zircon/system/host/fidl/lib/
H A Dsource_file.cpp19 for (auto it = data_.cbegin(); it != data_.cend(); ++it) {
21 if (*it == '\n' || *it == '\0') {
26 start_of_line = it + 1;
/fuchsia/zircon/system/ulib/fs/
H A Dpseudo-dir.cpp35 auto it = entries_by_name_.find(name); local
36 if (it != entries_by_name_.end()) {
37 *out = it->node();
67 for (auto it = entries_by_id_.lower_bound(cookie->n); it != entries_by_id_.end(); ++it) {
68 if (cookie->n >= it->id()) {
72 if ((r = it->node()->Getattr(&attr)) != ZX_OK) {
75 if (df.Next(it->name().ToStringPiece(),
80 cookie->n = it
111 auto it = entries_by_name_.find(name); local
[all...]
H A Dlazy-dir.cpp70 for (auto it = fbl::lower_bound(entries.begin(), entries.end(), cookie->n,
72 it < entries.end();
73 ++it) {
74 if (cookie->n >= it->id) {
77 if ((r = df.Next(it->name, VTYPE_TO_DTYPE(it->type), ino)) != ZX_OK) {
81 cookie->n = it->id;
H A Dwatcher.cpp153 for (auto it = watch_list_.begin(); it != watch_list_.end();) {
154 if (!(it->mask & (1 << event))) {
155 ++it;
159 zx_status_t status = it->h.write(0, msg, static_cast<uint32_t>(sizeof(msg)), nullptr, 0);
163 auto to_remove = it;
164 ++it;
167 ++it;
/fuchsia/zircon/system/utest/dlfcn/
H A Drules.mk17 # We don't want it to already be there when we call dlopen, but
18 # we use launchpad_vmo_from_file to load it! So link it statically.
/fuchsia/zircon/kernel/lib/counters/
H A Dcounters.cpp55 const k_counter_desc* it; local
61 it = first + step;
63 if (strcmp(it->name, val) < 0) {
64 first = ++it;
107 for (auto it = kcountdesc_begin; it != kcountdesc_end; ++it) {
108 dump_counter(it);
173 // The thread exits itself it there are no counters.
/fuchsia/zircon/kernel/object/
H A Ddispatcher.cpp114 for (auto it = observers->begin(); it != observers->end();) {
115 StateObserver::Flags it_flags = f(it.CopyPointer());
118 auto to_remove = it;
119 ++it;
122 ++it;
131 // We've processed the removal flag, so strip it
313 for (auto it = observers_.begin(); it != observers_.end();) {
314 StateObserver::Flags it_flags = it
[all...]
H A Dpolicy_manager.cpp61 // implementation dependent so we must check that it is using the storage
116 for (uint32_t it = ZX_POL_NEW_VMO; it <= ZX_POL_NEW_TIMER; ++it) {
117 if ((res = AddPartial(mode, existing_policy, it, in.policy, &partials[it])) < 0)
H A Dport_dispatcher.cpp203 // Tell the eport to unbind itself, then drop our ref to it. Called
277 // it earlier would also be OK.
405 for (auto it = packets_.begin(); it != packets_.end();) {
406 if ((it->handle == handle) && (it->key() == key)) {
407 auto to_remove = it++;
412 ++it;
/fuchsia/zircon/system/ulib/fbl/
H A Dstring.cpp21 for (const String* it = begin; it != end; it++) {
22 if (!it->empty()) {
23 *last_non_empty_string = it;
24 total_length += it->length();
31 for (const String* it = begin; it != end; it++) {
32 memcpy(data, it
[all...]
/fuchsia/zircon/kernel/arch/arm64/
H A Dtoolchain.mk18 $(error cannot find toolchain, please set ARCH_arm64_TOOLCHAIN_PREFIX or add it to your path)
29 $(error cannot find toolchain, please set CLANG_TOOLCHAIN_PREFIX or add it to your path)
H A Drules.mk100 # Clang needs -mcmodel=kernel to tell it to use the right safe-stack ABI for
106 # x18 is reserved in the Fuchsia userland ABI so it can be used
108 # it's reserved so we can use it to point at the per-CPU structure.
/fuchsia/zircon/kernel/arch/x86/
H A Dtoolchain.mk18 $(error cannot find toolchain, please set ARCH_x86_64_TOOLCHAIN_PREFIX or add it to your path)
27 $(error cannot find toolchain, please set CLANG_TOOLCHAIN_PREFIX or add it to your path)
H A Drules.mk14 KERNEL_BASE ?= 0xffffffff80100000 # has KERNEL_LOAD_OFFSET baked into it
110 # disable SSP if the compiler supports it; it will break stuff
138 # Clang needs -mcmodel=kernel to tell it to use the right safe-stack ABI for
/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/
H A Djemalloc_mangle.sh9 * so that it is possible to use jemalloc in conjunction with another allocator
31 * meant for use in jemalloc itself, but it can be used by application code to
/fuchsia/zircon/system/ulib/mini-process/
H A Drules.mk22 # This is in a separate module so it can have separate compilation flags.
/fuchsia/zircon/system/dev/usb/usb-peripheral/
H A Drules.mk23 # Set default configuration here, rather than relying on usbctl to do it
/fuchsia/zircon/system/utest/runtests-utils/helper/
H A Drules.mk18 # inner runtests instance to the outer one so they make it into summary.json.
/fuchsia/zircon/system/dev/nand/nandpart/test/
H A Daml-bad-block-test.cpp147 auto it = context->table_entries.find(op->rw.offset_nand + i); local
148 if (it != context->table_entries.end()) {
149 if (!it->valid_) {
155 oob->generation = it->generation_;
157 for (const auto& block : it->bad_blocks_) {
350 const auto it = table_entries.find_if([](const TableNode& node) { local
353 ASSERT_TRUE(it != table_entries.end());
385 const auto it = table_entries.find_if([](const TableNode& node) { local
388 ASSERT_TRUE(it != table_entries.end());
468 const auto it local
[all...]
/fuchsia/zircon/system/ulib/zircon/
H A Drules.mk45 # installed on disk because it's delivered magically by the kernel.
52 # Make it use a simplified, hardened memory layout.
/fuchsia/zircon/kernel/lib/userboot/
H A Drules.mk20 # userboot-image.S embeds this file, so building depends on it.
/fuchsia/zircon/kernel/lib/version/
H A Drules.mk15 # if no one else has defined it by now, build us a default buildid
/fuchsia/zircon/system/ulib/edid/
H A Dedid.cpp135 for (auto it = descriptor_iterator(this); it.is_valid(); ++it) {
137 if (it->timing.pixel_clock_10khz != 0) {
139 } else if (it->monitor.type == Descriptor::Monitor::kName) {
141 } else if (it->monitor.type == Descriptor::Monitor::kSerial) {
149 len < sizeof(Descriptor::Monitor::data) && it->monitor.data[len] != 0x0A;
154 snprintf(dest, len + 1, "%s", it->monitor.data);
505 uint8_t block_idx = 1; // Skip block 1, since it can't be a CEA block

Completed in 146 milliseconds

123