/external/autotest/frontend/client/src/autotest/tko/ |
MetricsPlot.java | 42 FlexTable contents = new FlexTable(); 43 final SimpleDialog drill = new SimpleDialog(title, contents); 57 contents.setWidget(i, 0, link);
|
/external/deqp/scripts/src_util/ |
pre_commit.py | 89 contents = infile.read() 90 for m in guard_re.finditer(contents): 91 lineno = 1 + contents[:m.start()].count('\n')
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
FolderInfo.java | 37 ArrayList<ShortcutInfo> contents = new ArrayList<ShortcutInfo>(); field in class:FolderInfo 51 contents.add(item); 64 contents.remove(item);
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/common/ |
htmlutil.py | 29 """Subclass of HTMLParser that extracts script contents from an HTML file. 103 """Extract script tag contents from the given HTML file. 116 contents = f.read() 117 contents = re.sub(r'<([^\s\w/])', 119 contents) 121 extractor.feed(contents)
|
/external/jsoncpp/scons-tools/ |
substinfile.py | 26 contents = f.read() 31 contents = re.sub(k, v, contents) 34 f.write(contents)
|
/external/libbrillo/brillo/ |
process_unittest.cc | 148 std::string contents; local 153 EXPECT_TRUE(base::ReadFileToString(FilePath(output_file_), &contents)); 154 EXPECT_NE(std::string::npos, contents.find("errormessage")); 174 std::string contents; local 186 EXPECT_TRUE(base::ReadFileToString(GetFdPath(pipe_fd), &contents)); 187 EXPECT_NE(std::string::npos, contents.find("errormessage")); 203 std::string contents; local 214 EXPECT_TRUE(base::ReadFileToString(GetFdPath(pipe_fd), &contents)); 215 EXPECT_NE(std::string::npos, contents.find("hello world\n")); 220 std::string contents; local 253 std::string contents; local 263 std::string contents; local [all...] |
/external/pdfium/xfa/src/fxbarcode/ |
BC_BarCode.cpp | 127 FX_BOOL CBC_OneCode::CheckContentValidity(const CFX_WideStringC& contents) {
129 return ((CBC_OneDimWriter*)m_pBCWriter)->CheckContentValidity(contents);
133 CFX_WideString CBC_OneCode::FilterContents(const CFX_WideStringC& contents) {
138 return ((CBC_OneDimWriter*)m_pBCWriter)->FilterContents(contents);
199 FX_BOOL CBC_Code39::Encode(const CFX_WideStringC& contents,
202 if (contents.IsEmpty()) {
210 ((CBC_OnedCode39Writer*)m_pBCWriter)->FilterContents(contents);
212 ((CBC_OnedCode39Writer*)m_pBCWriter)->RenderTextContents(contents);
304 FX_BOOL CBC_Codabar::Encode(const CFX_WideStringC& contents,
307 if (contents.IsEmpty()) { [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_pointers.py | 19 # Pointer can't set contents: has no _type_ 34 self.assertEqual(res.contents.value, 12345678) 47 self.assertEqual(res.contents.value, 87654) 56 res.contents = c_int(12321) 93 ## print type(p.contents), ct 94 self.assertTrue(type(p.contents) is ct) 95 # p.contents is the same as p[0] 96 ## print p.contents 97 ## self.assertTrue(p.contents == 42) 120 self.assertEqual(pt.contents.a, 1 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_pointers.py | 19 # Pointer can't set contents: has no _type_ 34 self.assertEqual(res.contents.value, 12345678) 47 self.assertEqual(res.contents.value, 87654) 56 res.contents = c_int(12321) 93 ## print type(p.contents), ct 94 self.assertTrue(type(p.contents) is ct) 95 # p.contents is the same as p[0] 96 ## print p.contents 97 ## self.assertTrue(p.contents == 42) 120 self.assertEqual(pt.contents.a, 1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pointers.py | 19 # Pointer can't set contents: has no _type_ 34 self.assertEqual(res.contents.value, 12345678) 47 self.assertEqual(res.contents.value, 87654) 56 res.contents = c_int(12321) 93 ## print type(p.contents), ct 94 self.assertTrue(type(p.contents) is ct) 95 # p.contents is the same as p[0] 96 ## print p.contents 97 ## self.assertTrue(p.contents == 42) 120 self.assertEqual(pt.contents.a, 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_pointers.py | 19 # Pointer can't set contents: has no _type_ 34 self.assertEqual(res.contents.value, 12345678) 47 self.assertEqual(res.contents.value, 87654) 56 res.contents = c_int(12321) 93 ## print type(p.contents), ct 94 self.assertTrue(type(p.contents) is ct) 95 # p.contents is the same as p[0] 96 ## print p.contents 97 ## self.assertTrue(p.contents == 42) 120 self.assertEqual(pt.contents.a, 1 [all...] |
/system/core/crash_reporter/ |
crash_collector_test.cc | 185 std::string contents; local 190 EXPECT_TRUE(base::ReadFileToString(meta_file, &contents)); 198 EXPECT_EQ(kExpectedMeta, contents); 212 // Target metadata contents should have stayed the same. 213 contents.clear(); 214 EXPECT_TRUE(base::ReadFileToString(meta_file, &contents)); 215 EXPECT_EQ(kExpectedMeta, contents); 245 std::string contents; local 246 EXPECT_TRUE(base::ReadFileToString(output_file, &contents)); 247 EXPECT_EQ("hello world\n", contents); [all...] |
/system/update_engine/common/ |
action_pipe_unittest.cc | 57 EXPECT_EQ("foo", b.in_pipe()->contents());
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sh/sh64/ |
crange1.s | 2 ! 1) Not for sections with single contents. 8 ! Use section contents that need relaxing to strengthen the check that the 10 ! each contents part. 13 ! The .text section has only SHmedia contents, and should not get a
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mmix/ |
greg-11b.d | 12 # Have two used gregs and one unused, mmo; display contents to visualize 13 # mmo bug with register contents. 26 Contents of section \.text: 30 Contents of section \.MMIX\.reg_contents:
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-powerpc/ |
aix-glink-2a.s | 24 .macro defdata,type,name,contents 28 .long \contents
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_copy_helper_funcs.py | 91 contents = '\n'.join([random_prefix] + objects) 92 fpath = self.CreateTempFile(file_name='foo', contents=contents) 103 fpath = self.CreateTempFile(file_name='foo', contents='') 112 tracker_file = self.CreateTempFile(file_name='foo', contents='asdf') 127 tracker_file = self.CreateTempFile(file_name='foo', contents='asdf') 150 tracker_file = self.CreateTempFile(file_name='foo', contents='asdf') 156 # Already uploaded, contents still match, component still used. 158 contents='1') 170 contents='1' [all...] |
test_cors.py | 99 fpath = self.CreateTempFile(contents=self.empty_doc1) 107 fpath = self.CreateTempFile(contents=self.empty_doc2) 115 fpath = self.CreateTempFile(contents=self.cors_doc) 123 fpath = self.CreateTempFile(contents=self.xml_cors_doc) 130 fpath = self.CreateTempFile(contents=self.cors_bad) 139 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.cors_doc) 145 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.empty_doc1) 155 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.cors_doc2) 161 fpath = self.CreateTempFile(tmpdir=tmpdir, contents=self.empty_doc1) 171 fpath = self.CreateTempFile(contents=self.cors_doc [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
elf32-i386.c | 545 0xff, 0x35, /* pushl contents of address */ 2523 bfd_byte *contents; local [all...] |
elf32-fr30.c | 393 bfd_byte *contents, 404 contents += rel->r_offset; 410 x = bfd_get_32 (input_bfd, contents); 412 bfd_put_32 (input_bfd, x, contents); 416 contents += rel->r_offset + 2; 418 bfd_put_32 (input_bfd, relocation, contents); 422 contents += rel->r_offset + 1; 435 bfd_put_8 (input_bfd, srel >> 1, contents); 439 contents += rel->r_offset; 452 x = bfd_get_16 (input_bfd, contents); [all...] |
elf32-microblaze.c | 861 (sreloc->contents + reloc_index * sizeof (Elf32_External_Rela))); 876 This function is responsible for adjust the section contents as 903 bfd_byte *contents, 1664 bfd_byte *contents = NULL; local [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
DumbTextComponent.java | 50 private String contents = ""; field in class:DumbTextComponent 257 if (contents.length() == 0) break; 262 if (end > contents.length()) { 275 contents.substring(selection.getStart(), selection.getEnd())); 295 * LIU: Given an offset into contents, moves up or down by lines, 297 * @param off the offset into contents 299 * @return the new offset into contents 309 return contents.length(); 336 if (contents.length() == 0) break; 351 if (contents.length() == 0) break [all...] |
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
MessagePatternUtilDemo.java | 29 for (MessagePatternUtil.MessageContentsNode contents : msg.getContents()) { 30 switch (contents.getType()) { 33 ((MessagePatternUtil.TextNode)contents).getText() + "»"); 36 printArg((MessagePatternUtil.ArgNode)contents, depth); 129 for (MessagePatternUtil.MessageContentsNode contents : msg.getContents()) { 131 switch (contents.getType()) { 135 escapeString(((MessagePatternUtil.TextNode)contents).getText()) + 139 genCode((MessagePatternUtil.ArgNode)contents, depth, firstResult); 266 for (MessagePatternUtil.MessageContentsNode contents : msg.getContents()) { 267 if (contents.getType() == MessagePatternUtil.MessageContentsNode.Type.ARG) [all...] |
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_filesystem.py | 54 ... contents='Dear Prudence\\nWon\\'t you come out to play?\\n') 166 contents=None): 173 contents: the contents of the filesystem object; should be a string for 179 self.contents = contents 184 if contents: 185 self.st_size = len(contents) 215 self.contents = None 218 """Return True if this file was initialized with size but no contents."" [all...] |
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OneDimWriter.cpp | 84 uint8_t* CBC_OneDimWriter::Encode(const CFX_ByteString& contents,
93 ret = Encode(contents, outWidth, e);
95 ret = Encode(contents, outWidth, e);
100 uint8_t* CBC_OneDimWriter::Encode(const CFX_ByteString& contents,
105 uint8_t* ret = Encode(contents, format, outWidth, outHeight, 0, e);
230 void CBC_OneDimWriter::ShowChars(const CFX_WideStringC& contents,
245 CFX_ByteString str = FX_UTF8Encode(contents);
299 const CFX_WideStringC& contents,
318 for (; i < contents.GetLength(); i++)
319 if (contents.GetAt(i) != ' ') { [all...] |