Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 4288) sorted by relevance

12345678910>>...172

/external/bc/
Dconfigure1185 contents=$(cat "$scriptdir/Makefile.in")
1190 contents=$(replace "$contents" "$needle" "$replacement")
1196 contents=$(gen_file_list "$contents" $unneeded)
1208 contents=$(replace "$contents" "HEADERS" "$headers")
1210 contents=$(replace "$contents" "BC_ENABLED" "$bc")
1211 contents=$(replace "$contents" "DC_ENABLED" "$dc")
1213 contents=$(replace "$contents" "BC_ALL_TESTS" "$bc_test")
1214 contents=$(replace "$contents" "BC_TESTS" "$bc_tests")
1215 contents=$(replace "$contents" "BC_SCRIPT_TESTS" "$bc_script_tests")
1216 contents=$(replace "$contents" "BC_TEST_EXEC" "$bc_test_exec")
[all …]
Dconfigure.sh1185 contents=$(cat "$scriptdir/Makefile.in")
1190 contents=$(replace "$contents" "$needle" "$replacement")
1196 contents=$(gen_file_list "$contents" $unneeded)
1208 contents=$(replace "$contents" "HEADERS" "$headers")
1210 contents=$(replace "$contents" "BC_ENABLED" "$bc")
1211 contents=$(replace "$contents" "DC_ENABLED" "$dc")
1213 contents=$(replace "$contents" "BC_ALL_TESTS" "$bc_test")
1214 contents=$(replace "$contents" "BC_TESTS" "$bc_tests")
1215 contents=$(replace "$contents" "BC_SCRIPT_TESTS" "$bc_script_tests")
1216 contents=$(replace "$contents" "BC_TEST_EXEC" "$bc_test_exec")
[all …]
/external/google-breakpad/src/processor/
Dsynth_minidump_unittest.cc63 string contents; in TEST() local
64 ASSERT_TRUE(section.GetContents(&contents)); in TEST()
65 EXPECT_EQ(string("\x78\x56\x34\x12", 4), contents); in TEST()
75 string contents; in TEST() local
76 ASSERT_TRUE(section1.GetContents(&contents)); in TEST()
78 EXPECT_EQ(expected, contents); in TEST()
89 string contents; in TEST() local
90 ASSERT_TRUE(section.GetContents(&contents)); in TEST()
96 EXPECT_EQ(expected, contents); in TEST()
107 string contents; in TEST() local
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DFilteredCollectionsTest.java69 abstract C createUnfiltered(Iterable<Integer> contents); in createUnfiltered() argument
74 for (List<Integer> contents : SAMPLE_INPUTS) { in testIterationOrderPreserved()
75 C unfiltered = createUnfiltered(contents); in testIterationOrderPreserved()
94 for (List<Integer> contents : SAMPLE_INPUTS) { in testReadsThroughAdd()
95 C unfiltered = createUnfiltered(contents); in testReadsThroughAdd()
99 List<Integer> target = Lists.newArrayList(contents); in testReadsThroughAdd()
108 for (List<Integer> contents : SAMPLE_INPUTS) { in testAdd()
110 boolean expectedResult = createUnfiltered(contents).add(toAdd); in testAdd()
112 C filtered = filter(createUnfiltered(contents), EVEN); in testAdd()
124 for (List<Integer> contents : SAMPLE_INPUTS) { in testRemove()
[all …]
DBenchmarkHelpers.java44 <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 …]
/external/guava/guava-tests/test/com/google/common/collect/
DFilteredCollectionsTest.java70 abstract C createUnfiltered(Iterable<Integer> contents); in createUnfiltered() argument
75 for (List<Integer> contents : SAMPLE_INPUTS) { in testIterationOrderPreserved()
76 C unfiltered = createUnfiltered(contents); in testIterationOrderPreserved()
91 for (List<Integer> contents : SAMPLE_INPUTS) { in testForEach()
92 C unfiltered = createUnfiltered(contents); in testForEach()
109 for (List<Integer> contents : SAMPLE_INPUTS) { in testReadsThroughAdd()
110 C unfiltered = createUnfiltered(contents); in testReadsThroughAdd()
114 List<Integer> target = Lists.newArrayList(contents); in testReadsThroughAdd()
123 for (List<Integer> contents : SAMPLE_INPUTS) { in testAdd()
125 boolean expectedResult = createUnfiltered(contents).add(toAdd); in testAdd()
[all …]
DBenchmarkHelpers.java44 <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 …]
/external/google-breakpad/src/common/
Dtest_assembler_unittest.cc734 string contents; member in SectionFixture
767 ASSERT_TRUE(section.GetContents(&contents)); in TEST_F()
768 ASSERT_EQ(sizeof(data), contents.size()); in TEST_F()
769 EXPECT_TRUE(0 == memcmp(contents.data(), (const char *) data, sizeof(data))); in TEST_F()
775 ASSERT_TRUE(section.GetContents(&contents)); in TEST_F()
776 ASSERT_EQ(2 * sizeof(data), contents.size()); in TEST_F()
777 ASSERT_TRUE(0 == memcmp(contents.data(), (const char *) data, sizeof(data))); in TEST_F()
778 ASSERT_TRUE(0 == memcmp(contents.data() + sizeof(data), in TEST_F()
787 ASSERT_TRUE(section.GetContents(&contents)); in TEST_F()
788 ASSERT_STREQ(contents.c_str(), "howdy there"); in TEST_F()
[all …]
/external/pdfium/fxbarcode/oned/
DBC_OnedCode128Writer.cpp87 bool CBC_OnedCode128Writer::CheckContentValidity(WideStringView contents) { in CheckContentValidity() argument
88 for (const auto& ch : contents) { in CheckContentValidity()
96 WideString CBC_OnedCode128Writer::FilterContents(WideStringView contents) { in FilterContents() argument
100 filtered.Reserve(contents.GetLength()); in FilterContents()
101 for (size_t i = 0; i < contents.GetLength(); i++) { in FilterContents()
102 wchar_t ch = contents[i]; in FilterContents()
121 uint8_t* CBC_OnedCode128Writer::EncodeWithHint(const ByteString& contents, in EncodeWithHint() argument
128 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
132 uint8_t* CBC_OnedCode128Writer::EncodeImpl(const ByteString& contents, in EncodeImpl() argument
134 if (contents.GetLength() < 1 || contents.GetLength() > 80) in EncodeImpl()
[all …]
DBC_OnedCode39Writer.cpp68 bool CBC_OnedCode39Writer::CheckContentValidity(WideStringView contents) { in CheckContentValidity() argument
69 return std::all_of(contents.begin(), contents.end(), IsInOnedCode39Alphabet); in CheckContentValidity()
72 WideString CBC_OnedCode39Writer::FilterContents(WideStringView contents) { in FilterContents() argument
74 filtercontents.Reserve(contents.GetLength()); in FilterContents()
75 for (size_t i = 0; i < contents.GetLength(); i++) { in FilterContents()
76 wchar_t ch = contents[i]; in FilterContents()
77 if (ch == L'*' && (i == 0 || i == contents.GetLength() - 1)) { in FilterContents()
91 WideString CBC_OnedCode39Writer::RenderTextContents(WideStringView contents) { in RenderTextContents() argument
93 for (size_t i = 0; i < contents.GetLength(); i++) { in RenderTextContents()
94 wchar_t ch = contents[i]; in RenderTextContents()
[all …]
/external/boringssl/src/ssl/
Dt1_lib.cc512 CBS *contents);
515 CBS *contents);
520 CBS *contents) { in forbid_parse_serverhello() argument
521 if (contents != NULL) { in forbid_parse_serverhello()
532 CBS *contents) { in ignore_parse_clienthello() argument
551 CBB contents, server_name_list, name; in ext_sni_add_clienthello() local
553 !CBB_add_u16_length_prefixed(out, &contents) || in ext_sni_add_clienthello()
554 !CBB_add_u16_length_prefixed(&contents, &server_name_list) || in ext_sni_add_clienthello()
567 CBS *contents) { in ext_sni_parse_serverhello() argument
570 return contents == NULL || CBS_len(contents) == 0; in ext_sni_parse_serverhello()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dt1_lib.cc507 CBS *contents);
510 CBS *contents);
515 CBS *contents) { in forbid_parse_serverhello() argument
516 if (contents != NULL) { in forbid_parse_serverhello()
527 CBS *contents) { in ignore_parse_clienthello() argument
546 CBB contents, server_name_list, name; in ext_sni_add_clienthello() local
548 !CBB_add_u16_length_prefixed(out, &contents) || in ext_sni_add_clienthello()
549 !CBB_add_u16_length_prefixed(&contents, &server_name_list) || in ext_sni_add_clienthello()
562 CBS *contents) { in ext_sni_parse_serverhello() argument
565 return contents == NULL || CBS_len(contents) == 0; in ext_sni_parse_serverhello()
[all …]
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DMinimalCollection.java35 public static <E> MinimalCollection<E> of(E... contents) { in of() argument
36 return new MinimalCollection<E>(Object.class, true, contents); in of()
40 public static <E> MinimalCollection<E> ofClassAndContents(Class<? super E> type, E... contents) { in ofClassAndContents() argument
41 return new MinimalCollection<E>(type, true, contents); in ofClassAndContents()
44 private final E[] contents; field in MinimalCollection
49 MinimalCollection(Class<? super E> type, boolean allowNulls, E... contents) { in MinimalCollection() argument
51 this.contents = Platform.clone(contents); in MinimalCollection()
56 for (Object element : contents) { in MinimalCollection()
66 return contents.length; in size()
78 return Arrays.asList(contents).contains(object); in contains()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMinimalCollection.java35 public static <E> MinimalCollection<E> of(E... contents) { in of() argument
36 return new MinimalCollection<E>(Object.class, true, contents); in of()
40 public static <E> MinimalCollection<E> ofClassAndContents(Class<? super E> type, E... contents) { in ofClassAndContents() argument
41 return new MinimalCollection<E>(type, true, contents); in ofClassAndContents()
44 private final E[] contents; field in MinimalCollection
49 MinimalCollection(Class<? super E> type, boolean allowNulls, E... contents) { in MinimalCollection() argument
51 this.contents = Platform.clone(contents); in MinimalCollection()
56 for (Object element : contents) { in MinimalCollection()
66 return contents.length; in size()
78 return Arrays.asList(contents).contains(object); in contains()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DFileEntry.groovy53 * Construct a new instance with the specified path and file contents
55 * @param contents - the contents of the file, as a String
57 FileEntry(String path, String contents) {
59 setContents(contents)
79 * Set the contents of the file represented by this entry
80 * @param contents - the String whose bytes are used as the contents
82 void setContents(String contents) {
83 assert contents != null
84 setContentsInternal(contents.getBytes())
88 * Set the contents of the file represented by this entry
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/bytestring/
Dber.c67 CBS contents; in cbs_find_ber() local
71 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) { in cbs_find_ber()
74 if (CBS_len(&contents) == header_len && in cbs_find_ber()
76 CBS_data(&contents)[header_len-1] == 0x80) { in cbs_find_ber()
87 if (!CBS_skip(&contents, header_len) || in cbs_find_ber()
88 !cbs_find_ber(&contents, ber_found, depth + 1)) { in cbs_find_ber()
99 static char is_eoc(size_t header_len, CBS *contents) { in is_eoc() argument
100 return header_len == 2 && CBS_len(contents) == 2 && in is_eoc()
101 OPENSSL_memcmp(CBS_data(contents), "\x00\x00", 2) == 0; in is_eoc()
120 CBS contents; in cbs_convert_ber() local
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/animation/content/
DContentGroup.java35 List<Content> contents = new ArrayList<>(contentModels.size()); in contentsFromModels() local
39 contents.add(content); in contentsFromModels()
42 return contents; in contentsFromModels()
61 private final List<Content> contents; field in ContentGroup
73 … String name, boolean hidden, List<Content> contents, @Nullable AnimatableTransform transform) { in ContentGroup() argument
77 this.contents = contents; in ContentGroup()
86 for (int i = contents.size() - 1; i >= 0; i--) { in ContentGroup()
87 Content content = contents.get(i); in ContentGroup()
94 greedyContents.get(i).absorbContent(contents.listIterator(contents.size())); in ContentGroup()
108 List<Content> myContentsBefore = new ArrayList<>(contentsBefore.size() + contents.size()); in setContents()
[all …]
/external/python/asn1crypto/asn1crypto/
Dparser.py25 def emit(class_, method, tag, contents): argument
68 if not isinstance(contents, byte_cls):
69 raise TypeError('contents must be a byte string, not %s' % type_name(contents))
71 return _dump_header(class_, method, tag, contents) + contents
74 def parse(contents, strict=False): argument
103 if not isinstance(contents, byte_cls):
104 raise TypeError('contents must be a byte string, not %s' % type_name(contents))
106 contents_len = len(contents)
107 info, consumed = _parse(contents, contents_len)
113 def peek(contents): argument
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_resource.py27 contents = set(resources.contents(self.data))
33 contents.discard('__pycache__')
34 contents.discard('__init__.pyc')
35 contents.discard('__init__.pyo')
36 self.assertEqual(contents, {
57 file=data01, path=data01.__file__, contents=['A', 'B', 'C'])
59 set(resources.contents(package)),
65 contents=['A', 'B', 'C', 'D/E', 'D/F'])
71 contents=['A', 'B', 'C', 'D/E', 'D/F'])
77 contents=['A', 'B', 'C', 'D/E', 'D/F'])
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java58 public FileEntry(String path, String contents) { in FileEntry() argument
60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() argument
87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents()
96 public void setContents(byte[] contents) { in setContents() argument
99 if (contents != null) { in setContents()
100 newBytes = new byte[contents.length]; in setContents()
101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents()
172 private void setContentsInternal(byte[] contents) { in setContentsInternal() argument
173 this.bytes = contents; in setContentsInternal()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java58 public FileEntry(String path, String contents) { in FileEntry() argument
60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() argument
87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents()
96 public void setContents(byte[] contents) { in setContents() argument
99 if (contents != null) { in setContents()
100 newBytes = new byte[contents.length]; in setContents()
101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents()
172 private void setContentsInternal(byte[] contents) { in setContentsInternal() argument
173 this.bytes = contents; in setContentsInternal()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java58 public FileEntry(String path, String contents) { in FileEntry() argument
60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() argument
87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents()
96 public void setContents(byte[] contents) { in setContents() argument
99 if (contents != null) { in setContents()
100 newBytes = new byte[contents.length]; in setContents()
101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents()
172 private void setContentsInternal(byte[] contents) { in setContentsInternal() argument
173 this.bytes = contents; in setContentsInternal()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java58 public FileEntry(String path, String contents) { in FileEntry() argument
60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() argument
87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents()
96 public void setContents(byte[] contents) { in setContents() argument
99 if (contents != null) { in setContents()
100 newBytes = new byte[contents.length]; in setContents()
101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents()
172 private void setContentsInternal(byte[] contents) { in setContentsInternal() argument
173 this.bytes = contents; in setContentsInternal()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java58 public FileEntry(String path, String contents) { in FileEntry() argument
60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() argument
87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents()
96 public void setContents(byte[] contents) { in setContents() argument
99 if (contents != null) { in setContents()
100 newBytes = new byte[contents.length]; in setContents()
101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents()
172 private void setContentsInternal(byte[] contents) { in setContentsInternal() argument
173 this.bytes = contents; in setContentsInternal()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/
DFileEntry.java58 public FileEntry(String path, String contents) { in FileEntry() argument
60 setContents(contents); in FileEntry()
86 public void setContents(String contents) { in setContents() argument
87 byte[] newBytes = (contents != null) ? contents.getBytes() : EMPTY; in setContents()
96 public void setContents(byte[] contents) { in setContents() argument
99 if (contents != null) { in setContents()
100 newBytes = new byte[contents.length]; in setContents()
101 System.arraycopy(contents, 0, newBytes, 0, contents.length); in setContents()
172 private void setContentsInternal(byte[] contents) { in setContentsInternal() argument
173 this.bytes = contents; in setContentsInternal()

12345678910>>...172