Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 238) sorted by relevance

12345678910

/build/test/test_example_template/src/
Dadder.cpp42 Adder a; in main() local
43 a.AddNum(ip_ida); in main()
44 a.AddNum(ip_idb); in main()
45 a.AddNum(ip_idc); in main()
46 cout << "Total " << a.GetTotal() << endl; in main()
/build/rust/tests/test_rust_ut/src/
Dmain.rs18 pub fn add(a: i32, b: i32) -> i32 { in add()
19 a + b in add()
25 fn bad_add(a: i32, b: i32) -> i32 { in bad_add()
26 a - b in bad_add()
/build/
DREADME_zh.md1 # 编译构建<a name="ZH-CN_TOPIC_0000001124588563"></a>
10 ## 简介<a name="section11660541593"></a>
20 **图 1** 编译构建子系统架构图<a name="fig16488143010409"></a>
23 ## 目录<a name="section161941989596"></a>
63 ## 约束与限制<a name="section2029921310472"></a>
77 ## 说明<a name="section1312121216216"></a>
313 ## 常见问题说明<a name="section131336181"></a>
329 [如何跟随系统使用gn编译hap](docs/how-to-build-a-hap.md)
340 ## 相关仓<a name="section1371113476307"></a>
/build/config/
Darm.gni2 # Use of this source code is governed by a BSD-style license that can be
17 # The ARM architecture. This will be a string like "armv6" or "armv7-a".
21 # The ARM floating point hardware. This will be a string like "neon" or
30 # The ARM variant-specific tuning mode. This will be a string like "armv6"
41 # Thumb is a reduced instruction set available on some ARM processors that
51 # Don't use neon on V8 simulator builds as a default.
75 arm_arch = "armv7-a"
78 arm_tune = "generic-armv7-a"
101 arm_arch = "armv8-a"
104 arm_tune = "generic-armv8-a"
[all …]
Dpython.gni2 # Use of this source code is governed by a BSD-style license that can be
5 # Creates a group() that lists Python sources as |data|.
12 # All non-trivial Python scripts should use a "pydeps" file to track their
13 # sources. To create a .pydep file for a target in //example:
63 # A template used for actions that execute a Python script, which has an
67 # to a Python script (e.g. "//build/.../foo.py") that has a corresponding
70 # - The .pydeps file contains a list of python dependencies (imports really)
71 # and is generated _manually_ by using a command like:
83 # This is a bit convoluted to preserve the value of sources if defined.
126 # This is a bit convoluted to preserve the value of sources if defined.
Dv8_target_cpu.gni2 # Use of this source code is governed by a BSD-style license that can be
20 # indirectly by specifying a `custom_toolchain` that contains v8_$cpu in the
28 # v8_target_cpu can only be used to target one architecture in a build,
45 # If we're running under a sanitizer, if we configure v8 to generate
46 # code that will be run under a simulator, then the generated code
/build/docs/
Dpython3脚本优化.md10 def add_numbers(a: int, b: int) -> int:
11 return a + b
14 这里,`a`和`b`的类型被指定为`int`,并且函数的返回值类型为`int`。
52 if a == 0 or b == 0:
Dcompilation-and-build-rules.md10 executable("a") {
49 "//a/b/c/*", # 通过绝对路径指定范围
50 "./a/b/c/*", # 通过相对路径指定范围
/build/rust/tests/test_rust_st/src/
Dlib.rs18 pub fn add(a: i32, b: i32) -> i32 { in add()
19 a + b in add()
/build/config/mac/
Dsymbols.gni2 # Use of this source code is governed by a BSD-style license that can be
12 # generation is controlled globally as it is a linker output (produced via
14 # all shared library, loadable module, and executable targets having a dSYM
20 # If custom stripping parameters are required, remove that config from a
26 # Save unstripped copies of targets with a ".unstripped" suffix. This is
/build/rust/tests/test_bindgen_test/test_for_hello_world/
Dlib.c26 uint32_t FuncAAddB(uint32_t a, uint32_t b) in FuncAAddB() argument
29 return a + b; in FuncAAddB()
Dmain.rs25 pub fn add_two_numbers_in_c(a: u32, b: u32) -> u32 { in add_two_numbers_in_c()
26 unsafe { c_ffi::FuncAAddB(a, b) } in add_two_numbers_in_c()
/build/lite/ndk/doc/config/
DDoxyfile_CPP5 # You may obtain a copy of the License at
19 # doxygen (www.doxygen.org) for a project.
21 # All text after a double hash (##) is considered a comment and is placed in
24 # All text after a single hash (#) is considered a comment and will be ignored.
44 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
47 # title of most generated pages and in a few other places.
52 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
59 # for a project that appears at the top of each page and should give viewer a
72 # into which the generated documentation will be written. If a relative path is
81 # option can be useful when feeding doxygen a huge amount of source files, where
[all …]
DDoxyfile_C5 # You may obtain a copy of the License at
19 # doxygen (www.doxygen.org) for a project.
21 # All text after a double hash (##) is considered a comment and is placed in
24 # All text after a single hash (#) is considered a comment and will be ignored.
44 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
47 # title of most generated pages and in a few other places.
52 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
59 # for a project that appears at the top of each page and should give viewer a
72 # into which the generated documentation will be written. If a relative path is
81 # option can be useful when feeding doxygen a huge amount of source files, where
[all …]
/build/config/ohos/
Dabi.gni2 # Use of this source code is governed by a BSD-style license that can be
6 # without introducing a circular dependency.
11 # Adds instrumentation to each function. Writes a file with the order that
16 # instrumentation switches from startup profiling after a delay, and
17 # then waits for a devtools memory dump request to dump all
19 # startup, and then after a second delay all profiling information is dumped.
Dconfig.gni2 # Use of this source code is governed by a BSD-style license that can be
44 …san_file = "${clang_base_path}/lib/clang/${clang_version}/lib/${abi_target}/libclang_rt.gwp_asan.a"
46 …_rt_file = "${clang_base_path}/lib/clang/${clang_version}/lib/${abi_target}/libclang_rt.builtins.a"
47 libcxxabi_file = "${clang_base_path}/lib/${abi_target}/libc++abi.a"
/build/rust/tests/test_cxx/
Dmain.cpp20 int a = 2021; in main() local
26 std::cout << r_return_sum(a, b) << std::endl; in main()
/build/lite/ndk/build/toolchain/
Dclang.gni4 # You may obtain a copy of the License at
23 assert(defined(invoker.cc), "clang toolchain must specify a \"cc\" value")
24 assert(defined(invoker.cxx), "clang toolchain must specify a \"cxx\" value")
25 assert(defined(invoker.ar), "clang toolchain must specify a \"ar\" value")
26 assert(defined(invoker.as), "clang toolchain must specify a \"as\" value")
27 assert(defined(invoker.ld), "clang toolchain must specify a \"ld\" value")
69 default_output_extension = ".a"
Dgcc.gni4 # You may obtain a copy of the License at
24 assert(defined(invoker.ar), "gcc toolchain must specify a \"ar\" value")
25 assert(defined(invoker.cc), "gcc toolchain must specify a \"cc\" value")
26 assert(defined(invoker.cxx), "gcc toolchain must specify a \"cxx\" value")
27 assert(defined(invoker.ld), "gcc toolchain must specify a \"ld\" value")
77 default_output_extension = ".a"
/build/rust/tests/test_rlib_cargo_crate/
DBUILD.gn4 # You may obtain a copy of the License at
38 # Exists to test the case that a single crate has both a library and a binary
/build/ohos/notice/
Dlicense32 transformation or translation of a Source form, including but
37 Object form, made available under the License, as indicated by a
44 represent, as a whole, an original work of authorship. For the purposes
61 designated in writing by the copyright owner as "Not a Contribution."
64 on behalf of whom a Contribution has been received by Licensor and
68 this License, each Contributor hereby grants to You a perpetual,
75 this License, each Contributor hereby grants to You a perpetual,
83 institute patent litigation against any entity (including a
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
85 or a Contribution incorporated within the Work constitutes direct
[all …]
/build/hb/
DREADME_zh.md1 # HB构建工具使用指导<a name="ZH-CN_TOPIC_0000001130006475"></a>
9 ## 简介<a name="section11660541593"></a>
40 ## 说明<a name="section1312121216216"></a>
42 ### 使用说明<a name="section129654513264"></a>
76 …Default:''. Help:Build a specified product. You could use this option like this: 1.'hb set --produ…
77 …--all Default:False. Help:Use a graphical interface to customize most compile-ti…
107 …Default:''. Help:Build a specified product. If you have executed 'hb set', execute 'hb build' dire…
120 …Default:[]. Help:You use this option to specify a single compilation target, and use 'hb tool --ls…
127 …Default:False. Help:Check all produce of each phase to early terminates a potentially problematic …
215 …--desc [DESC ...] Default:[]. Help:Displays information about a given target or config. …
[all …]
/build/toolchain/
Dcc_wrapper.gni2 # Use of this source code is governed by a BSD-style license that can be
6 # ccache: a c/c++ compiler cache which can greatly reduce recompilation times.
7 # icecc, distcc: it takes compile jobs from a build and distributes them among
8 # remote machines allowing a parallel build.
/build/lite/toolchain/
Dclang.gni4 # You may obtain a copy of the License at
16 assert(defined(invoker.cc), "clang toolchain must specify a \"cc\" value")
17 assert(defined(invoker.cxx), "clang toolchain must specify a \"cxx\" value")
18 assert(defined(invoker.ar), "clang toolchain must specify a \"ar\" value")
19 assert(defined(invoker.ld), "clang toolchain must specify a \"ld\" value")
60 default_output_extension = ".a"
/build/config/gcc/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
12 # When non empty, overrides the target rpath value. This allows a user to
13 # make a Chromium build where binaries and shared libraries are meant to be
15 # /usr/lib/chromium for instance. It is useful when a build system that
16 # generates a whole target root filesystem (like Yocto) is used on top of gn,
48 # It's often a good idea to set visibility explicitly, as there're flags
54 # The rpath is the dynamic library search path. Setting this config on a link
118 # relative to the build directory. ${root_out_dir} will be a

12345678910