/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
TestParcelableImpl.java | 8 public TestParcelableImpl(int contents) { 9 super(contents); 31 dest.writeInt(contents);
|
/frameworks/base/cmds/bootanimation/iot/ |
BootParameters.h | 43 void parseBootParameters(const std::string &contents); 47 void parseLegacyBootParameters(const std::string &contents); 49 // Exposed for testing. Loads the contents from |nextBootFile| and replaces 52 std::string *contents);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
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/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...] |
/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
|
/external/libchrome/mojo/public/cpp/system/ |
data_pipe_utils.h | 17 // Copies the data from |source| into |contents| and returns true on success and 18 // false on error. In case of I/O error, |contents| holds the data that could 22 std::string* contents);
|
/external/pdfium/fxbarcode/ |
cbc_onecode.cpp | 33 bool CBC_OneCode::CheckContentValidity(const WideStringView& contents) { 34 return GetOneDimWriter()->CheckContentValidity(contents); 37 WideString CBC_OneCode::FilterContents(const WideStringView& contents) { 38 return GetOneDimWriter()->FilterContents(contents);
|
cbc_ean13.cpp | 34 WideString CBC_EAN13::Preprocess(const WideStringView& contents) { 36 WideString encodeContents = pWriter->FilterContents(contents); 53 bool CBC_EAN13::Encode(const WideStringView& contents) { 54 if (contents.IsEmpty()) 60 WideString encodeContents = Preprocess(contents);
|
cbc_ean8.cpp | 33 WideString CBC_EAN8::Preprocess(const WideStringView& contents) { 35 WideString encodeContents = pWriter->FilterContents(contents); 51 bool CBC_EAN8::Encode(const WideStringView& contents) { 52 if (contents.IsEmpty()) 58 WideString encodeContents = Preprocess(contents);
|
cbc_upca.cpp | 33 WideString CBC_UPCA::Preprocess(const WideStringView& contents) { 35 WideString encodeContents = pWriter->FilterContents(contents); 52 bool CBC_UPCA::Encode(const WideStringView& contents) { 53 if (contents.IsEmpty()) 59 WideString encodeContents = Preprocess(contents);
|
/external/protobuf/src/google/protobuf/testing/ |
file.h | 59 static bool WriteStringToFile(const string& contents, 63 static void WriteStringToFileOrDie(const string& contents, 89 const string& name, const string& contents, bool /*is_default*/) { 90 return WriteStringToFile(contents, name);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
TestDataElements_testtypes.java | 20 return contents; 23 private static Object[][] contents = { field in class:TestDataElements_testtypes
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
TestDataElements_testtypes.java | 17 return contents; 20 private static Object[][] contents = { field in class:TestDataElements_testtypes
|
/external/drrickorang/LoopbackApp/app/src/main/res/raw/ |
loopback_listener | 40 contents=$(cat $SIGNAL_FILE) 45 if [ "$contents" == $TERMINATE_SIGNAL ] 49 for filename in $contents
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/ |
ClassFileDumperTest.java | 35 private byte[] contents; field in class:ClassFileDumperTest 39 contents = "just some bytes".getBytes("UTF-8"); 46 dumper.dump("org/jacoco/examples/Foo$Inner", contents); 55 dumper.dump("Main", contents); 62 dumper.dump("Main", contents); 74 assertArrayEquals(contents, buffer.toByteArray());
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
io_ops_test.py | 36 cases = ['', 'Some contents', '???? ???????? ?? ???????'] 37 for contents in cases: 38 contents = compat.as_bytes(contents) 41 temp.write(contents) 45 self.assertEqual(read.eval(), contents) 49 cases = ['', 'Some contents'] 50 for contents in cases: 51 contents = compat.as_bytes(contents) [all...] |
/external/bsdiff/ |
test_utils.cc | 82 bool WriteFile(const std::string& path, vector<uint8_t> contents) { 86 size_t written = fwrite(contents.data(), 1, contents.size(), fp); 87 bool result = written == contents.size() && !ferror(fp); 103 vector<uint8_t> contents; local 104 if (!ReadFile(filename, &contents)) 106 file_size = contents.size(); 108 TEST_AND_RETURN_FALSE(contents.size() >= kHeaderSize); 109 magic = std::string(contents.data(), contents.data() + 8) [all...] |
/external/pdfium/fxbarcode/oned/ |
BC_OnedCodaBarWriter.cpp | 103 const WideStringView& contents) { 105 contents.begin(), contents.end(), 110 const WideStringView& contents) { 113 for (size_t index = 0; index < contents.GetLength(); index++) { 114 ch = contents[index]; 126 uint8_t* CBC_OnedCodaBarWriter::EncodeWithHint(const ByteString& contents, 133 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, 137 uint8_t* CBC_OnedCodaBarWriter::EncodeImpl(const ByteString& contents, 139 ByteString data = m_chStart + contents + m_chEnd [all...] |
BC_OneDimWriter.h | 27 virtual bool RenderResult(const WideStringView& contents, 30 virtual bool CheckContentValidity(const WideStringView& contents) = 0; 31 virtual WideString FilterContents(const WideStringView& contents) = 0; 32 virtual WideString RenderTextContents(const WideStringView& contents); 40 uint8_t* Encode(const ByteString& contents, 46 const WideStringView& contents); 50 virtual uint8_t* EncodeWithHint(const ByteString& contents, 55 virtual uint8_t* EncodeImpl(const ByteString& contents, 63 virtual bool ShowChars(const WideStringView& contents,
|
/external/google-breakpad/src/common/ |
test_assembler_unittest.cc | 734 string contents; member in class:SectionFixture 767 ASSERT_TRUE(section.GetContents(&contents)); 768 ASSERT_EQ(sizeof(data), contents.size()); 769 EXPECT_TRUE(0 == memcmp(contents.data(), (const char *) data, sizeof(data))); 775 ASSERT_TRUE(section.GetContents(&contents)); 776 ASSERT_EQ(2 * sizeof(data), contents.size()); 777 ASSERT_TRUE(0 == memcmp(contents.data(), (const char *) data, sizeof(data))); 778 ASSERT_TRUE(0 == memcmp(contents.data() + sizeof(data), 787 ASSERT_TRUE(section.GetContents(&contents)); 788 ASSERT_STREQ(contents.c_str(), "howdy there") [all...] |
/external/grpc-grpc/src/core/lib/iomgr/ |
load_file.cc | 35 unsigned char* contents = nullptr; local 52 contents = static_cast<unsigned char*>( 54 bytes_read = fread(contents, 1, contents_size, file); 61 contents[contents_size++] = 0; 63 result = grpc_slice_new(contents, contents_size, gpr_free);
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableMapEntry.java | 40 ImmutableMapEntry(ImmutableMapEntry<K, V> contents) { 41 super(contents.getKey(), contents.getValue()); 52 TerminalEntry(ImmutableMapEntry<K, V> contents) { 53 super(contents);
|
/external/libchrome/base/ |
sys_info_linux.cc | 78 std::string contents; local 79 ReadFileToString(FilePath("/proc/cpuinfo"), &contents); 80 DCHECK(!contents.empty()); 81 if (!contents.empty()) { 82 std::istringstream iss(contents);
|
/external/perfetto/infra/perfetto-get.appspot.com/ |
main.py | 45 contents = memcache.get(url) 46 if not contents or self.request.get('reload'): 55 contents = base64.b64decode(result.content) 56 memcache.set(url, contents, time=3600) # 1h 60 self.response.write(contents)
|