/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_types.py | 1 # 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 …]
|
D | test_collections.py | 26 from collections.abc import Mapping, MutableMapping, KeysView, ItemsView, ValuesView 156 self.assertEqual(ChainMap().maps, [{}]) # no-args --> one new dict 157 self.assertEqual(ChainMap({1:2}).maps, [{1:2}]) # 1 arg --> list 268 tmp = cm2 | d # testing between chainmap and mapping 274 # testing behavior between chainmap and iterable key-value pairs 319 self.assertRaises(ValueError, namedtuple, 'abc%', 'efg ghi') # type has non-alpha char 323 … self.assertRaises(ValueError, namedtuple, 'abc', 'efg g%hi') # field with non-alpha char 364 with self.assertRaises(TypeError): # non-iterable defaults 366 … with self.assertRaises(TypeError): # another non-iterable default 376 … Point = namedtuple('Point', 'x y', defaults=[10, 20]) # allow non-tuple iterable [all …]
|
/aosp_15_r20/external/e2fsprogs/util/ |
H A D | mkutf8data.c | 16 * 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 …]
|
/aosp_15_r20/out/target/product/shiba/obj/PACKAGING/notice_intermediates/out/target/product/shiba/gen/META/lic_intermediates/out/target/product/shiba/system_ext.img.meta_lic/ |
D | arguments | 1 -k SPDX-license-identifier-Apache-2.0 -c notice -n build/soong/licenses/LICENSE -d out/host/linux-x…
|
/aosp_15_r20/out/target/product/shiba/gen/META/lic_intermediates/out/target/product/shiba/ |
D | system_ext.img.meta_lic | 5 license_kinds: "SPDX-license-identifier-Apache-2.0" 14 sources: "out/host/linux-x86/bin/build_image" 16 sources: "out/host/linux-x86/bin/mkuserimg_mke2fs" 17 sources: "out/host/linux-x86/bin/mkf2fsuserimg" 18 sources: "out/host/linux-x86/bin/avbtool" 26 sources: "out/target/product/shiba/system_ext/bin/hw/[email protected]-service" 30 sources: "out/target/product/shiba/system_ext/etc/compatconfig/settings-platform-compat-config.xml" 34 sources: "out/target/product/shiba/system_ext/etc/init/[email protected]-service.rc" 51 sources: "out/target/product/shiba/system_ext/etc/permissions/privapp-permlist_com.google.android.i… 53 sources: "out/target/product/shiba/system_ext/etc/selinux/mapping/202404.cil" [all …]
|
D | product.img.meta_lic | 5 license_kinds: "SPDX-license-identifier-Apache-2.0" 14 sources: "out/host/linux-x86/bin/build_image" 16 sources: "out/host/linux-x86/bin/mkuserimg_mke2fs" 17 sources: "out/host/linux-x86/bin/mkf2fsuserimg" 18 sources: "out/host/linux-x86/bin/avbtool" 41 sources: "out/target/product/shiba/product/etc/apns-conf.xml" 44 sources: "out/target/product/shiba/product/etc/default-permissions/default-permissions.xml" 49 sources: "out/target/product/shiba/product/etc/libnfc-nci.conf" 55 sources: "out/target/product/shiba/product/etc/selinux/mapping/202404.cil" 56 sources: "out/target/product/shiba/product/etc/selinux/mapping/29.0.cil" [all …]
|
/aosp_15_r20/external/clang/test/Driver/ |
H A D | clang_f_opts.c | 1 // 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 …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_32/ |
H A D | FspmUpd.h | 58 /** Offset 0x0040 - Platform Reserved Memory Size 63 /** Offset 0x0048 - SPD Data Length 69 /** Offset 0x004A - Enable above 4GB MMIO resource support 75 /** Offset 0x004B - Reserved 79 /** Offset 0x004C - Memory SPD Pointer Controller 0 Channel 0 Dimm 0 84 /** Offset 0x0050 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1 89 /** Offset 0x0054 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0 94 /** Offset 0x0058 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1 99 /** Offset 0x005C - Memory SPD Pointer Controller 0 Channel 2 Dimm 0 104 /** Offset 0x0060 - Memory SPD Pointer Controller 0 Channel 2 Dimm 1 [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/fsp/fsp2_0/meteorlake/x86_64/ |
H A D | FspmUpd.h | 58 /** Offset 0x0060 - Platform Reserved Memory Size 63 /** Offset 0x0068 - SPD Data Length 69 /** Offset 0x006A - Enable above 4GB MMIO resource support 75 /** Offset 0x006B - Reserved 79 /** Offset 0x0070 - Memory SPD Pointer Controller 0 Channel 0 Dimm 0 84 /** Offset 0x0078 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1 89 /** Offset 0x0080 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0 94 /** Offset 0x0088 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1 99 /** Offset 0x0090 - Memory SPD Pointer Controller 0 Channel 2 Dimm 0 104 /** Offset 0x0098 - Memory SPD Pointer Controller 0 Channel 2 Dimm 1 [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/fsp/fsp2_0/twinlake/ |
H A D | FspmUpd.h | 3 Copyright (c) 2022 - 2024, Intel Corporation. All rights reserved.<BR> 58 /** Offset 0x0040 - Platform Reserved Memory Size 63 /** Offset 0x0048 - SPD Data Length 69 /** Offset 0x004A - Enable above 4GB MMIO resource support 75 /** Offset 0x004B - Enable/Disable CrashLog Device 10 81 /** Offset 0x004C - Memory SPD Pointer Controller 0 Channel 0 Dimm 0 86 /** Offset 0x0050 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1 91 /** Offset 0x0054 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0 96 /** Offset 0x0058 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1 101 /** Offset 0x005C - Memory SPD Pointer Controller 0 Channel 2 Dimm 0 [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/fsp/fsp2_0/alderlake_n/ |
H A D | FspmUpd.h | 58 /** Offset 0x0040 - Platform Reserved Memory Size 63 /** Offset 0x0048 - SPD Data Length 69 /** Offset 0x004A - Enable above 4GB MMIO resource support 75 /** Offset 0x004B - Enable/Disable CrashLog Device 10 81 /** Offset 0x004C - Memory SPD Pointer Controller 0 Channel 0 Dimm 0 86 /** Offset 0x0050 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1 91 /** Offset 0x0054 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0 96 /** Offset 0x0058 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1 101 /** Offset 0x005C - Memory SPD Pointer Controller 0 Channel 2 Dimm 0 106 /** Offset 0x0060 - Memory SPD Pointer Controller 0 Channel 2 Dimm 1 [all …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/fsp/fsp2_0/alderlake/ |
H A D | FspmUpd.h | 58 /** Offset 0x0040 - Platform Reserved Memory Size 63 /** Offset 0x0048 - SPD Data Length 69 /** Offset 0x004A - Enable above 4GB MMIO resource support 75 /** Offset 0x004B - Enable/Disable CrashLog Device 10 81 /** Offset 0x004C - Memory SPD Pointer Controller 0 Channel 0 Dimm 0 86 /** Offset 0x0050 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1 91 /** Offset 0x0054 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0 96 /** Offset 0x0058 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1 101 /** Offset 0x005C - Memory SPD Pointer Controller 0 Channel 2 Dimm 0 106 /** Offset 0x0060 - Memory SPD Pointer Controller 0 Channel 2 Dimm 1 [all …]
|
/aosp_15_r20/external/minigbm/ |
H A D | i915.c | 3 * 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 …]
|
/aosp_15_r20/external/llvm/tools/verify-uselistorder/ |
H A D | verify-uselistorder.cpp | 1 //===- 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 …]
|
/aosp_15_r20/build/soong/cmd/symbols_map/symbols_map_proto/ |
H A D | symbols_map.pb.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 // Code generated by protoc-gen-go. DO NOT EDIT. 17 // protoc-gen-go v1.27.1 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37 // Type is the valid types of a mapping. 41 // ELF denotes a mapping from an elf build ID to an unstripped elf file. 43 // R8 denotes a mapping from an R8 dictionary hash to an R8 dictionary. [all …]
|
/aosp_15_r20/external/libchrome/mojo/public/cpp/bindings/ |
H A D | README.md | 12 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 …]
|
/aosp_15_r20/external/coreboot/src/vendorcode/intel/fsp/fsp2_0/raptorlake/ |
H A D | FspmUpd.h | 58 /** Offset 0x0040 - Platform Reserved Memory Size 63 /** Offset 0x0048 - SPD Data Length 69 /** Offset 0x004A - Enable above 4GB MMIO resource support 75 /** Offset 0x004B - Enable/Disable CrashLog Device 10 81 /** Offset 0x004C - Memory SPD Pointer Controller 0 Channel 0 Dimm 0 86 /** Offset 0x0050 - Memory SPD Pointer Controller 0 Channel 0 Dimm 1 91 /** Offset 0x0054 - Memory SPD Pointer Controller 0 Channel 1 Dimm 0 96 /** Offset 0x0058 - Memory SPD Pointer Controller 0 Channel 1 Dimm 1 101 /** Offset 0x005C - Memory SPD Pointer Controller 0 Channel 2 Dimm 0 106 /** Offset 0x0060 - Memory SPD Pointer Controller 0 Channel 2 Dimm 1 [all …]
|
/aosp_15_r20/external/pytorch/torch/ao/quantization/fx/_model_report/ |
H A D | detector.py | 1 # mypy: allow-untyped-defs 39 # Mapping related code 44 extensibility of the qconfig mapping feature set but this currently includes: 45 - if activation observer is dynamic 46 - if weight observer is per channel 66 def generate_quantization_qconfig(self, module: torch.nn.Module) -> QConfig: 92 # rec[0] -> dynamic recommended 93 # rec[1] -> per channel recommended 112 def generate_equalization_qconfig(self) -> EqualizationQConfig: 134 - A method to calculate and return observer insertion points [all …]
|
/aosp_15_r20/out/target/product/shiba/obj/PACKAGING/notice_intermediates/out/target/product/shiba/gen/META/lic_intermediates/out/target/product/shiba/product.img.meta_lic/ |
D | arguments | 1 -k SPDX-license-identifier-Apache-2.0 -c notice -n build/soong/licenses/LICENSE -d out/host/linux-x…
|
/aosp_15_r20/external/capstone/contrib/sysz_update/ |
H A D | 0007-capstone-generate-GenInsnNameMaps.inc.patch | 6 --- 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 …]
|
H A D | 0006-capstone-generate-MappingInsn.inc.patch | 6 --- 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 …]
|
/aosp_15_r20/build/pesto/experiments/prepare_bazel_test_env/ |
H A D | bazelenv.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 62 def build(self, build_targets: Set[str]) -> None: 73 str(self.soong_executable), "--build-mode", "--all-modules", 74 f"--dir={self.soong_workspace}" 93 f"{cpe.stdout.decode('utf-8')}") from cpe 113 def build_targets(self) -> set: 172 When staged, the resource is templated using the "mapping" provided 204 def stage(self, mapping: Dict[str, str]): 212 output = "".join(lines).format_map(mapping) 228 def read_value_from_template_var(cls, line: str) -> str: [all …]
|
/aosp_15_r20/tools/metalava/scripts/ |
H A D | gather-android-metalava-artifacts.py | 1 #!/usr/bin/env -S python3 -u 8 # http://www.apache.org/licenses/LICENSE-2.0 23 # Formatted using: pyformat -s 4 --force_quote_type double -i scripts/gather-android-metalava-artif… 38 " api-versions.xml file generation. The intent is that this would" 51 "--stub-src-jar", 62 f"out/target/common/docs/{x}-stubs.srcjar" 64 "api-stubs-docs-non-updatable", 65 "system-api-stubs-docs-non-updatable", 66 "test-api-stubs-docs-non-updatable", 67 "module-lib-api-stubs-docs-non-updatable", [all …]
|
/aosp_15_r20/system/extras/simpleperf/scripts/ |
H A D | pprof_proto_generator.py | 9 # http://www.apache.org/licenses/LICENSE-2.0 24 pprof -text pprof.profile 46 'cpu-clock': 'nanoseconds', 47 'cpu-cycles': 'cpu-cycles', 49 'task-clock': 'nanoseconds', 83 print('%d mappings' % len(p.mapping)) 84 for i in range(len(p.mapping)): 85 print('mapping[%d]:' % i) 86 self.show_mapping(p.mapping[i], sub_space) 127 location = self.profile.location[location_id - 1] [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-codegen/ |
D | README.md | 1 <!-- 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 …]
|