Home
last modified time | relevance | path

Searched +full:gen +full:- +full:mapping (Results 1 – 25 of 520) sorted by relevance

12345678910>>...21

/external/python/cpython3/Lib/test/
Dtest_types.py1 # Python test set -- part 6, built-in types
96 if 0 != 0.0 or 1 != 1.0 or -1 != -1.0:
98 # calling built-in types without argument must return 0
101 if int(1.9) == 1 == int(1.1) and int(-1.1) == -1 == int(-1.9): pass
103 if float(1) == 1.0 and float(-1) == -1.0 and float(0) == 0.0: pass
113 for i in range(-99, 100):
123 self.assertEqual(1.5e-100.__format__('e'), '1.500000e-100')
124 self.assertEqual('%e' % 1.5e-100, '1.500000e-100')
126 self.assertEqual(1.5e-101.__format__('e'), '1.500000e-101')
127 self.assertEqual('%e' % 1.5e-101, '1.500000e-101')
[all …]
/external/capstone/contrib/sysz_update/
D0007-capstone-generate-GenInsnNameMaps.inc.patch6 ---
13 diff --git a/lib/Target/SystemZ/CMakeLists.txt b/lib/Target/SystemZ/CMakeLists.txt
15 --- a/lib/Target/SystemZ/CMakeLists.txt
17 @@ -7,6 +7,7 @@ tablegen(LLVM SystemZGenDAGISel.inc -gen-dag-isel)
18 tablegen(LLVM SystemZGenDisassemblerTables.inc -gen-disassembler)
19 tablegen(LLVM SystemZGenInstrInfo.inc -gen-instr-info)
20 tablegen(LLVM SystemZMappingInsn.inc -mapping-insn)
21 +tablegen(LLVM SystemZGenInsnNameMaps.inc -gen-insn-name-maps)
22 tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter)
23 tablegen(LLVM SystemZGenRegisterInfo.inc -gen-register-info)
[all …]
D0006-capstone-generate-MappingInsn.inc.patch6 ---
13 diff --git a/lib/Target/SystemZ/CMakeLists.txt b/lib/Target/SystemZ/CMakeLists.txt
15 --- a/lib/Target/SystemZ/CMakeLists.txt
17 @@ -6,6 +6,7 @@ tablegen(LLVM SystemZGenCallingConv.inc -gen-callingconv)
18 tablegen(LLVM SystemZGenDAGISel.inc -gen-dag-isel)
19 tablegen(LLVM SystemZGenDisassemblerTables.inc -gen-disassembler)
20 tablegen(LLVM SystemZGenInstrInfo.inc -gen-instr-info)
21 +tablegen(LLVM SystemZMappingInsn.inc -mapping-insn)
22 tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter)
23 tablegen(LLVM SystemZGenRegisterInfo.inc -gen-register-info)
[all …]
/external/e2fsprogs/util/
Dmkutf8data.c16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30 /* Default names of the in- and output files. */
63 /* ------------------------------------------------------------------ */
78 #define UNICODE_MAJ_MAX ((unsigned short)-1)
79 #define UNICODE_MIN_MAX ((unsigned char)-1)
80 #define UNICODE_REV_MAX ((unsigned char)-1)
104 /* ------------------------------------------------------------------ */
109 * A compact binary tree, used to decode UTF-8 characters.
114 * NEXTBYTE - flag - advance to next byte if set
115 * BITNUM - 3 bit field - the bit number to tested
[all …]
/external/rust/crates/protobuf-codegen/
DREADME.md1 <!-- cargo-sync-readme start -->
10 * using `protoc` command line tool and `protoc-gen-rust` plugin
16 If you are using non-cargo build system (like Bazel), you might prefer
17 using `protoc-gen-rust` plugin for `protoc`.
24 * `protoc`-based parser (`protoc` is a command like utility from Google protobuf)
25 * pure rust parser (`protobuf-parse` crate)
27 `protoc`-based parser is expected to parse `.proto` files very correctly:
30 While there are no known bugs in `protobuf-parse`, it is not tested very well.
31 Also `protobuf-parse` does not implement certain rarely used features of `.proto` parser,
36 [`protoc-bin-vendored`](https://docs.rs/protoc-bin-vendored) crate.
[all …]
/external/rust/crates/protobuf-codegen/src/
Dlib.rs8 //! * using `protoc` command line tool and `protoc-gen-rust` plugin
14 //! If you are using non-cargo build system (like Bazel), you might prefer
15 //! using `protoc-gen-rust` plugin for `protoc`.
22 //! * `protoc`-based parser (`protoc` is a command like utility from Google protobuf)
23 //! * pure rust parser (`protobuf-parse` crate)
25 //! `protoc`-based parser is expected to parse `.proto` files very correctly:
28 //! While there are no known bugs in `protobuf-parse`, it is not tested very well.
29 //! Also `protobuf-parse` does not implement certain rarely used features of `.proto` parser,
34 //! [`protoc-bin-vendored`](https://docs.rs/protoc-bin-vendored) crate.
40 //! # pub fn protoc_bin_path() -> Result<std::path::PathBuf, std::io::Error> {
[all …]
/external/harfbuzz_ng/src/
Dgen-arabic-joining-list.py3 """usage: ./gen-arabic-joining-table.py ArabicShaping.txt Scripts.txt
15 files = [open (x, encoding='utf-8') for x in sys.argv[1:]]
22 mapping = {}
43 mapping[u] = t
45 return mapping
69 print (" /* List of scripts that have data in arabic-table. */")
88 print (" * ./gen-arabic-joining-list.py ArabicShaping.txt Scripts.txt")
Dgen-ucd-table.py3 """usage: ./gen-ucd-table ucd.nounihan.grouped.xml [/path/to/hb-common.h]
24 hb_common_h = 'hb-common.h' if len (sys.argv) < 3 else sys.argv[2]
42 bmg = [int(v, 16) - int(u) if v else 0 for u,v in enumerate(u['bmg'] for u in ucd)]
81 # Prepare General_Category / Script mapping arrays
92 sc_re = re.compile(r"\b(HB_SCRIPT_[_A-Z]*).*HB_TAG [(]'(.)','(.)','(.)','(.)'[)]")
121 print(" * ./gen-ucd-table.py ucd.nounihan.grouped.xml")
133 # Write mapping data
171 gc[i] = gc[i - 1]
172 for i in range(len(gc) - 2, -1, -1):
177 sc[i] = sc[i - 1]
[all …]
/external/clang/test/Driver/
Dclang_f_opts.c1 // REQUIRES: clang-driver
3-### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-blocks -fno-builti…
4-### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-asm -fno-blocks -f…
6 // CHECK-OPTIONS1: -split-stacks
7 // CHECK-OPTIONS1: -fgnu-keywords
8 // CHECK-OPTIONS1: -fblocks
9 // CHECK-OPTIONS1: -fpascal-strings
11 // CHECK-OPTIONS2: -fmath-errno
12 // CHECK-OPTIONS2: -fno-gnu-keywords
13 // CHECK-OPTIONS2: -fno-builtin
[all …]
/external/cronet/build/android/docs/
Dlife_of_a_resource.md11 [android resources]: https://developer.android.com/guide/topics/resources/providing-resources
12 [native resources]: https://www.chromium.org/developers/tools-we-use-in-chromium/grit/grit-users-gu…
44 * Target-specific `.build_config.json` file
53 * Target-specific `.build_config.json` file
57 * Target-specific `resources.zip` (contains all resources listed in `sources`).
58 * Target-specific `R.txt` (list of all resources, including dependencies).
60 `prepare_resources.py` zips up the target-specific resource files and generates
66 ### 3. Create target-specific R.java files
72 * Target-specific (placeholder) `R.java` file.
74 A target-specific `R.java` is generated for each `android_library()` target that
[all …]
/external/angle/build/android/docs/
Dlife_of_a_resource.md11 [android resources]: https://developer.android.com/guide/topics/resources/providing-resources
12 [native resources]: https://www.chromium.org/developers/tools-we-use-in-chromium/grit/grit-users-gu…
44 * Target-specific `.build_config.json` file
53 * Target-specific `.build_config.json` file
57 * Target-specific `resources.zip` (contains all resources listed in `sources`).
58 * Target-specific `R.txt` (list of all resources, including dependencies).
60 `prepare_resources.py` zips up the target-specific resource files and generates
66 ### 3. Create target-specific R.java files
72 * Target-specific (placeholder) `R.java` file.
74 A target-specific `R.java` is generated for each `android_library()` target that
[all …]
/external/minigbm/
Di915.c3 * Use of this source code is governed by a BSD-style license that can be
24 #define I915_CACHELINE_MASK (I915_CACHELINE_SIZE - 1)
125 i915->graphics_version = 4; in i915_info_from_device_id()
126 i915->is_xelpd = false; in i915_info_from_device_id()
127 i915->is_mtl = false; in i915_info_from_device_id()
130 if (gen3_ids[i] == i915->device_id) in i915_info_from_device_id()
131 i915->graphics_version = 3; in i915_info_from_device_id()
133 /* Gen 4 */ in i915_info_from_device_id()
135 if (gen4_ids[i] == i915->device_id) in i915_info_from_device_id()
136 i915->graphics_version = 4; in i915_info_from_device_id()
[all …]
/external/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp1 //===- verify-uselistorder.cpp - The LLVM Modular Optimizer ---------------===//
8 //===----------------------------------------------------------------------===//
10 // Verify that use-list order can be serialized correctly. After reading the
11 // provided IR, this tool shuffles the use-lists and then writes and reads to a
12 // separate Module whose use-list orders are compared to the original.
14 // The shuffles are deterministic, but guarantee that use-lists will change.
22 // 3. Assign a random number to each Use in the Value's use-list in order.
26 // 5. Sort the use-list using Value::sortUseList(), which is a stable sort.
28 //===----------------------------------------------------------------------===//
60 cl::init("-"),
[all …]
/external/skia/infra/bots/recipe_modules/build/examples/full.expected/
DBuild-Debian10-Clang-x86_64-Debug-Coverage.json5 "[START_DIR]/cache/work/skia/bin/fetch-gn"
13 "name": "fetch-gn"
18 "[START_DIR]/cache/work/skia/bin/fetch-ninja"
26 "name": "fetch-ninja"
31 "-u",
33 "--json-output",
49 "-s"
60 "name": "ccache stats-start"
65 "gen",
66 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-x86_64-Debug-Coverage/Debug",
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorMiscTest.java36 jg.writeNumber(-1); in testIsClosed()
49 // note: NOT mapping factory, for this test in testSimpleWriteObject()
51 JsonGenerator gen = JSON_F.createGenerator(sw); in testSimpleWriteObject() local
52 gen.writeStartArray(); in testSimpleWriteObject()
55 gen.writeObject(1); in testSimpleWriteObject()
56 gen.writeObject((short) -2); in testSimpleWriteObject()
57 gen.writeObject((long) 3); in testSimpleWriteObject()
58 gen.writeObject((byte) -4); in testSimpleWriteObject()
59 gen.writeObject(0.25); in testSimpleWriteObject()
60 gen.writeObject(-0.125f); in testSimpleWriteObject()
[all …]
/external/minijail/tools/
Dgenerate_constants_json.py2 # -*- coding: utf-8 -*-
10 # http://www.apache.org/licenses/LICENSE-2.0
17 """Helper tool to generate cross-compiled syscall and constant tables to JSON.
19 This script takes the LLVM IR of libconstants.gen.c and libsyscalls.gen.c and
21 architecture-neutral (at least for this case).
30 _STRING_CONSTANT_RE = re.compile(r'(@[a-zA-Z0-9.]+) = .*c"([^"\\]+)\\00".*')
37 # For arm-v7a. What we are interested in are the @.str.x and the very last
39 _TABLE_ENTRY_CONTENTS = re.compile(r'.*?(null|@[a-zA-Z0-9.]+).* (-?\d+)')
41 # When testing clang-r458909, we found a new constant_entry pattern:
43 # For the same constant, current clang-r458507 generates:
[all …]
/external/llvm/utils/
Dschedcover.py4 # llvm-tblgen --gen-subtarget --debug-only=subtarget-emitter
44 for (instr, mapping) in ordered_table:
47 if model in mapping:
48 sys.stdout.write(", {}".format(mapping[model]))
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DObjectIdGenerators.java41 public boolean canUseFor(ObjectIdGenerator<?> gen) { in canUseFor() argument
42 return (gen.getClass() == getClass()) && (gen.getScope() == _scope); in canUseFor()
64 * Abstract place-holder class which is used to denote case
67 * during serialization, and used as-is during deserialization.
79 * Simple sequence-number based generator, which uses basic Java
88 public IntSequenceGenerator() { this(Object.class, -1); } in IntSequenceGenerator()
108 // 02-Apr-2015, tatu: As per [annotations#56], should check for null in key()
117 // 02-Apr-2015, tatu: As per [annotations#56], should check for null in generateId()
168 // 02-Apr-2015, tatu: As per [annotations#56], should check for null in key()
179 public boolean canUseFor(ObjectIdGenerator<?> gen) { in canUseFor() argument
[all …]
/external/grpc-grpc-java/buildscripts/kokoro/
Dandroid.sh3 set -exu -o pipefail
9 # (a composite gradle build can't find protoc-gen-grpc-java)
11 cd "$BASE_DIR/github/grpc-java"
13 export LDFLAGS=-L/tmp/protobuf/lib
14 export CXXFLAGS=-I/tmp/protobuf/include
19 # defaults to -Xmx512m -XX:MaxMetaspaceSize=256m
23 org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=1024m
26 echo y | ${ANDROID_HOME}/tools/bin/sdkmanager "build-tools;28.0.3"
32 sudo update-java-alternatives --set java-1.11.0-openjdk-amd64
36 GRADLE_FLAGS="-Pandroid.useAndroidX=true"
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h51 * generation backend can override this with screen->gmem_reason_mask
75 uint8_t gen; /* GPU (major) generation */ member
89 * blend and depth-write enabled, because this can lead to incorrect
124 * places, like screen->get_timestamp(). For anything context
125 * related, use ctx->pipe instead.
136 /* indirect-branch emit: */
166 /* table with MESA_PRIM_COUNT+1 entries mapping MESA_PRIM_x to
194 simple_mtx_lock(&screen->lock); in fd_screen_lock()
200 simple_mtx_unlock(&screen->lock); in fd_screen_unlock()
206 simple_mtx_assert_locked(&screen->lock); in fd_screen_assert_locked()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
DREADME.md12 can easily connect interface clients and implementations across arbitrary intra-
13 and inter-process bounaries.
63 ninja -C out/r services/db/public/interfaces
70 out/gen/services/db/public/interfaces/db.mojom.cc
71 out/gen/services/db/public/interfaces/db.mojom.h
92 For details, see [Blink Type Mapping](#Blink-Type-Mapping).
144 In the world of Mojo bindings libraries these are effectively strongly-typed
151 end of an `InterfacePtr<T>`'s pipe -- the receiving end -- until it can be
154 useful compile-time type information.
158 So how do we create a strongly-typed message pipe?
[all …]
/external/zucchini/fuzzers/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
20 # gsutil -m rsync \
21 # gs://clusterfuzz-corpus/libfuzzer/zucchini_disassembler_dex_fuzzer \
32 # gsutil -m rsync \
33 # gs://clusterfuzz-corpus/libfuzzer/zucchini_disassembler_win32_fuzzer \
45 # gsutil -m rsync \
46 # gs://clusterfuzz-corpus/libfuzzer/zucchini_disassembler_elf_fuzzer \
78 "--raw",
151 "//third_party/libprotobuf-mutator",
160 # For Gen fuzzers seeds can be created from this directory with:
[all …]
/external/skia/toolchain/linux_trampolines/
Dclang_trampoline_linux.sh4 # Use of this source code is governed by a BSD-style license that can be
7 export LD_LIBRARY_PATH="external/clang_linux_amd64/usr/lib/x86_64-linux-gnu"
9 set -euo pipefail
18 # We only want to run include-what-you-use if DSKIA_ENFORCE_IWYU is in the arguments
20 # (as detected by the presence of -fuse-ld).
21 if [[ "$@" != *DSKIA_ENFORCE_IWYU* || "$@" == *use-ld* ]]; then
31 "include/gpu/ganesh/gen/"
32 "include/gpu/gen/"
33 "include/gpu/vk/gen/"
46 "src/gpu/ganesh/gen/"
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DPOJONode.java11 * a JSON constructed through data mapping (usually done by
106 public final void serialize(JsonGenerator gen, SerializerProvider ctxt) throws IOException in serialize() argument
109 ctxt.defaultSerializeNull(gen); in serialize()
111 ((JsonSerializable) _value).serialize(gen, ctxt); in serialize()
113 // 25-May-2018, tatu: [databind#1991] do not call via generator but through context; in serialize()
115 ctxt.defaultSerializeValue(_value, gen); in serialize()
/external/igt-gpu-tools/assembler/
Dbrw_disasm.c106 [1] = "-",
178 [1] = "-"
411 vsnprintf (buf, sizeof (buf) - 1, format, args); in format()
473 return -1; in reg()
500 return -1; in reg()
517 if (inst->header.access_mode == BRW_ALIGN_1) in dest()
519 if (inst->bits1.da1.dest_address_mode == BRW_ADDRESS_DIRECT) in dest()
521 err |= reg (file, inst->bits1.da1.dest_reg_file, inst->bits1.da1.dest_reg_nr); in dest()
522 if (err == -1) in dest()
524 if (inst->bits1.da1.dest_subreg_nr) in dest()
[all …]

12345678910>>...21