Home
last modified time | relevance | path

Searched refs:crate (Results 1 – 21 of 21) sorted by relevance

/third_party/gn/src/gn/
Drust_project_writer.cc183 std::string_view crate, in AddSysrootCrate() argument
187 if (sysroot_crate_lookup.find(crate) != sysroot_crate_lookup.end()) { in AddSysrootCrate()
193 auto deps_lookup = sysroot_deps_map.find(crate); in AddSysrootCrate()
203 sysroot_crate_lookup.insert(std::make_pair(crate, crate_index)); in AddSysrootCrate()
209 "/lib/rustlib/src/rust/library/" + std::string(crate) + "/src/lib.rs"; in AddSysrootCrate()
212 std::string(crate), "2018"); in AddSysrootCrate()
238 for (auto crate : sysroot_crates) { in AddSysroot() local
239 AddSysrootCrate(build_settings, crate, sysroot, sysroot_lookup[sysroot], in AddSysroot()
244 void AddSysrootDependencyToCrate(Crate* crate, in AddSysrootDependencyToCrate() argument
249 crate->AddDependency(crate_idx->second, std::string(crate_name)); in AddSysrootDependencyToCrate()
[all …]
Drust_variables.cc30 This target would compile the `foo` crate with the following `extern` flag:
47 "crate_name: [string] The name for the compiled crate.";
49 R"(crate_name: [string] The name for the compiled crate.
67 This field sets the `crate-type` attribute for the `rustc` tool on static
70 crate type (where the Rust compiler produces what it thinks is the
73 It should be noted that the "dylib" crate type in Rust is unstable in the set
Dninja_rust_binary_target_writer.cc319 for (const auto& crate : transitive_rust_deps) { in WriteExternsAndDeps() local
320 const OutputFile& rust_lib = crate.target->dependency_output_file(); in WriteExternsAndDeps()
322 if (crate.has_direct_access) { in WriteExternsAndDeps()
323 write_extern_target(*crate.target); in WriteExternsAndDeps()
Dfunction_toolchain_unittest.cc96 …command = "{{rustenv}} rustc --crate-name {{crate_name}} --crate-type bin {{rustflags}} -o {{outpu… in TEST_F()
Dfunction_toolchain.cc392 These specify the default tool output for each of the crate types.
/third_party/gn/examples/rust_example/build/
DBUILD.gn5 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
13 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
21 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
29 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
/third_party/typescript/tests/baselines/reference/
DtypeGuardFunctionOfFormThis.types231 let crate: Crate<{}>;
232 >crate : Crate<{}>
234 if (crate.isSundries()) {
235 >crate.isSundries() : boolean
236 >crate.isSundries : () => this is Crate<Sundries>
237 >crate : Crate<{}>
240 crate.contents.broken = true;
241 >crate.contents.broken = true : true
242 >crate.contents.broken : boolean
243 >crate.contents : Sundries
[all …]
DtypeGuardFunctionOfFormThis.js100 let crate: Crate<{}>; variable
102 if (crate.isSundries()) {
103 crate.contents.broken = true;
105 else if (crate.isSupplies()) {
106 crate.contents.spoiled = true;
257 var crate; variable
258 if (crate.isSundries()) {
259 crate.contents.broken = true;
261 else if (crate.isSupplies()) {
262 crate.contents.spoiled = true;
[all …]
DtypeGuardFunctionOfFormThis.symbols229 let crate: Crate<{}>;
230 >crate : Symbol(crate, Decl(typeGuardFunctionOfFormThis.ts, 98, 3))
233 if (crate.isSundries()) {
234 >crate.isSundries : Symbol(Crate.isSundries, Decl(typeGuardFunctionOfFormThis.ts, 94, 42))
235 >crate : Symbol(crate, Decl(typeGuardFunctionOfFormThis.ts, 98, 3))
238 crate.contents.broken = true;
239 >crate.contents.broken : Symbol(Sundries.broken, Decl(typeGuardFunctionOfFormThis.ts, 87, 20))
240 >crate.contents : Symbol(Crate.contents, Decl(typeGuardFunctionOfFormThis.ts, 91, 20))
241 >crate : Symbol(crate, Decl(typeGuardFunctionOfFormThis.ts, 98, 3))
245 else if (crate.isSupplies()) {
[all …]
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardFunctionOfFormThis.ts100 let crate: Crate<{}>; variable
102 if (crate.isSundries()) {
103 crate.contents.broken = true;
105 else if (crate.isSupplies()) {
106 crate.contents.spoiled = true;
/third_party/alsa-lib/src/pcm/
Dpcm_plug.c795 const snd_interval_t *srate, *crate; in snd_pcm_plug_hw_refine_schange() local
870 crate = snd_pcm_hw_param_get_interval(params, SND_PCM_HW_PARAM_RATE); in snd_pcm_plug_hw_refine_schange()
872 snd_interval_muldiv(&buffer_size, srate, crate, &t); in snd_pcm_plug_hw_refine_schange()
896 const snd_interval_t *srate, *crate; in snd_pcm_plug_hw_refine_cchange() local
971 crate = snd_pcm_hw_param_get_interval(params, SND_PCM_HW_PARAM_RATE); in snd_pcm_plug_hw_refine_cchange()
973 snd_interval_muldiv(sbuffer_size, crate, srate, &t); in snd_pcm_plug_hw_refine_cchange()
Dpcm_rate.c176 const snd_interval_t *srate, *crate; in snd_pcm_rate_hw_refine_schange() local
188 crate = snd_pcm_hw_param_get_interval(params, SND_PCM_HW_PARAM_RATE); in snd_pcm_rate_hw_refine_schange()
190 snd_interval_muldiv(&buffer_size, srate, crate, &t); in snd_pcm_rate_hw_refine_schange()
209 const snd_interval_t *srate, *crate; in snd_pcm_rate_hw_refine_cchange() local
220 crate = snd_pcm_hw_param_get_interval(params, SND_PCM_HW_PARAM_RATE); in snd_pcm_rate_hw_refine_cchange()
222 snd_interval_muldiv(sbuffer_size, crate, srate, &t); in snd_pcm_rate_hw_refine_cchange()
/third_party/qrcodegen/rust/
DReadme.markdown37 extern crate qrcodegen;
/third_party/flatbuffers/docs/source/
DRustUsage.md23 your program by including the file. As noted, this header relies on the crate
69 extern crate flatbuffers;
DTutorial.md527 extern crate flatbuffers;
2307 extern crate flatbuffers;
/third_party/qrcodegen/
DReadme.markdown164 extern crate qrcodegen;
/third_party/gn/docs/
Dreference.md88 * [aliased_deps: [scope] Set of crate-dependency pairs.](#var_aliased_deps)
114 * [crate_name: [string] The name for the compiled crate.](#var_crate_name)
123 * [externs: [scope] Set of Rust crate-dependency pairs.](#var_externs)
3494 These specify the default tool output for each of the crate types.
3923 Expands to the string representing the crate name of target under
3927 Expands to the string representing the type of crate for the target
4531 ### <a name="var_aliased_deps"></a>**aliased_deps**: [scope] Set of crate-dependency pairs.
4537 A scope, each key indicating the renamed crate and the corresponding value
4547 This target would compile the `foo` crate with the following `extern` flag:
5257 ### <a name="var_crate_name"></a>**crate_name**: [string] The name for the compiled crate.
[all …]
/third_party/icu/icu4j/perf-tests/data/collation/
Dnvsbl10.txt554 lay hands on the smaller crate.
632 Directly the first crate was, in accordance with his directions,
645 boast half so many. Quite a sight it was. Crate after crate yielded
Dulyss10.txt12899 upturned lithia crate, safe from eyes, low.
/third_party/mindspore/tests/ut/data/mindrecord/testAclImdbData/
Dvocab.txt27298 crate
/third_party/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt19449 條板箱 < crate;
25620 條板箱 > crate;
25666 板條箱 > crate;