/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_adv/resources/test/ |
D | mic-extended-salt-encrypted-test-vectors.json | 7 "contents": "F111383178463B", string 11 "contents": "77A7CA333048119F23A460ABA89494CF7075CB3CC00E", string 15 "contents": "E7B0F2", string 19 "contents": "7B25D72AF20B8B53495E79E004108C7651C5F9CF07BDCD784874", string 23 "contents": "938EF51180242B59D35CAD0DA09ED9FAA4D809BC", string 61 "contents": "F83D3AAF1566156FAF5128917CAD10CE348BCF", string 65 "contents": "FB04C7C54945BE1F575F", string 81 "contents": "7A306B5925D15D6B43B7", string 85 "contents": "5912AE51A1D62035C323468AF0198079E1A7110FDBA42D", string 89 "contents": "091D6CE6C774BDF76F52CF04688503B8496460F3E90D0880", string [all …]
|
/aosp_15_r20/external/google-breakpad/src/common/ |
H A D | test_assembler_unittest.cc | 737 string contents; member in SectionFixture 770 ASSERT_TRUE(section.GetContents(&contents)); in TEST_F() 771 ASSERT_EQ(sizeof(data), contents.size()); in TEST_F() 772 EXPECT_TRUE(0 == memcmp(contents.data(), (const char*) data, sizeof(data))); in TEST_F() 778 ASSERT_TRUE(section.GetContents(&contents)); in TEST_F() 779 ASSERT_EQ(2 * sizeof(data), contents.size()); in TEST_F() 780 ASSERT_TRUE(0 == memcmp(contents.data(), (const char*) data, sizeof(data))); in TEST_F() 781 ASSERT_TRUE(0 == memcmp(contents.data() + sizeof(data), in TEST_F() 790 ASSERT_TRUE(section.GetContents(&contents)); in TEST_F() 791 ASSERT_STREQ(contents.c_str(), "howdy there"); in TEST_F() [all …]
|
/aosp_15_r20/external/bc/ |
H A D | configure.sh | 487 # @param contents The contents of the Makefile template to put the list of 1865 contents=$(cat "$scriptdir/bcl.pc.in") 1867 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1868 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") 1869 contents=$(replace "$contents" "VERSION" "$version") 1871 printf '%s\n' "$contents" > "$scriptdir/bcl.pc" 2019 contents=$(cat "$scriptdir/Makefile.in") 2024 contents=$(replace "$contents" "$needle" "$replacement") 2026 # The contents are edited to have the list of files to build. 2027 contents=$(gen_file_list "$contents" $unneeded) [all …]
|
H A D | configure | 487 # @param contents The contents of the Makefile template to put the list of 1865 contents=$(cat "$scriptdir/bcl.pc.in") 1867 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1868 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") 1869 contents=$(replace "$contents" "VERSION" "$version") 1871 printf '%s\n' "$contents" > "$scriptdir/bcl.pc" 2019 contents=$(cat "$scriptdir/Makefile.in") 2024 contents=$(replace "$contents" "$needle" "$replacement") 2026 # The contents are edited to have the list of files to build. 2027 contents=$(gen_file_list "$contents" $unneeded) [all …]
|
/aosp_15_r20/external/grpc-grpc/tools/distrib/ |
H A D | check_redundant_namespace_qualifiers.py | 25 def find_closing_mustache(contents, initial_depth): argument 28 start_len = len(contents) 29 while contents: 31 if contents[0] == '"': 32 contents = contents[1:] 33 while contents[0] != '"': 34 if contents.startswith("\\\\"): 35 contents = contents[2:] 36 elif contents.startswith('\\"'): 37 contents = contents[2:] [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/distrib/ |
D | check_redundant_namespace_qualifiers.py | 25 def find_closing_mustache(contents, initial_depth): argument 28 start_len = len(contents) 29 while contents: 31 if contents[0] == '"': 32 contents = contents[1:] 33 while contents[0] != '"': 34 if contents.startswith('\\\\'): 35 contents = contents[2:] 36 elif contents.startswith('\\"'): 37 contents = contents[2:] [all …]
|
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/collect/ |
H A D | BenchmarkHelpers.java | 44 <E extends Comparable<E>> Collection<E> create(Collection<E> contents); in create() argument 50 <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> contents); in create() argument 56 <E> Interner<E> create(Collection<E> contents); in create() argument 64 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument 65 return new HashSet<E>(contents); in create() 70 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument 71 return new LinkedHashSet<E>(contents); in create() 76 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument 77 return new TreeSet<E>(contents); in create() 82 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument [all …]
|
H A D | FilteredCollectionsTestUtil.java | 74 abstract C createUnfiltered(Iterable<Integer> contents); in createUnfiltered() argument 79 for (List<Integer> contents : SAMPLE_INPUTS) { in testIterationOrderPreserved() 80 C unfiltered = createUnfiltered(contents); in testIterationOrderPreserved() 99 for (List<Integer> contents : SAMPLE_INPUTS) { in testReadsThroughAdd() 100 C unfiltered = createUnfiltered(contents); in testReadsThroughAdd() 104 List<Integer> target = Lists.newArrayList(contents); in testReadsThroughAdd() 113 for (List<Integer> contents : SAMPLE_INPUTS) { in testAdd() 115 boolean expectedResult = createUnfiltered(contents).add(toAdd); in testAdd() 117 C filtered = filter(createUnfiltered(contents), EVEN); in testAdd() 129 for (List<Integer> contents : SAMPLE_INPUTS) { in testRemove() [all …]
|
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | BenchmarkHelpers.java | 44 <E extends Comparable<E>> Collection<E> create(Collection<E> contents); in create() argument 50 <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> contents); in create() argument 56 <E> Interner<E> create(Collection<E> contents); in create() argument 64 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument 65 return new HashSet<E>(contents); in create() 70 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument 71 return new LinkedHashSet<E>(contents); in create() 76 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument 77 return new TreeSet<E>(contents); in create() 82 public <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() argument [all …]
|
H A D | FilteredCollectionsTestUtil.java | 75 abstract C createUnfiltered(Iterable<Integer> contents); in createUnfiltered() argument 80 for (List<Integer> contents : SAMPLE_INPUTS) { in testIterationOrderPreserved() 81 C unfiltered = createUnfiltered(contents); in testIterationOrderPreserved() 96 for (List<Integer> contents : SAMPLE_INPUTS) { in testForEach() 97 C unfiltered = createUnfiltered(contents); in testForEach() 114 for (List<Integer> contents : SAMPLE_INPUTS) { in testReadsThroughAdd() 115 C unfiltered = createUnfiltered(contents); in testReadsThroughAdd() 119 List<Integer> target = Lists.newArrayList(contents); in testReadsThroughAdd() 128 for (List<Integer> contents : SAMPLE_INPUTS) { in testAdd() 130 boolean expectedResult = createUnfiltered(contents).add(toAdd); in testAdd() [all …]
|
/aosp_15_r20/external/google-breakpad/src/processor/ |
H A D | synth_minidump_unittest.cc | 66 string contents; in TEST() local 67 ASSERT_TRUE(section.GetContents(&contents)); in TEST() 68 EXPECT_EQ(string("\x78\x56\x34\x12", 4), contents); in TEST() 78 string contents; in TEST() local 79 ASSERT_TRUE(section1.GetContents(&contents)); in TEST() 81 EXPECT_EQ(expected, contents); in TEST() 88 stream.Append("stream contents"); in TEST() 89 section.Append("section contents"); in TEST() 92 string contents; in TEST() local 93 ASSERT_TRUE(section.GetContents(&contents)); in TEST() [all …]
|
/aosp_15_r20/external/pigweed/pw_presubmit/py/ |
H A D | todo_check_test.py | 32 def _run(self, regex: re.Pattern, contents: str) -> None: 38 return mock_open(read_data=contents)(*args, **kwargs) 46 def _run_bugs_users(self, contents: str) -> None: 47 self._run(todo_check.BUGS_OR_USERNAMES, contents) 49 def _run_bugs(self, contents: str) -> None: 50 self._run(todo_check.BUGS_ONLY, contents) 53 contents = 'TODO(b/123): foo\n' 54 self._run_bugs_users(contents) 56 self._run_bugs(contents) 60 contents = 'TODO: b/123 - foo\n' [all …]
|
/aosp_15_r20/test/vts/tests/kernel_proc_file_api_test/proc_tests/ |
H A D | ProcSimpleFileTests.py | 32 def parse_contents(self, contents): argument 47 def parse_contents(self, contents): argument 48 return self.parse_line("{:d}\n", contents)[0] 62 def parse_contents(self, contents): argument 63 return self.parse_line("{:d}\n", contents)[0] 78 def parse_contents(self, contents): argument 91 def parse_contents(self, contents): argument 107 def parse_contents(self, contents): argument 108 return self.parse_line("{:d}\n", contents)[0] 124 def parse_contents(self, contents): argument [all …]
|
/aosp_15_r20/external/harfbuzz_ng/src/ |
H A D | hb-wasm-api-buffer.hh | 39 ptr_d(buffer_contents_t, contents), in HB_WASM_API() 42 HB_PTR_PARAM (buffer_contents_t, contents); in HB_WASM_API() 43 if (unlikely (!contents)) in HB_WASM_API() 46 if (size <= contents->length) in HB_WASM_API() 53 glyph_info_t *info = HB_ARRAY_APP2NATIVE (glyph_info_t, contents->info, contents->length); in HB_WASM_API() 54 glyph_position_t *pos = HB_ARRAY_APP2NATIVE (glyph_position_t, contents->pos, contents->length); in HB_WASM_API() 64 unsigned old_bytes = contents->length * sizeof (glyph_info_t); in HB_WASM_API() 68 module_free (contents->info); in HB_WASM_API() 69 contents->info = new_inforef; in HB_WASM_API() 74 module_free (contents->pos); in HB_WASM_API() [all …]
|
/aosp_15_r20/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_open_test.py | 102 contents = f.read() 103 self.assertEqual(contents, text_fractions) 113 contents = f.read() 114 self.assertEqual(contents, byte_fractions.decode("utf-8")) 126 contents = f.read() 128 str_contents, contents.decode(locale.getpreferredencoding(False)) 132 contents = [ 139 self.create_file(file_path, contents="".join(contents)) 141 self.assertEqual(contents, fake_file.readlines()) 144 contents = [ [all …]
|
/aosp_15_r20/external/boringssl/src/ssl/ |
H A D | extensions.cc | 460 // The parse callbacks receive a |CBS| that contains the contents of the 490 CBS *contents); 493 CBS *contents); 498 CBS *contents) { in forbid_parse_serverhello() argument 499 if (contents != NULL) { in forbid_parse_serverhello() 510 CBS *contents) { in ignore_parse_clienthello() argument 540 CBB contents, server_name_list, name; in ext_sni_add_clienthello() local 542 !CBB_add_u16_length_prefixed(out, &contents) || in ext_sni_add_clienthello() 543 !CBB_add_u16_length_prefixed(&contents, &server_name_list) || in ext_sni_add_clienthello() 555 CBS *contents) { in ext_sni_parse_serverhello() argument [all …]
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/ssl/ |
H A D | extensions.cc | 458 // The parse callbacks receive a |CBS| that contains the contents of the 488 CBS *contents); 491 CBS *contents); 496 CBS *contents) { in forbid_parse_serverhello() argument 497 if (contents != NULL) { in forbid_parse_serverhello() 508 CBS *contents) { in ignore_parse_clienthello() argument 538 CBB contents, server_name_list, name; in ext_sni_add_clienthello() local 540 !CBB_add_u16_length_prefixed(out, &contents) || in ext_sni_add_clienthello() 541 !CBB_add_u16_length_prefixed(&contents, &server_name_list) || in ext_sni_add_clienthello() 553 CBS *contents) { in ext_sni_parse_serverhello() argument [all …]
|
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | extensions.cc | 505 // The parse callbacks receive a |CBS| that contains the contents of the 535 CBS *contents); 538 CBS *contents); 543 CBS *contents) { in forbid_parse_serverhello() argument 544 if (contents != NULL) { in forbid_parse_serverhello() 555 CBS *contents) { in ignore_parse_clienthello() argument 585 CBB contents, server_name_list, name; in ext_sni_add_clienthello() local 587 !CBB_add_u16_length_prefixed(out, &contents) || in ext_sni_add_clienthello() 588 !CBB_add_u16_length_prefixed(&contents, &server_name_list) || in ext_sni_add_clienthello() 600 CBS *contents) { in ext_sni_parse_serverhello() argument [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/ssl/ |
D | extensions.cc | 505 // The parse callbacks receive a |CBS| that contains the contents of the 535 CBS *contents); 538 CBS *contents); 543 CBS *contents) { in forbid_parse_serverhello() argument 544 if (contents != NULL) { in forbid_parse_serverhello() 555 CBS *contents) { in ignore_parse_clienthello() argument 585 CBB contents, server_name_list, name; in ext_sni_add_clienthello() local 587 !CBB_add_u16_length_prefixed(out, &contents) || in ext_sni_add_clienthello() 588 !CBB_add_u16_length_prefixed(&contents, &server_name_list) || in ext_sni_add_clienthello() 600 CBS *contents) { in ext_sni_parse_serverhello() argument [all …]
|
/aosp_15_r20/external/clang/unittests/libclang/ |
H A D | LibclangTest.cpp | 42 const char *Contents; member 45 TestVFO(const char *Contents) : Contents(Contents) { in TestVFO() 60 if (Contents) { in ~TestVFO() 65 EXPECT_STREQ(Contents, BufStr.c_str()); in ~TestVFO() 74 const char *contents = in TEST() local 81 " 'contents': [\n" in TEST() 85 " 'external-contents': \"/real/foo.h\"\n" in TEST() 91 TestVFO T(contents); in TEST() 96 const char *contents = in TEST() local 103 " 'contents': [\n" in TEST() [all …]
|
/aosp_15_r20/external/cronet/build/ |
H A D | xcode_binaries.yaml | 23 - dir: Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ 24 - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/bison 25 - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal/macos 26 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/air-lld 27 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison 28 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gm4 29 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gperf 30 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool 31 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld 32 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool [all …]
|
/aosp_15_r20/external/angle/build/ |
H A D | xcode_binaries.yaml | 23 - dir: Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ 24 - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/bison 25 - dir: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/metal 26 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/air-lld 27 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison 28 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gm4 29 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gperf 30 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool 31 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld 32 - file: Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool [all …]
|
/aosp_15_r20/external/python/asn1crypto/asn1crypto/ |
D | core.py | 198 contents = None variable in Asn1Value 234 optional=None, default=None, contents=None, method=None): argument 276 :param contents: 277 A byte string of the encoded contents of the value 428 if contents is not None: 429 self.contents = contents 573 Copies the contents of another Asn1Value object to itself 592 self.contents = other.contents 603 # contents, _footer to the parsed value so duplicate data isn't present 622 If the encoded contents already exist, clear them and regenerate [all …]
|
/aosp_15_r20/external/cronet/build/toolchain/win/ |
H A D | midl.py | 26 contents = open(filename, 'rb').read() 51 assert contents[0:8] == b'MSFT\x02\x00\x01\x00' 52 ntypes, = struct.unpack_from('<I', contents, 0x20) 54 '<II', contents, 0x54 + 4*ntypes + 11*16) 57 assert contents[custom_off:custom_off + 6] == b'\x08\x00\x3e\x00\x00\x00' 61 contents[custom_off + 6:custom_off + 6 + 0x3e]) 63 assert contents[custom_off+6+0x3e:custom_off+6+0x3e+8] == \ 66 assert contents[custom_off + 6 + 0x3e + 8:custom_off + 6 + 0x3e + 8 + 70 contents = ( 71 contents[0:custom_off + 6] + [all …]
|
/aosp_15_r20/external/angle/build/toolchain/win/ |
H A D | midl.py | 26 contents = open(filename, 'rb').read() 51 assert contents[0:8] == b'MSFT\x02\x00\x01\x00' 52 ntypes, = struct.unpack_from('<I', contents, 0x20) 54 '<II', contents, 0x54 + 4*ntypes + 11*16) 57 assert contents[custom_off:custom_off + 6] == b'\x08\x00\x3e\x00\x00\x00' 61 contents[custom_off + 6:custom_off + 6 + 0x3e]) 63 assert contents[custom_off+6+0x3e:custom_off+6+0x3e+8] == \ 66 assert contents[custom_off + 6 + 0x3e + 8:custom_off + 6 + 0x3e + 8 + 70 contents = ( 71 contents[0:custom_off + 6] + [all …]
|