/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
D | filtered_re2_test.cc | 22 std::vector<std::string> atoms; member 32 v.f.Compile(&v.atoms); in TEST() 33 EXPECT_EQ(0, v.atoms.size()); in TEST() 48 v.f.Compile(&v.atoms); in TEST() 49 EXPECT_EQ(0, v.atoms.size()); in TEST() 62 v.f.Compile(&v.atoms); in TEST() 63 EXPECT_EQ(1, v.atoms.size()); in TEST() 64 EXPECT_EQ(v.atoms[0], "\xde\xadq\xbe\xef"); in TEST() 77 const char* atoms[20]; member 153 v->f.Compile(&v->atoms); in AddRegexpsAndCompile() [all …]
|
D | exhaustive3_test.cc | 20 std::vector<std::string> atoms = Split(" ", in TEST() local 22 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(), in TEST() 28 std::vector<std::string> atoms = Split(" ", in TEST() local 30 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(), in TEST() 73 std::vector<std::string> atoms = Split(" ", in TEST() local 79 ExhaustiveTest(1, 0, atoms, ops, in TEST() 86 std::vector<std::string> atoms = Split(" ", in TEST() local 95 ExhaustiveTest(1, 0, atoms, ops, in TEST()
|
D | regexp_generator.cc | 55 const std::vector<std::string>& atoms, in RegexpGenerator() argument 57 : maxatoms_(maxatoms), maxops_(maxops), atoms_(atoms), ops_(ops) { in RegexpGenerator() 107 int nstk, int ops, int atoms) { in GeneratePostfix() argument 118 if (atoms < maxatoms_) { in GeneratePostfix() 121 GeneratePostfix(post, nstk + 1, ops, atoms + 1); in GeneratePostfix() 133 GeneratePostfix(post, nstk - nargs + 1, ops + 1, atoms); in GeneratePostfix() 143 int nstk, int ops, int atoms) { in GenerateRandomPostfix() argument 144 std::uniform_int_distribution<int> random_stop(0, maxatoms_ - atoms); in GenerateRandomPostfix() 171 ops + 1, atoms); in GenerateRandomPostfix() 179 if (atoms < maxatoms_ && random_bit(rng_) == 0) { in GenerateRandomPostfix() [all …]
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/ |
D | TextClassifierEventLoggerTest.java | 107 ImmutableList<Atom> atoms = StatsdTestUtils.getLoggedAtoms(CONFIG_ID, SHORT_TIMEOUT_MS); in writeEvent_textSelectionEvent() local 108 assertThat(atoms).hasSize(1); in writeEvent_textSelectionEvent() 109 assertThat(atoms.get(0).getTextSelectionEvent()).isEqualTo(event); in writeEvent_textSelectionEvent() 124 ImmutableList<Atom> atoms = StatsdTestUtils.getLoggedAtoms(CONFIG_ID, SHORT_TIMEOUT_MS); in writeEvent_textSelectionEvent_autoToSingle() local 125 assertThat(atoms).hasSize(1); in writeEvent_textSelectionEvent_autoToSingle() 126 assertThat(atoms.get(0).getTextSelectionEvent().getEventType()) in writeEvent_textSelectionEvent_autoToSingle() 142 ImmutableList<Atom> atoms = StatsdTestUtils.getLoggedAtoms(CONFIG_ID, SHORT_TIMEOUT_MS); in writeEvent_textSelectionEvent_autoToMulti() local 143 assertThat(atoms).hasSize(1); in writeEvent_textSelectionEvent_autoToMulti() 144 assertThat(atoms.get(0).getTextSelectionEvent().getEventType()) in writeEvent_textSelectionEvent_autoToMulti() 160 ImmutableList<Atom> atoms = StatsdTestUtils.getLoggedAtoms(CONFIG_ID, SHORT_TIMEOUT_MS); in writeEvent_textSelectionEvent_keepAuto() local [all …]
|
/external/llvm-project/lldb/test/API/types/ |
D | AbstractBase.py | 66 def build_and_run(self, source, atoms, bc=False, qd=False): argument 68 source, atoms, expr=False, bc=bc, qd=qd) 70 def build_and_run_expr(self, source, atoms, bc=False, qd=False): argument 72 source, atoms, expr=True, bc=bc, qd=qd) 75 self, source, atoms, expr, bc=False, qd=False): 86 self.exe_name, atoms, blockCaptured=bc, quotedDisplay=qd) 90 atoms, 136 atoms, argument 207 (dt, atoms), exe=False, substrs=list(atoms)) 217 atoms, argument [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | filtered_re2.cc | 52 void FilteredRE2::Compile(std::vector<std::string>* atoms) { in Compile() argument 67 atoms->clear(); in Compile() 68 prefilter_tree_->Compile(atoms); in Compile() 80 const std::vector<int>& atoms) const { in FirstMatch() 86 prefilter_tree_->RegexpsGivenStrings(atoms, ®exps); in FirstMatch() 95 const std::vector<int>& atoms, in AllMatches() argument 99 prefilter_tree_->RegexpsGivenStrings(atoms, ®exps); in AllMatches() 107 const std::vector<int>& atoms, in AllPotentials() argument 109 prefilter_tree_->RegexpsGivenStrings(atoms, potential_regexps); in AllPotentials()
|
D | filtered_re2.h | 64 const std::vector<int>& atoms) const; 69 const std::vector<int>& atoms, 77 void AllPotentials(const std::vector<int>& atoms,
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state.c | 183 const struct svga_tracked_state *atoms[], in update_state() argument 208 for (i = 0; atoms[i] != NULL; i++) { in update_state() 211 assert(atoms[i]->dirty); in update_state() 212 assert(atoms[i]->update); in update_state() 214 if (check_state(*state, atoms[i]->dirty)) { in update_state() 216 debug_printf("update: %s\n", atoms[i]->name); in update_state() 217 ret = atoms[i]->update( svga, *state ); in update_state() 229 atoms[i]->name); in update_state() 234 accumulate_state(&examined, atoms[i]->dirty); in update_state() 238 for (i = 0; atoms[i] != NULL; i++) { in update_state() [all …]
|
/external/libwebm/webm_parser/tests/ |
D | chapter_atom_parser_test.cc | 47 EXPECT_EQ(static_cast<std::uint64_t>(0), chapter_atom.atoms.size()); in TEST_F() 91 ASSERT_EQ(static_cast<std::uint64_t>(1), chapter_atom.atoms.size()); in TEST_F() 92 EXPECT_TRUE(chapter_atom.atoms[0].is_present()); in TEST_F() 93 EXPECT_EQ(ChapterAtom{}, chapter_atom.atoms[0].value()); in TEST_F() 181 expected_chapter_atom.atoms.emplace_back(tmp_atom, true); in TEST_F() 183 expected_chapter_atom.atoms.emplace_back(tmp_atom, true); in TEST_F() 185 ASSERT_EQ(static_cast<std::size_t>(1), chapter_atom.atoms.size()); in TEST_F() 186 EXPECT_TRUE(chapter_atom.atoms[0].is_present()); in TEST_F() 187 EXPECT_EQ(expected_chapter_atom, chapter_atom.atoms[0].value()); in TEST_F()
|
D | edition_entry_parser_test.cc | 40 edition_entry.atoms.emplace_back(); in TEST_F() 41 edition_entry.atoms[0].Set({}, true); in TEST_F() 68 edition_entry.atoms.emplace_back(chapter_atom, true); in TEST_F() 70 edition_entry.atoms.emplace_back(chapter_atom, true); in TEST_F()
|
/external/llvm-project/lld/docs/ |
D | design.rst | 28 live atoms, and then delete the non-live atoms. 36 other atoms, such as for literal c-strings or floating point constants, or for 43 There are three atoms: main, a proxy for printf, and an anonymous atom 48 There are only four different types of atoms: 51 95% of all atoms. This is a chunk of code or data 84 An object file is just a container of atoms. When linking an object file, a 86 atoms representing all content in the .o file. The linker adds all those atoms 94 nothing is added to the master graph of atoms. Instead, if after merging all 95 atoms from object files into a master graph, if any "undefined" atoms are left 98 atoms from the specified object file in the static library is added to the [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_gfx_cs.c | 501 si_mark_atom_dirty(ctx, &ctx->atoms.s.framebuffer); in si_begin_new_gfx_cs() 502 si_mark_atom_dirty(ctx, &ctx->atoms.s.render_cond); in si_begin_new_gfx_cs() 504 si_mark_atom_dirty(ctx, &ctx->atoms.s.ngg_cull_state); in si_begin_new_gfx_cs() 508 si_mark_atom_dirty(ctx, &ctx->atoms.s.clip_regs); in si_begin_new_gfx_cs() 511 si_mark_atom_dirty(ctx, &ctx->atoms.s.clip_state); in si_begin_new_gfx_cs() 513 si_mark_atom_dirty(ctx, &ctx->atoms.s.msaa_sample_locs); in si_begin_new_gfx_cs() 514 si_mark_atom_dirty(ctx, &ctx->atoms.s.msaa_config); in si_begin_new_gfx_cs() 517 si_mark_atom_dirty(ctx, &ctx->atoms.s.sample_mask); in si_begin_new_gfx_cs() 518 si_mark_atom_dirty(ctx, &ctx->atoms.s.cb_render_state); in si_begin_new_gfx_cs() 521 si_mark_atom_dirty(ctx, &ctx->atoms.s.blend_color); in si_begin_new_gfx_cs() [all …]
|
D | si_state_viewport.c | 137 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_set_scissor_states() 468 si_mark_atom_dirty(ctx, &ctx->atoms.s.ngg_cull_state); in si_set_viewport_states() 471 si_mark_atom_dirty(ctx, &ctx->atoms.s.viewports); in si_set_viewport_states() 472 si_mark_atom_dirty(ctx, &ctx->atoms.s.guardband); in si_set_viewport_states() 473 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_set_viewport_states() 577 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_update_vs_viewport_state() 578 si_mark_atom_dirty(ctx, &ctx->atoms.s.viewports); in si_update_vs_viewport_state() 587 si_mark_atom_dirty(ctx, &ctx->atoms.s.guardband); in si_update_vs_viewport_state() 593 si_mark_atom_dirty(ctx, &ctx->atoms.s.scissors); in si_update_vs_viewport_state() 594 si_mark_atom_dirty(ctx, &ctx->atoms.s.viewports); in si_update_vs_viewport_state() [all …]
|
D | si_state_streamout.c | 82 si_mark_atom_dirty(sctx, &sctx->atoms.s.streamout_begin); in si_streamout_buffers_dirty() 182 si_set_atom_dirty(sctx, &sctx->atoms.s.streamout_begin, false); in si_set_streamout_targets() 429 si_mark_atom_dirty(sctx, &sctx->atoms.s.streamout_enable); in si_set_streamout_enable() 443 si_mark_atom_dirty(sctx, &sctx->atoms.s.streamout_enable); in si_update_prims_generated_query_state() 459 sctx->atoms.s.streamout_begin.emit = gfx10_emit_streamout_begin; in si_init_streamout_functions() 461 sctx->atoms.s.streamout_begin.emit = si_emit_streamout_begin; in si_init_streamout_functions() 462 sctx->atoms.s.streamout_enable.emit = si_emit_streamout_enable; in si_init_streamout_functions()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_bank_conflicts.cpp | 369 atoms(new unsigned[n + num_terminator_atoms]) in partitioning() 373 atoms[i] = i; in partitioning() 380 atoms(new unsigned[p.max_reg + num_terminator_atoms]) in partitioning() 384 memcpy(atoms, p.atoms, in partitioning() 391 delete[] atoms; in ~partitioning() 399 SWAP(atoms, p.atoms); in operator =() 410 unsigned r = atoms[reg]; in require_contiguous() 417 if (offsets[atoms[reg1]] < reg + n) { in require_contiguous() 418 atoms[reg1] = r; in require_contiguous() 420 if (offsets[atoms[reg1 - 1]] != offsets[atoms[reg1]]) in require_contiguous() [all …]
|
/external/OpenCSD/decoder/source/etmv3/ |
D | trc_pkt_decode_etmv3.cpp | 555 Etmv3Atoms atoms(m_config->isCycleAcc()); in processPHdr() local 557 atoms.initAtomPkt(m_curr_packet_in,m_index_curr_pkt); in processPHdr() 573 if(m_bSentUnknown || !atoms.numAtoms()) in processPHdr() 578 pElem->setCycleCount(atoms.getRemainCC()); in processPHdr() 581 atoms.clearAll(); // skip remaining atoms in processPHdr() 592 if(!atoms.numAtoms()) // override type if CC only in processPHdr() 595 pElem->setCycleCount(atoms.getAtomCC()); in processPHdr() 599 if(atoms.numAtoms()) in processPHdr() 602 m_code_follower.followSingleAtom(m_IAddr,atoms.getCurrAtomVal()); in processPHdr() 608 pElem->setLastInstrInfo(atoms.getCurrAtomVal() == ATOM_E, in processPHdr() [all …]
|
/external/perfetto/docs/reference/ |
D | checkpoint-atoms.md | 4 This diagram gives the atoms and the state transitions between when tracing/ 5 All atoms above log the UUID of the trace; 36 This diagram gives the atoms which can trigger finalization of a trace. 37 These atoms will not be reported individually but instead aggregated by trigger name
|
/external/llvm-project/lld/test/darwin/ |
D | native-and-mach-o.objtxt | 6 # Test a mix of atoms and mach-o both encoded in yaml 10 defined-atoms: 21 undefined-atoms:
|
D | cmdline-lto_library.objtxt | 1 # RUN: ld64.lld -arch x86_64 -lto_library %t -print-atoms -r %s 2>&1 | FileCheck %s 9 defined-atoms:
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_immediate.c | 215 static const struct i915_tracked_state *atoms[] = { variable 227 for (i = 0; i < ARRAY_SIZE(atoms); i++) in update_immediate() 228 if (i915->dirty & atoms[i]->dirty) in update_immediate() 229 atoms[i]->update(i915); in update_immediate()
|
D | i915_state_dynamic.c | 293 static const struct i915_tracked_state *atoms[] = { variable 311 for (i = 0; i < ARRAY_SIZE(atoms); i++) in update_dynamic() 312 if (i915->dirty & atoms[i]->dirty) in update_dynamic() 313 atoms[i]->update(i915); in update_dynamic()
|
D | i915_state_derived.c | 199 static struct i915_tracked_state *atoms[] = { variable 236 for (i = 0; atoms[i]; i++) in i915_update_derived() 237 if (atoms[i]->dirty & i915->dirty) in i915_update_derived() 238 atoms[i]->update(i915); in i915_update_derived()
|
/external/llvm-project/lld/include/lld/Core/ |
D | Simple.h | 78 auto &atoms = _defined; in removeDefinedAtomsIf() local 79 auto newEnd = std::remove_if(atoms.begin(), atoms.end(), in removeDefinedAtomsIf() 83 atoms.erase(newEnd, atoms.end()); in removeDefinedAtomsIf()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | HashedNameToDIE.cpp | 133 : die_base_offset(_die_base_offset), atoms(), atom_mask(0), in Prologue() 144 atoms.clear(); in ClearAtoms() 157 atoms.push_back({type, form}); in AppendAtom() 240 atoms.size() * sizeof(Atom); in GetByteSize() 267 const size_t num_atoms = header_data.atoms.size(); in Read() 272 DWARFFormValue form_value(nullptr, header_data.atoms[i].form); in Read() 277 switch (header_data.atoms[i].type) { in Read()
|
/external/minijail/tools/ |
D | generate_seccomp_policy.py | 151 atoms = [] 162 atoms.extend(['arg2 in ~PROT_EXEC', 'arg2 in ~PROT_WRITE']) 164 atoms.extend(f'arg{arg_index} == {arg_value}' for arg_value in arg_values) 165 return ' || '.join(atoms)
|