/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
H A D | Code.java | 18 public class Code { class 21 public Code(Integer name) { method in class:Code 31 if (obj instanceof Code) { 32 Code code = (Code) obj; 46 return "<Code code=" + code + ">";
|
/external/v8/src/ic/ |
H A D | access-compiler.cc | 12 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags, 17 Handle<Code> code = factory()->NewCode(desc, flags, masm()->CodeObject()); 30 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags, 41 Handle<Code> code(masm->isolate()->builtins()->builtin(name)); 46 Code::Kind kind) { 51 if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) { 54 DCHECK(kind == Code [all...] |
H A D | access-compiler.h | 18 static Builtins::Name MissBuiltin(Code::Kind kind) { 20 case Code::LOAD_IC: 22 case Code::STORE_IC: 24 case Code::KEYED_LOAD_IC: 26 case Code::KEYED_STORE_IC: 37 PropertyAccessCompiler(Isolate* isolate, Code::Kind kind, 48 Code::Kind kind() const { return kind_; } 64 static void GenerateTailCall(MacroAssembler* masm, Handle<Code> code); 66 Handle<Code> GetCodeWithFlags(Code [all...] |
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
H A D | Decoder.java | 13 int Code;
field in class:Decoder 29 Code = 0;
32 Code = (Code << 8) | Stream.read();
41 int t = ((Code - Range) >>> 31);
42 Code -= Range & (t - 1);
47 Code = (Code << 8) | Stream.read();
58 if ((Code ^ 0x80000000) < (newBound ^ 0x80000000))
64 Code [all...] |
/external/clang/lib/Serialization/ |
H A D | ModuleFileExtension.cpp | 16 llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const { 17 return Code;
|
/external/proguard/examples/dictionaries/ |
H A D | compact.txt | 9 Code
|
/external/clang/unittests/Format/ |
H A D | CleanupTest.cpp | 1 //===- unittest/Format/CleanupTest.cpp - Code cleanup unit tests ----------===// 23 std::string cleanup(llvm::StringRef Code, argument 26 tooling::Replacements Replaces = format::cleanup(Style, Code, Ranges); 28 auto Result = applyAllReplacements(Code, Replaces); 35 std::string Code = "namespace A {\n" local 50 std::string Result = cleanup(Code, Ranges); 55 std::string Code = "namespace A {\n" local 66 std::vector<tooling::Range> Ranges(1, tooling::Range(0, Code.size())); 67 std::string Result = cleanup(Code, Ranges); 72 std::string Code local 85 std::string Code = "namespace A {\\n" local 99 std::string Code = "namespace A\\n" local 118 std::string Code = "class A {\\nA() : , {} };"; local 142 std::string Code = "void f() { std::vector<int> v = {1,2,,,3,{4,5}}; }"; local 159 std::string Code = "class A {\\nA() : x({1}),, {} };"; local 169 std::string Code = local 190 std::string Code = "class A {\\nA() : x({1}), /* comment */, {} };"; local 228 std::string Code = "namespace A {\\n" local 255 apply(StringRef Code, const tooling::Replacements Replaces) argument 265 formatAndApply(StringRef Code, const tooling::Replacements Replaces) argument 279 getOffset(StringRef Code, int Line, int Column) argument 292 std::string Code = "namespace A {\\n" local 315 std::string Code = "int main() {}"; local 323 std::string Code = "#ifndef A_H\\n" local 340 std::string Code = "#ifndef A_H\\n" local 365 std::string Code = "#include \\"fix.h\\"\\n" local 378 std::string Code = "#include <memory>\\n" local 390 std::string Code = "#include <memory>\\n" local 403 std::string Code = "#include \\"x/fix.h\\"\\n" local 421 std::string Code = "#include \\"x/fix.h\\"\\n" local 439 std::string Code = "#include \\"x/fix.h\\"\\n" local 456 std::string Code = "#include \\"x/fix.h\\"\\n" local 477 std::string Code = "\\nint x;"; local 495 std::string Code = "\\nint x;"; local 514 std::string Code = "\\n" local 540 std::string Code = "void f() {}\\n" local 552 std::string Code = "// comment\\n" local 564 std::string Code = "// comment\\n" local 582 std::string Code = "/*\\n" local 600 std::string Code = "/*\\n" local 622 std::string Code = "// comment \\n" local 634 std::string Code = "// comment \\n" local 650 std::string Code = "// comment \\n" local 664 std::string Code = "// comment \\n" local 686 std::string Code = ""; local 695 std::string Code = "#include <map>"; local 702 std::string Code = "#include \\"a.h\\"\\n" local 712 std::string Code = "#include \\"a.h\\"\\n" local [all...] |
H A D | SortIncludesTest.cpp | 23 std::vector<tooling::Range> GetCodeRange(StringRef Code) { argument 24 return std::vector<tooling::Range>(1, tooling::Range(0, Code.size())); 27 std::string sort(StringRef Code, StringRef FileName = "input.cpp") { argument 28 auto Ranges = GetCodeRange(Code); 30 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); 38 unsigned newCursor(llvm::StringRef Code, unsigned Cursor) { argument 39 sortIncludes(Style, Code, GetCodeRange(Code), "input.cpp", &Cursor); 58 std::string Code local 277 std::string Code = "#include <ccc>\\n" // Start of line: 0 local [all...] |
H A D | FormatTestProto.cpp | 22 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 auto 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...] |
H A D | SortImportsTestJS.cpp | 23 std::string sort(StringRef Code, unsigned Offset = 0, unsigned Length = 0) { argument 26 Length = Code.size() - Offset; 29 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); 37 void verifySort(llvm::StringRef Expected, llvm::StringRef Code, argument 39 std::string Result = sort(Code, Offset, Length);
|
/external/clang/unittests/Tooling/ |
H A D | RefactoringCallbacksTest.cpp | 22 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/pdfium/xfa/fwl/ |
H A D | cfwl_eventscroll.h | 14 enum class Code { class in class:CFWL_EventScroll 30 Code m_iScrollCode;
|
/external/v8/src/ |
H A D | api-experimental.h | 10 class Code; 21 v8::internal::MaybeHandle<v8::internal::Code> BuildCodeFromFastAccessorBuilder(
|
H A D | compilation-info.cc | 58 : CompilationInfo(parse_info, {}, Code::ComputeFlags(Code::FUNCTION), BASE, 83 Code::Flags code_flags) 88 Code::Flags code_flags, Mode mode, 100 prologue_offset_(Code::kPrologueOffsetNotSet), 173 case Code::STUB: 174 case Code::BYTECODE_HANDLER: 175 case Code::HANDLER: 176 case Code::BUILTIN: 177 #define CASE_KIND(kind) case Code [all...] |
/external/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTest.h | 63 const std::string &Code, const T &AMatcher, bool ExpectMatch, 87 Factory->create(), Code, Args, Filename, "clang-tool", 89 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\""; 99 << "Could not find match in \"" << Code << "\""; 102 << "Found unexpected match in \"" << Code << "\""; 108 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { argument 109 return matchesConditionally(Code, AMatcher, true, "-std=c++11"); 113 testing::AssertionResult notMatches(const std::string &Code, argument 115 return matchesConditionally(Code, AMatcher, false, "-std=c++11"); 119 testing::AssertionResult matchesObjC(const std::string &Code, argument 62 matchesConditionally( const std::string &Code, const T &AMatcher, bool ExpectMatch, llvm::StringRef CompileArg, const FileContentMappings &VirtualMappedFiles = FileContentMappings(), const std::string &Filename = �) argument 127 matchesC(const std::string &Code, const T &AMatcher) argument 133 matchesC99(const std::string &Code, const T &AMatcher) argument 140 notMatchesC(const std::string &Code, const T &AMatcher) argument 147 notMatchesObjC(const std::string &Code, const T &AMatcher) argument 158 matchesConditionallyWithCuda( const std::string &Code, const T &AMatcher, bool ExpectMatch, llvm::StringRef CompileArg) argument 214 matchesWithCuda(const std::string &Code, const T &AMatcher) argument 220 notMatchesWithCuda(const std::string &Code, const T &AMatcher) argument 227 matchAndVerifyResultConditionally(const std::string &Code, const T &AMatcher, std::unique_ptr<BoundNodesCallback> FindResultVerifier, bool ExpectResult) argument 273 matchAndVerifyResultTrue(const std::string &Code, const T &AMatcher, std::unique_ptr<BoundNodesCallback> FindResultVerifier) argument 281 matchAndVerifyResultFalse(const std::string &Code, const T &AMatcher, std::unique_ptr<BoundNodesCallback> FindResultVerifier) argument [all...] |
/external/clang/lib/Format/ |
H A D | SortJavaScriptImports.h | 26 // Sort JavaScript ES6 imports/exports in ``Code``. The generated replacements 29 StringRef Code,
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
H A D | DWARFAbbreviationDeclaration.h | 22 uint32_t Code; member in class:llvm::DWARFAbbreviationDeclaration 29 : Code(InvalidCode), Tag(0), HasChildren(0) {} 31 uint32_t getCode() const { return Code; } 45 bool isValid() const { return Code != 0 && Tag != 0; }
|
/external/clang/lib/Frontend/ |
H A D | TestModuleFileExtension.cpp | 87 llvm::hash_code Code) const { 89 Code = llvm::hash_combine(Code, BlockName); 90 Code = llvm::hash_combine(Code, MajorVersion); 91 Code = llvm::hash_combine(Code, MinorVersion); 92 Code = llvm::hash_combine(Code, UserInfo); 95 return Code; [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
H A D | RangeCoder.cs | 126 public uint Code;
field in class:SevenZip.Compression.RangeCoder.Decoder 135 Code = 0;
138 Code = (Code << 8) | (byte)Stream.ReadByte();
156 Code = (Code << 8) | (byte)Stream.ReadByte();
165 Code = (Code << 8) | (byte)Stream.ReadByte();
172 return Code / (Range /= total);
177 Code [all...] |
/external/v8/src/builtins/ |
H A D | builtins.cc | 30 void PostBuildProfileAndTracing(Isolate* isolate, Code* code, 48 Code* BuildWithMacroAssembler(Isolate* isolate, 50 Code::Flags flags, const char* s_name) { 59 Handle<Code> code = 65 Code* BuildAdaptor(Isolate* isolate, Address builtin_address, 66 Builtins::ExitFrameType exit_frame_type, Code::Flags flags, 76 Handle<Code> code = 83 Code* BuildWithCodeStubAssemblerJS(Isolate* isolate, 85 Code::Flags flags, const char* name) { 93 Handle<Code> cod [all...] |
/external/v8/src/compiler/ |
H A D | pipeline.h | 50 static Handle<Code> GenerateCodeForCodeStub(Isolate* isolate, 53 Code::Flags flags, 58 static Handle<Code> GenerateCodeForTesting(CompilationInfo* info); 62 static Handle<Code> GenerateCodeForTesting(CompilationInfo* info, 73 static Handle<Code> GenerateCodeForTesting(
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
H A D | Local.java | 25 private final Code code; 30 private Local(Code code, TypeId<T> type) { 35 static <T> Local<T> get(Code code, TypeId<T> type) {
|
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/ |
H A D | JITEventListenerTest.cpp | 35 void *Code; member in struct:__anon23178::FunctionEmittedEvent 41 void *Code; member in struct:__anon23178::FunctionFreedEvent 53 void *Code, size_t Size, 55 FunctionEmittedEvent Event = {NextIndex++, &F, Code, Size, Details}; 106 EXPECT_EQ(F1_addr, Listener.EmittedEvents[0].Code); 113 EXPECT_EQ(F2_addr, Listener.EmittedEvents[1].Code); 119 EXPECT_EQ(F1_addr, Listener.FreedEvents[0].Code); 122 EXPECT_EQ(F2_addr, Listener.FreedEvents[1].Code); 159 EXPECT_EQ(F1_addr, Listener1.EmittedEvents[0].Code); 165 EXPECT_EQ(F2_addr, Listener1.FreedEvents[0].Code); 52 NotifyFunctionEmitted(const Function &F, void *Code, size_t Size, const EmittedFunctionDetails &Details) argument [all...] |
/external/clang/unittests/AST/ |
H A D | StmtPrinterTest.cpp | 70 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/v8/src/wasm/ |
H A D | wasm-code-specialization.cc | 43 PatchDirectCallsHelper(WasmInstanceObject* instance, Code* code) 125 Code* wasm_function = Code::cast(code_table->get(func_index)); 132 Code* export_wrapper = Code::cast(code_table->get(func_index)); 133 DCHECK_EQ(Code::JS_TO_WASM_FUNCTION, export_wrapper->kind()); 140 Code* code = Code::GetCodeFromTargetAddress(it.rinfo()->target_address()); 142 if (code->kind() != Code::WASM_FUNCTION && 143 code->kind() != Code [all...] |