/third_party/openssl/test/ |
D | srptest.c | 45 const SRP_gN *GN; in run_srp() local 47 if (!TEST_ptr(GN = SRP_get_default_gN("1024"))) in run_srp() 52 &s, &v, GN->N, GN->g))) in run_srp() 55 test_output_bignum("N", GN->N); in run_srp() 56 test_output_bignum("g", GN->g); in run_srp() 68 Bpub = SRP_Calc_B(b, GN->N, GN->g, v); in run_srp() 71 if (!TEST_true(SRP_Verify_B_mod_N(Bpub, GN->N))) in run_srp() 82 Apub = SRP_Calc_A(a, GN->N, GN->g); in run_srp() 85 if (!TEST_true(SRP_Verify_A_mod_N(Apub, GN->N))) in run_srp() 89 u = SRP_Calc_u(Apub, Bpub, GN->N); in run_srp() [all …]
|
/third_party/gn/ |
D | README.md | 1 # GN chapter 3 GN is a meta-build system that generates build files for 10 * [GN quick start guide](https://gn.googlesource.com/gn/+/main/docs/quick_start.md). 18 ## What GN is for 20 GN is currently used as the build system for Chromium, Fuchsia, and related 21 projects. Some strengths of GN are: 27 easy for people with no backround in GN to make basic edits to the build. 38 * It has a focus on correctness. GN checks for the correct dependencies, 45 Although small projects successfully use GN, the focus on large projects has 48 * GN has the goal of being minimally expressive. Although it can be quite [all …]
|
/third_party/gn/docs/ |
D | quick_start.md | 1 # GN Quick Start guide 5 ## Running GN 7 You just run `gn` from the command line. For large projects, GN is versioned 16 GN binary and run it with the given arguments. 22 Unlike some other build systems, with GN you set up your own build directories 28 should not have to re-run GN. 81 See [GN cross compiles](cross_compiles.md) for more info. 87 Go to the directory `examples/simple_build`. This is the root of a minimal GN 103 file in the parent (`simple_build`) directory. GN starts by loading this root 110 So let's make a "tools" group. In GN, a "group" is just a collection of [all …]
|
D | standalone.md | 4 with GN but also be brought into the Chrome build. 6 GN is in principle no different than GYP in that there is some core 8 and the Chrome build. However, GN is much more explicit in its naming 13 # What you need for a minimal GN build 24 You may want a `.gn` file in the root directory. When you run GN it 34 that then running GN in your subdirectory will configure a build for
|
D | faq.md | 1 # GN Frequently Asked Questions 5 ## Where is the GN documentation? 7 GN has extensive built-in help, so you can run `gn help`, but you can also see 23 GN has robust support for doing cross compiles and building things for 31 file, i.e., "//:default", GN will tell Ninja to build that by default, rather 34 ## Are there any public presentations on GN? 43 directories are collected from various sources by GN. The ordering is defined 110 are processed and are not available to the GN script. 112 Sometimes people want to write conditional GN code based on values of a 113 dependency. This is not possible: GN has no defined order for loading BUILD.gn [all …]
|
D | cross_compiles.md | 1 # How GN handles cross-compiling 3 ## As a GN user 5 GN has robust support for doing cross compiles and building things for 11 To start, GN has the concepts of a _host_ and a _target_. The host is 18 (Confusingly, GN also refers to each build artifact -- an executable, 23 When GN starts up, the `host_os` and `host_cpu` variables are set
|
D | language.md | 1 # GN Language and Operation 11 GN has an extensive built-in help system which provides a reference for 20 from a March, 2016 introduction to GN. The speaker notes contain the full 45 GN uses an extremely simple, dynamically typed language. The types are: 375 Templates are GN's primary way to re-use code. Typically, a template 476 There are two ways to execute scripts. All external scripts in GN are in 519 GN also adds the concept of "configs" to manage some of the trickier 521 server. Blaze has a concept of a "configuration" which is like a GN 523 in GN is a result of trying to separate this concept out into the build 526 GN keeps some GYP concept like "all dependent" settings which work a bit [all …]
|
/third_party/gn/misc/vim/ |
D | README.md | 1 # GN vim syntax plugin 5 You can use modern plugin managers to download the GN repo and manage the vim 22 If you don't use a plugin manager or would prefer to manage the GN repo 31 ## Formatting GN files 35 [vim-codefmt](https://github.com/google/vim-codefmt) supports the GN filetype
|
/third_party/skia/site/docs/user/ |
D | build.md | 11 Skia uses [GN](https://chromium.googlesource.com/chromium/src/tools/gn/) to 30 a GN argument that looks something like `skia_use_foo` for appropriate `foo`. 53 `--args='cc="clang-6.0" cxx="clang++6.0"'` GN build arguments, as illustrated in 86 GN allows multiple build folders to coexist; each build can be configured 131 When generating your GN build files, pass the path to your `ndk` and your 182 Once those files are in place, generate the GN args that resemble the following: 260 Run GN to generate your build files. Set `target_os="ios"` to build for iOS. 271 set the GN args `skia_ios_identity` to match your code signing identity and 310 Skia can build on Windows with Visual Studio 2017 or 2019. If GN is unable to 312 pass your `VC` path to GN via `win_vc`. [all …]
|
/third_party/flutter/skia/site/user/ |
D | build.md | 7 Skia uses [GN](https://chromium.googlesource.com/chromium/src/tools/gn/) to 38 by a GN argument that looks something like `skia_use_foo` for appropriate 62 Run GN to generate your build files. 71 GN allows fine-grained settings for developers and special situations. 110 When generating your GN build files, pass the path to your `ndk` and your 154 Once those files are in place, generate the GN args that resemble the following: 229 Run GN to generate your build files. Set `target_os="ios"` to build for iOS. 260 If GN is unable to locate either of those, it will print an error message. In that 261 case, you can pass your `VC` path to GN via `win_vc`. 270 You can then pass the VC and SDK paths to GN by setting your GN args: [all …]
|
/third_party/gn/src/gn/ |
D | input_conversion.cc | 292 a scope renders as a GN code block of its values. If the Value was: 320 input: Parse the input as a JSON and convert it to equivalent GN rvalue. 325 a string in JSON maps to string in GN 326 an integer in JSON maps to integer in GN 328 an object in JSON maps to scope in GN 329 an array in JSON maps to list in GN 330 a boolean in JSON maps to boolean in GN 333 Nota that the input dictionary keys have to be valid GN identifiers
|
D | switches.cc | 44 " Normally GN will try to detect whether it is outputting to a terminal\n" \ 145 Specifying --root allows GN to do builds in a specific directory regardless 177 from project that uses GN without modifying any files. 202 For each target requested, GN will write a separate runtime dependency file. 206 an output file "bar.so", GN will create a file "bar.so.runtime_deps" in the 225 GN runs many threads to load and run build files. This can make debugging 279 "--version: Prints the GN version number and exits.";
|
/third_party/flutter/skia/site/user/special/ |
D | lua.md | 16 To build Lua support into Skia tools, set the GN argument `skia_use_lua` to `true`. 17 Optionally, set `skia_use_system_lua`. Then re-run GN. 31 This feature is not yet supported by GN, but would have looked something like this:
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonCommonGEP.cpp | 201 friend raw_ostream &operator<< (raw_ostream &OS, const GepNode &GN); 220 raw_ostream &operator<< (raw_ostream &OS, const GepNode &GN) { in operator <<() argument 223 if (GN.Flags & GepNode::Root) { in operator <<() 227 if (GN.Flags & GepNode::Internal) { in operator <<() 233 if (GN.Flags & GepNode::Used) { in operator <<() 238 if (GN.Flags & GepNode::InBounds) { in operator <<() 244 if (GN.Flags & GepNode::Root) in operator <<() 245 OS << "BaseVal:" << GN.BaseVal->getName() << '(' << GN.BaseVal << ')'; in operator <<() 247 OS << "Parent:" << GN.Parent; in operator <<() 250 if (ConstantInt *CI = dyn_cast<ConstantInt>(GN.Idx)) in operator <<() [all …]
|
/third_party/skia/third_party/externals/angle2/doc/ |
D | DevSetupAndroid.md | 11 The following command will open a text editor to populate GN args for an Android Release build: 16 Once the editor is up, paste the following GN args to generate an Android build, and save the file. 26 More targeted GN arg combinations can be found [below](#android-gn-args-combinations). 31 - Expand the for "lookup GN args" step and copy the GN args. 183 ## Android GN args combinations 185 The [above](#angle-gn-args-for-android) GN args only modify default values to generate a Debug 222 a GN arg:
|
D | DevSetup.md | 14 …* Required to download dependencies (with gclient), generate build files (with GN), and compile AN… 24 …* Required for GN-generated Visual Studio projects, the Debug runtime for D3D11, and the D3D Compi… 62 GN will generate ninja files. The default build options build ANGLE with clang and in release mode. 81 For more information on GN run `gn help`. 88 Ninja automatically calls GN to regenerate the build files on any configuration change. 120 …3. If you do want to build in the solution, "Build Solution" is not functional with GN. Build one …
|
/third_party/gn/examples/simple_build/ |
D | README.md | 1 # GN Simple Build Example 4 gcc. It is intended to show how to set up a simple GN build. It is deliberately
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | vulkan.gni | 15 # File containing GN "constants" for Swiftshader Vulkan so that GN-based
|
/third_party/node/tools/v8_gypfiles/ |
D | v8.gyp | 183 …'v8_compiler_sources': ['<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_compiler_sources =… 400 '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_initializers.*?sources = ")', 749 … '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?sources = ")', 775 …'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu … 780 …'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu … 787 …'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?is_linux.*?sour… 792 …'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?is_win.*?source… 799 …'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu … 804 …'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu … 825 …'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu … [all …]
|
/third_party/flutter/skia/site/dev/chrome/ |
D | commandbuffer.md | 9 the command buffer as a shared library and thus no GYP/GN flags are 14 built with the `is_component_build` in GN set to false. This will produce a .so,
|
/third_party/skia/site/docs/dev/chrome/ |
D | commandbuffer.md | 14 the command buffer as a shared library and thus no GYP/GN flags are 19 built with the `is_component_build` in GN set to false. This will produce a .so,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | FunctionComparator.h | 96 GlobalNumberState* GN) in FunctionComparator() argument 97 : FnL(F1), FnR(F2), GlobalNumbers(GN) {} in FunctionComparator()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | wpa_auth.c | 2685 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, in fils_prepare_plainbuf() 2688 gtk = gsm->GTK[gsm->GN - 1]; in fils_prepare_plainbuf() 2702 hdr[0] = gsm->GN & 0x03; in fils_prepare_plainbuf() 3178 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, rsc); in SM_STATE() 3196 gtk = gsm->GTK[gsm->GN - 1]; in SM_STATE() 3208 keyidx = gsm->GN; in SM_STATE() 3572 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, rsc); in SM_STATE() 3576 gtk = gsm->GTK[gsm->GN - 1]; in SM_STATE() 3595 hdr[0] = gsm->GN & 0x03; in SM_STATE() 3616 rsc, NULL, kde, kde_len, gsm->GN, 1); in SM_STATE() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | wpa_auth.c | 2787 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, in fils_prepare_plainbuf() 2790 gtk = gsm->GTK[gsm->GN - 1]; in fils_prepare_plainbuf() 2803 hdr[0] = gsm->GN & 0x03; in fils_prepare_plainbuf() 3411 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, rsc); in SM_STATE() 3462 gtk = gsm->GTK[gsm->GN - 1]; in SM_STATE() 3474 gtkidx = gsm->GN; in SM_STATE() 3887 wpa_auth_get_seqnum(sm->wpa_auth, NULL, gsm->GN, rsc); in SM_STATE() 3891 gtk = gsm->GTK[gsm->GN - 1]; in SM_STATE() 3909 hdr[0] = gsm->GN & 0x03; in SM_STATE() 3931 rsc, NULL, kde, kde_len, gsm->GN, 1); in SM_STATE() [all …]
|
/third_party/cef/libcef/features/ |
D | BUILD.gn | 11 # regardless of whether CEF is being built. Set the `enable_cef=false` GN arg to 16 # 1. An existing GN configuration file at path/to/foo/BUILD.gn:
|