Searched defs:Code (Results 1 - 25 of 134) sorted by relevance

123456

/external/chromium_org/tools/json_schema_compiler/
H A Dfeatures_cc_generator.py7 from code import Code namespace
27 """Generates a Code object for features.
29 c = Code()
H A Dcode.py5 class Code(object): class in inherits:object
31 """Returns True if the Code object is empty.
36 """Concatenate another Code object onto this one. Trailing whitespace is
43 if not isinstance(obj, Code):
60 """Concatenates another Code object |code| onto this one followed by a
132 """Renders Code as a string.
H A Dcode_test.py6 from code import Code namespace
11 c = Code()
16 c = Code()
40 b = Code()
45 c = Code()
59 d = Code()
60 a = Code()
74 c = Code()
75 d = Code()
78 d = Code()
[all...]
H A Dfeatures_h_generator.py7 from code import Code namespace
27 """Generates a Code object for features.
29 c = Code()
71 c = Code()
86 return Code().Append('std::map<std::string, '
90 c = Code()
H A Dcpp_util.py8 from code import Code namespace
116 c = Code()
125 c = Code()
H A Dcpp_type_generator.py5 from code import Code namespace
139 c = Code()
162 c = Code()
248 """Generates the Code to display all value-containing properties.
250 c = Code()
H A Dh_generator.py7 from code import Code namespace
30 """Generates a Code object with the .h for a single namespace.
32 c = Code()
138 c = Code()
152 c = Code()
180 c = Code()
285 c = Code()
299 c = Code()
319 return Code()
321 c = Code()
[all...]
/external/clang/unittests/Format/
H A DFormatTestUtils.h23 inline std::string messUp(llvm::StringRef Code) { argument
24 std::string MessedUp(Code.str());
H A DFormatTestJS.cpp22 static std::string format(llvm::StringRef Code, unsigned Offset, argument
25 DEBUG(llvm::errs() << Code << "\n\n");
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
28 std::string Result = applyAllReplacements(Code, Replaces);
35 llvm::StringRef Code,
37 return format(Code, 0, Code.size(), Style);
47 llvm::StringRef Code,
49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Styl
34 format( llvm::StringRef Code, const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) argument
46 verifyFormat( llvm::StringRef Code, const FormatStyle &Style = getGoogleStyle(FormatStyle::LK_JavaScript)) argument
[all...]
H A DFormatTestProto.cpp22 static std::string format(llvm::StringRef Code, unsigned Offset, argument
25 DEBUG(llvm::errs() << Code << "\n\n");
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
28 std::string Result = applyAllReplacements(Code, Replaces);
34 static std::string format(llvm::StringRef Code) { argument
37 return format(Code, 0, Code.size(), Style);
40 static void verifyFormat(llvm::StringRef Code) { argument
41 EXPECT_EQ(Code.str(), format(test::messUp(Code)));
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DMediaError.h38 enum Code { enum in class:blink::FINAL
46 static PassRefPtrWillBeRawPtr<MediaError> create(Code code)
51 Code code() const { return m_code; }
56 MediaError(Code code) : m_code(code) { }
58 Code m_code;
H A DMediaKeyError.h47 typedef unsigned short Code; typedef in class:blink::FINAL
49 static PassRefPtrWillBeRawPtr<MediaKeyError> create(Code code, unsigned long systemCode = 0)
54 Code code() const { return m_code; }
60 MediaKeyError(Code code, unsigned long systemCode)
63 Code m_code;
/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp22 void expectRewritten(const std::string &Code, argument
30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code))
31 << "Parsing error in \"" << Code << "\"";
33 FileID ID = Context.createInMemoryFile("input.cc", Code);
40 std::string Code = "void f() { int i = 1; }"; local
43 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
47 std::string Code = "#define A void f() { int i = 1; }\nA"; local
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
54 std::string Code = "#define A void f() { int i = 1; }"; local
57 expectRewritten(Code, Expecte
61 std::string Code = "void f() { int i = 1; }"; local
69 std::string Code = "void f() { int i = false ? 1 : i * 2; }"; local
80 std::string Code = "bool a; void f() { if (a) f(); else a = true; }"; local
91 std::string Code = "void f() { if (false) int i = 0; }"; local
[all...]
/external/llvm/lib/TableGen/
H A DStringMatcher.cpp55 StringRef Code = Matches[0]->second; local
57 std::pair<StringRef, StringRef> Split = Code.split('\n');
60 Code = Split.second;
61 while (!Code.empty()) {
62 Split = Code.split('\n');
64 Code = Split.second;
/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp72 Value *llvm::getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, argument
74 switch (Code) {
/external/lzma/CPP/7zip/Compress/
H A DCopyCoder.cpp20 STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream, function in class:NCompress::CCopyCoder
64 return copyCoder->Code(inStream, outStream, NULL, NULL, progress);
/external/chromium_org/third_party/cython/src/Cython/Compiler/Tests/
H A DTestUtilityLoad.py3 from Cython.Compiler import Code, UtilityCode namespace
22 cls = Code.UtilityCode
59 cls = Code.TempitaUtilityCode
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/
H A DSoapFault12.java43 public Node Code; field in class:SoapFault12
64 this.faultcode = Code.getElement(SoapEnvelope.ENV2003, "Value").getText(0);
76 if (name.equals("Code")) {
77 this.Code = new Node();
78 this.Code.parse(parser);
106 //this.Code.write(xw);
108 xw.startTag(SoapEnvelope.ENV2003, "Code");
109 this.Code.write(xw);
110 xw.endTag(SoapEnvelope.ENV2003, "Code");
144 String code = Code
[all...]
/external/llvm/lib/DebugInfo/
H A DDWARFAbbreviationDeclaration.h21 uint32_t Code; member in class:llvm::DWARFAbbreviationDeclaration
35 uint32_t getCode() const { return Code; }
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DUtilityCode.py4 import Code namespace
49 class CythonUtilityCode(Code.UtilityCodeBase):
77 impl = Code.sub_tempita(impl, context, file, name)
144 Declare all entries from the utility code in dest_scope. Code will only
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyLogical.h59 BinOp(LExpr *LHS, LExpr *RHS, Opcode Code) : LExpr(Code), LHS(LHS), RHS(RHS) {} argument
/external/clang/unittests/AST/
H A DNamedDeclPrinterTest.cpp64 PrintedNamedDeclMatches(StringRef Code, const std::vector<std::string> &Args, argument
74 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName))
76 << "Parsing error in \"" << Code.str() << "\"";
96 PrintedNamedDeclCXX98Matches(StringRef Code, StringRef DeclName, argument
99 return PrintedNamedDeclMatches(Code,
108 PrintedWrittenNamedDeclCXX11Matches(StringRef Code, StringRef DeclName, argument
111 return PrintedNamedDeclMatches(Code,
H A DStmtPrinterTest.cpp70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args, argument
79 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args))
81 << "Parsing error in \"" << Code.str() << "\"";
101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, argument
106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted);
110 StringRef Code,
116 return PrintedStmtMatches(Code,
124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, argument
129 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted);
133 StringRef Code,
109 PrintedStmtCXX98Matches( StringRef Code, StringRef ContainingFunction, StringRef ExpectedPrinted) argument
132 PrintedStmtMSMatches( StringRef Code, StringRef ContainingFunction, StringRef ExpectedPrinted) argument
[all...]
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.h61 testing::AssertionResult matchesConditionally(const std::string &Code, argument
76 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args)) {
77 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
87 << "Could not find match in \"" << Code << "\"";
90 << "Found unexpected match in \"" << Code << "\"";
96 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { argument
97 return matchesConditionally(Code, AMatcher, true, "-std=c++11");
101 testing::AssertionResult notMatches(const std::string &Code, argument
103 return matchesConditionally(Code, AMatcher, false, "-std=c++11");
108 matchAndVerifyResultConditionally(const std::string &Code, cons argument
152 matchAndVerifyResultTrue(const std::string &Code, const T &AMatcher, BoundNodesCallback *FindResultVerifier) argument
160 matchAndVerifyResultFalse(const std::string &Code, const T &AMatcher, BoundNodesCallback *FindResultVerifier) argument
[all...]
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFAbbreviationDeclaration.h31 dw_uleb128_t Code() const { return m_code; } function in class:DWARFAbbreviationDeclaration

Completed in 1398 milliseconds

123456