/external/pdfium/fxbarcode/oned/ |
BC_OnedCode128Writer.cpp | 87 const WideStringView& contents) { 88 for (const auto& ch : contents) { 97 const WideStringView& contents) { 99 for (size_t i = 0; i < contents.GetLength(); i++) { 100 wchar_t ch = contents[i]; 124 uint8_t* CBC_OnedCode128Writer::EncodeWithHint(const ByteString& contents, 131 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, 135 uint8_t* CBC_OnedCode128Writer::EncodeImpl(const ByteString& contents, 137 if (contents.GetLength() < 1 || contents.GetLength() > 80 [all...] |
/test/vts-testcase/kernel/api/proc/ |
ProcSimpleFileTests.py | 30 def parse_contents(self, contents): 45 def parse_contents(self, contents): 46 return self.parse_line("{:d}\n", contents)[0] 60 def parse_contents(self, contents): 61 return self.parse_line("{:d}\n", contents)[0] 76 def parse_contents(self, contents): 89 def parse_contents(self, contents): 105 def parse_contents(self, contents): 106 return self.parse_line("{:d}\n", contents)[0] 122 def parse_contents(self, contents) [all...] |
ProcUidCpuPowerTests.py | 29 def parse_contents(self, contents): 31 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)] 53 def parse_contents(self, contents): 55 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)] 77 def parse_contents(self, contents): 79 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)]
|
ProcFsFileTests.py | 42 def parse_contents(self, contents): 43 if len(contents) == 0 or contents[-1] != '\n': 46 for line in contents.split('\n')[:-1]: 75 def parse_contents(self, contents): 76 if len(contents) == 0 or contents[-1] != '\n': 80 for line in contents.split('\n')[:-1]: 102 def parse_contents(self, contents): 103 if len(contents) == 0 or contents[-1] != '\n' [all...] |
/external/apache-harmony/support/src/test/java/tests/resources/subfolder/tests/resources/ |
hyts_resource_fr_FR.java | 30 Object[][] contents = { { "subParent3", "frFRValue3" }, local 34 return contents;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
MinimalSet.java | 38 public static <E> MinimalSet<E> of(E... contents) { 40 Object.class, (E[]) new Object[0], Arrays.asList(contents)); 44 public static <E> MinimalSet<E> from(Collection<? extends E> contents) { 45 return ofClassAndContents(Object.class, (E[]) new Object[0], contents); 50 Iterable<? extends E> contents) { 52 for (E e : contents) { 60 private MinimalSet(Class<? super E> type, E... contents) { 61 super(type, true, contents);
|
/external/pdfium/fxbarcode/ |
cbc_ean13.h | 24 bool Encode(const WideStringView& contents) override; 31 WideString Preprocess(const WideStringView& contents);
|
cbc_ean8.h | 23 bool Encode(const WideStringView& contents) override; 30 WideString Preprocess(const WideStringView& contents);
|
cbc_upca.h | 23 bool Encode(const WideStringView& contents) override; 30 WideString Preprocess(const WideStringView& contents);
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
BundleUtil.java | 33 static String replaceTableName(String contents, String tableName) { 34 return contents.replace(TABLE_NAME_PLACEHOLDER, tableName);
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/mips/ |
empty.s | 3 # No actual contents necessary!
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-mips-elf/ |
nan-2008.s | 3 # We need some section contents for the ELF header flag compatibility check
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextActionTest.java | 80 private void checkClassName(String contents, String expectedClassName) 82 int cursor = contents.indexOf('^'); 83 assertTrue("Must set cursor position with ^ in " + contents, cursor != -1); 84 contents = contents.substring(0, cursor) + contents.substring(cursor + 1); 85 assertEquals(-1, contents.indexOf('^')); 86 assertEquals(-1, contents.indexOf('[')); 87 assertEquals(-1, contents.indexOf(']')); 90 document.replace(0, 0, contents); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
BenchmarkHelpers.java | 42 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { 43 return new HashSet<E>(contents); 47 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { 48 return new LinkedHashSet<E>(contents); 52 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { 53 return new TreeSet<E>(contents); 57 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { 58 return Collections.unmodifiableSet(new HashSet<E>(contents)); 62 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { 63 return Collections.synchronizedSet(new HashSet<E>(contents)); [all...] |
FilteredCollectionsTest.java | 70 abstract C createUnfiltered(Iterable<Integer> contents); 75 for (List<Integer> contents : SAMPLE_INPUTS) { 76 C unfiltered = createUnfiltered(contents); 95 for (List<Integer> contents : SAMPLE_INPUTS) { 96 C unfiltered = createUnfiltered(contents); 100 List<Integer> target = Lists.newArrayList(contents); 109 for (List<Integer> contents : SAMPLE_INPUTS) { 111 boolean expectedResult = createUnfiltered(contents).add(toAdd); 113 C filtered = filter(createUnfiltered(contents), EVEN); 125 for (List<Integer> contents : SAMPLE_INPUTS) [all...] |
/external/google-breakpad/src/processor/ |
synth_minidump_unittest.cc | 63 string contents; local 64 ASSERT_TRUE(section.GetContents(&contents)); 65 EXPECT_EQ(string("\x78\x56\x34\x12", 4), contents); 75 string contents; local 76 ASSERT_TRUE(section1.GetContents(&contents)); 78 EXPECT_EQ(expected, contents); 85 stream.Append("stream contents"); 86 section.Append("section contents"); 89 string contents; local 90 ASSERT_TRUE(section.GetContents(&contents)); 107 string contents; local 129 string contents; local 140 string contents; local 176 string contents; local 204 string contents; local 240 string contents; local 256 string contents; local 266 string contents; local 283 string contents; local 292 string contents; local 308 string contents; local 333 string contents; local [all...] |
/external/boringssl/src/crypto/bytestring/ |
ber.c | 67 CBS contents; local 71 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) { 74 if (CBS_len(&contents) == header_len && 76 CBS_data(&contents)[header_len-1] == 0x80) { 87 if (!CBS_skip(&contents, header_len) || 88 !cbs_find_ber(&contents, ber_found, depth + 1)) { 97 // is_eoc returns true if |header_len| and |contents|, as returned by 98 // |CBS_get_any_ber_asn1_element|, indicate an "end of contents" (EOC) value. 99 static char is_eoc(size_t header_len, CBS *contents) { 100 return header_len == 2 && CBS_len(contents) == 2 & 120 CBS contents; local [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PcoData.java | 34 public final byte[] contents; field in class:PcoData 36 public PcoData(int cid, String bearerProto, int pcoId, byte[]contents) { 40 this.contents = contents; 47 contents = in.createByteArray(); 57 out.writeByteArray(contents); 84 return "PcoData(" + cid + ", " + bearerProto + ", " + pcoId + ", contents[" + 85 contents.length + "])";
|
/external/libbrillo/brillo/ |
test_helpers.h | 20 std::string contents; local 21 EXPECT_TRUE(base::ReadFileToString(base::FilePath(file_path), &contents)); 22 EXPECT_EQ(golden, contents);
|
/external/perf_data_converter/src/quipper/ |
file_utils.cc | 14 bool FileToBuffer(const string& filename, std::vector<char>* contents) { 18 contents->resize(file_size); 20 if (file_size > 0 && !reader.ReadData(file_size, contents->data())) {
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/writer/ |
JavaFileWriter.java | 24 public abstract void writeToFile(String canonicalName, String contents); 25 public void writeToFile(File exactPath, String contents) { 30 FileUtils.writeStringToFile(exactPath, contents);
|
/external/tensorflow/tensorflow/contrib/ffmpeg/ |
encode_audio_op.cc | 31 void Encode(OpKernelContext* context, const Tensor& contents, 35 samples.reserve(contents.NumElements()); 36 for (int32 i = 0; i < contents.NumElements(); ++i) { 37 samples.push_back(contents.flat<float>()(i)); 39 const int32 channel_count = contents.dim_size(1); 68 const Tensor& contents = context->input(0); variable 73 OP_REQUIRES(context, TensorShapeUtils::IsMatrix(contents.shape()), 76 contents.shape().DebugString())); 78 context, contents.NumElements() <= std::numeric_limits<int32>::max(), 81 contents.shape().DebugString())) 177 const Tensor& contents = context->input(0); variable [all...] |
/system/tools/aidl/tests/ |
fake_io_delegate.cpp | 46 unique_ptr<string> contents; local 49 return contents; 51 contents.reset(new string); 52 *contents = it->second; 53 contents->append(content_suffix); 55 return contents; 94 const string& contents) { 95 file_contents_[filename] = contents; 102 string contents; local 104 contents = StringPrintf("package %s;\nparcelable %s;" 117 string contents = StringPrintf("package %s;\\ninterface %s { }", local 126 string contents = StringPrintf("package %s;\\n", package.c_str()); local [all...] |
/bionic/libc/kernel/uapi/asm-x86/asm/ |
ldt.h | 29 unsigned int contents : 2; member in struct:user_desc
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
ldt.h | 26 unsigned int contents:2; member in struct:user_desc
|