/external/python/cpython2/Mac/Demo/PICTbrowse/ |
oldPICTbrowse.py | 33 contents = self.findPICTresources() 34 self.main_dialog.open(ID_MAIN, contents) 89 def open(self, id, contents): 95 self.list = List.LNew(rect2, (0, 0, 1, len(contents)), (0,0), 0, self.wid, 97 self.contents = contents 103 if self.contents: 104 self.list.LAddRow(len(self.contents), 0) 105 for i in range(len(self.contents)): 106 v = repr(self.contents[i][0] [all...] |
/external/python/cpython2/Tools/pynche/ |
TypeinViewer.py | 92 contents = ew.get() 94 if contents and contents[0] in 'xX' and self.__hexp.get(): 95 contents = '0' + contents 96 # Figure out the contents in the current base. 99 v = int(contents, 16) 101 v = int(contents) 112 contents = contents[:i-1] + contents[i: [all...] |
/external/python/cpython3/Tools/pynche/ |
TypeinViewer.py | 92 contents = ew.get() 94 if contents and contents[0] in 'xX' and self.__hexp.get(): 95 contents = '0' + contents 96 # Figure out the contents in the current base. 99 v = int(contents, 16) 101 v = int(contents) 112 contents = contents[:i-1] + contents[i: [all...] |
/external/autotest/frontend/client/src/autotest/common/ui/ |
SimpleDialog.java | 11 * Simple DialogBox subclass that displays a title, contents, and an OK button to close the dialog. 15 public SimpleDialog(String title, Widget contents) { 22 flex.setWidget(1, 0, contents);
|
/external/autotest/site_utils/stats/ |
apache_error_log_metrics_unittest.py | 98 contents = self._ShellOutToScript(['an example log line']) 105 contents)) 108 contents)) 116 contents = self._ShellOutToScript(['[foo] [:bar] [pid 123] WARNING']) 120 contents)) 123 contents)) 127 contents = self._ShellOutToScript(['[foo] [:bar] [pid 123] WARNING Segmentation fault']) 131 contents))
|
/external/curl/tests/ |
curl_test_data.py | 48 contents = f.read().decode("utf-8") 50 m = REPLY_DATA.search(contents)
|
/external/pdfium/fxbarcode/ |
cbc_datamatrix.cpp | 34 bool CBC_DataMatrix::Encode(const WideStringView& contents) { 39 pWriter->Encode(WideString(contents), outWidth, outHeight));
|
cbc_pdf417i.cpp | 43 bool CBC_PDF417I::Encode(const WideStringView& contents) { 48 pWriter->Encode(WideString(contents), outWidth, outHeight));
|
cbc_qrcode.cpp | 40 bool CBC_QRCode::Encode(const WideStringView& contents) { 45 pWriter->Encode(WideString(contents), pWriter->GetErrorCorrectionLevel(),
|
cbc_codabar.h | 23 bool Encode(const WideStringView& contents) override;
|
/external/protobuf/src/google/protobuf/testing/ |
file.cc | 85 bool File::WriteStringToFile(const string& contents, const string& name) { 92 if (fwrite(contents.data(), 1, contents.size(), file) != contents.size()) { 103 void File::WriteStringToFileOrDie(const string& contents, const string& name) { 107 GOOGLE_CHECK_EQ(fwrite(contents.data(), 1, contents.size(), file), 108 contents.size())
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowIoUtilsTest.java | 24 Files.asCharSink(file, StandardCharsets.UTF_8).write("some contents"); 26 String contents = IoUtils.readFileAsString(file.getAbsolutePath()); local 27 assertThat(contents).isEqualTo("some contents");
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-dwarfdump/X86/ |
debug_addr_empty.s | 3 # CHECK: .debug_addr contents:
|
debug_rnglists_empty.s | 3 # CHECK: .debug_rnglists contents:
|
/build/soong/env/ |
env.go | 31 contents := make(envFileData, 0, len(envDeps)) 33 contents = append(contents, envFileEntry{key, value}) 36 sort.Sort(contents) 38 data, err := json.MarshalIndent(contents, "", " ") 59 var contents envFileData 61 err = json.Unmarshal(data, &contents) 67 for _, entry := range contents {
|
/external/bcc/tools/ |
reset-trace.sh | 61 contents=$(grep -v '^#' $file) 62 if [[ "$contents" != "$expected" ]]; then 93 contents=$(grep -v '^#' $file) 94 if [[ "$contents" != "$expected" ]]; then 97 vecho "Contents of $file is (line enumerated):"
|
/external/clang/unittests/libclang/ |
LibclangTest.cpp | 42 const char *Contents; 45 TestVFO(const char *Contents) : Contents(Contents) { 60 if (Contents) { 65 EXPECT_STREQ(Contents, BufStr.c_str()); 74 const char *contents = local 81 " 'contents': [\n" 85 " 'external-contents': \"/real/foo.h\"\n" 91 TestVFO T(contents); 96 const char *contents = local 124 const char *contents = local 176 const char *contents = local 200 const char *contents = local 252 const char *contents = local 298 const char *contents = local 320 const char *contents = local [all...] |
/external/deqp-deps/SPIRV-Tools/tools/as/ |
as.cpp | 131 std::vector<char> contents; local 132 if (!ReadFile<char>(inFile, "r", &contents)) return 1; 138 context, contents.data(), contents.size(), options, &binary, &diagnostic);
|
/external/grpc-grpc/src/ruby/spec/ |
server_credentials_spec.rb | 20 contents = files.map { |f| File.open(File.join(test_root, f)).read } 21 [contents[0], [{ private_key: contents[1], cert_chain: contents[2] }], false]
|
/external/libaom/libaom/third_party/libwebm/common/ |
file_util.h | 25 // Gets the contents file_name as a string. Returns false on error. 26 bool GetFileContents(const std::string& file_name, std::string* contents);
|
/external/libchrome/ipc/ |
ipc_channel_nacl.cc | 40 bool ReadDataOnReaderThread(int pipe, MessageContents* contents) { 45 contents->data.resize(Channel::kReadBufferSize); 46 contents->fds.resize(NACL_ABI_IMC_DESC_MAX); 48 NaClAbiNaClImcMsgIoVec iov = { &contents->data[0], contents->data.size() }; 50 &iov, 1, &contents->fds[0], contents->fds.size() 58 contents->data.clear(); 59 contents->fds.clear(); 64 contents->data.resize(bytes_read) [all...] |
/external/libvpx/libvpx/third_party/libwebm/common/ |
file_util.h | 25 // Gets the contents file_name as a string. Returns false on error. 26 bool GetFileContents(const std::string& file_name, std::string* contents);
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
mpx-hw.h | 55 void *contents[0]; member in union:mpx_bd_entry::__anon30610 62 unsigned long contents[0]; member in union:mpx_bt_entry::__anon30611 102 unsigned long __bd_entry = (unsigned long)bounds_dir_entry->contents; 109 unsigned long __bd_entry = (unsigned long)bounds_dir_entry->contents;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
AbstractStoreFileCommandHandler.java | 67 byte[] contents = session.readData();
77 if (contents != null && contents.length > 0) {
80 out.write(contents);
109 * @return true if this command should append the transferred contents to the output file; false means
|
/external/protobuf/src/google/protobuf/compiler/ |
zip_writer.h | 76 bool Write(const string& filename, const string& contents);
|