Home
last modified time | relevance | path

Searched refs:Code (Results 1 – 25 of 1106) sorted by relevance

12345678910>>...45

/external/qemu/pc-bios/keymaps/
Dde-ch7 # Scan Code 1
12 # Scan Code 2
16 # Scan Code 3
20 # Scan Code 4
24 # Scan Code 5
28 # Scan Code 6
32 # Scan Code 7
36 # Scan Code 8
40 # Scan Code 9
44 # Scan Code 10
[all …]
/external/v8/src/
Dstub-cache.cc58 Code* StubCache::Set(String* name, Map* map, Code* code) { in Set()
60 Code::Flags flags = Code::RemoveTypeFromFlags(code->flags()); in Set()
71 ASSERT(Code::ExtractICStateFromFlags(flags) == MONOMORPHIC); in Set()
72 STATIC_ASSERT((Code::ICStateField::kMask & 1) == 1); in Set()
75 ASSERT(Code::ExtractTypeFromFlags(flags) == 0); in Set()
80 Code* old_code = primary->value; in Set()
86 Code::Flags old_flags = Code::RemoveTypeFromFlags(old_code->flags()); in Set()
102 Handle<Code> StubCache::ComputeLoadNonexistent(Handle<String> name, in ComputeLoadNonexistent()
120 Code::Flags flags = in ComputeLoadNonexistent()
121 Code::ComputeMonomorphicFlags(Code::LOAD_IC, NONEXISTENT); in ComputeLoadNonexistent()
[all …]
Dbuiltins.h69 Code::kNoExtraICState) \
71 Code::kNoExtraICState) \
73 Code::kNoExtraICState) \
75 Code::kNoExtraICState) \
77 Code::kNoExtraICState) \
79 Code::kNoExtraICState) \
81 Code::kNoExtraICState) \
83 Code::kNoExtraICState) \
85 Code::kNoExtraICState) \
87 Code::kNoExtraICState) \
[all …]
Dstub-cache.h71 Code* value;
80 Handle<Code> ComputeLoadNonexistent(Handle<String> name,
83 Handle<Code> ComputeLoadField(Handle<String> name,
88 Handle<Code> ComputeLoadCallback(Handle<String> name,
93 Handle<Code> ComputeLoadConstant(Handle<String> name,
98 Handle<Code> ComputeLoadInterceptor(Handle<String> name,
102 Handle<Code> ComputeLoadNormal();
104 Handle<Code> ComputeLoadGlobal(Handle<String> name,
112 Handle<Code> ComputeKeyedLoadField(Handle<String> name,
117 Handle<Code> ComputeKeyedLoadCallback(Handle<String> name,
[all …]
Dic.h97 Code* target() const { return GetTargetAtAddress(address()); } in target()
103 static State StateFrom(Code* target, Object* receiver, Object* name);
149 void set_target(Code* code) { SetTargetAtAddress(address(), code); } in set_target()
157 Code* new_target);
166 static inline Code* GetTargetAtAddress(Address address);
167 static inline void SetTargetAtAddress(Address address, Code* target);
168 static void PostPatching(Address address, Code* target, Code* old_target);
209 Code::ExtraICState extra_ic_state,
214 CallICBase(Code::Kind kind, Isolate* isolate) in CallICBase()
219 Code::ExtraICState* extra_ic_state);
[all …]
Dtype-info.cc62 TypeFeedbackOracle::TypeFeedbackOracle(Handle<Code> code, in TypeFeedbackOracle()
84 Handle<Code> code = Handle<Code>::cast(map_or_code); in LoadIsUninitialized()
95 Handle<Code> code = Handle<Code>::cast(map_or_code); in LoadIsMonomorphicNormal()
98 Code::ExtractTypeFromFlags(code->flags()) == NORMAL && in LoadIsMonomorphicNormal()
109 Handle<Code> code = Handle<Code>::cast(map_or_code); in LoadIsMegamorphicWithTypeInfo()
123 Handle<Code> code = Handle<Code>::cast(map_or_code); in StoreIsMonomorphicNormal()
125 Code::GetKeyedAccessGrowMode(code->extra_ic_state()) == in StoreIsMonomorphicNormal()
130 Code::ExtractTypeFromFlags(code->flags()) == NORMAL && in StoreIsMonomorphicNormal()
141 Handle<Code> code = Handle<Code>::cast(map_or_code); in StoreIsMegamorphicWithTypeInfo()
144 Code::GetKeyedAccessGrowMode(code->extra_ic_state()) == in StoreIsMegamorphicWithTypeInfo()
[all …]
Dic-inl.h69 Code* IC::GetTargetAtAddress(Address address) { in GetTargetAtAddress()
74 Code* result = Code::GetCodeFromTargetAddress(target); in GetTargetAtAddress()
80 void IC::SetTargetAtAddress(Address address, Code* target) { in SetTargetAtAddress()
82 Code* old_target = GetTargetAtAddress(address); in SetTargetAtAddress()
86 if (old_target->kind() == Code::STORE_IC || in SetTargetAtAddress()
87 old_target->kind() == Code::KEYED_STORE_IC) { in SetTargetAtAddress()
88 ASSERT(Code::GetStrictMode(old_target->extra_ic_state()) == in SetTargetAtAddress()
89 Code::GetStrictMode(target->extra_ic_state())); in SetTargetAtAddress()
/external/chromium_org/v8/src/
Dstub-cache.cc58 Code* StubCache::Set(Name* name, Map* map, Code* code) { in Set()
60 Code::Flags flags = Code::RemoveTypeFromFlags(code->flags()); in Set()
71 ASSERT(Code::ExtractICStateFromFlags(flags) == MONOMORPHIC); in Set()
72 STATIC_ASSERT((Code::ICStateField::kMask & 1) == 1); in Set()
75 ASSERT(Code::ExtractTypeFromFlags(flags) == 0); in Set()
80 Code* old_code = primary->value; in Set()
86 Code::Flags old_flags = Code::RemoveTypeFromFlags(old_code->flags()); in Set()
102 Handle<Code> StubCache::FindIC(Handle<Name> name, in FindIC()
104 Code::Kind kind, in FindIC()
107 Code::Flags flags = Code::ComputeMonomorphicFlags( in FindIC()
[all …]
Dstub-cache.h74 Code* value;
83 Handle<Code> FindIC(Handle<Name> name,
85 Code::Kind kind,
89 Handle<Code> FindHandler(Handle<Name> name,
91 Code::Kind kind,
94 Handle<Code> ComputeMonomorphicIC(Handle<Name> name,
96 Handle<Code> handler,
99 Handle<Code> ComputeLoadNonexistent(Handle<Name> name, Handle<Type> type);
101 Handle<Code> ComputeKeyedLoadElement(Handle<Map> receiver_map);
103 Handle<Code> ComputeKeyedStoreElement(Handle<Map> receiver_map,
[all …]
Dtype-info.cc59 TypeFeedbackOracle::TypeFeedbackOracle(Handle<Code> code, in TypeFeedbackOracle()
105 Handle<Code> code = Handle<Code>::cast(maybe_code); in LoadIsUninitialized()
115 Handle<Code> code = Handle<Code>::cast(maybe_code); in LoadIsPreMonomorphic()
125 Handle<Code> code = Handle<Code>::cast(maybe_code); in StoreIsUninitialized()
133 Handle<Code> code = Handle<Code>::cast(maybe_code); in StoreIsPreMonomorphic()
143 Handle<Code> code = Handle<Code>::cast(maybe_code); in StoreIsKeyedPolymorphic()
154 (value->IsCode() && Handle<Code>::cast(value)->ic_state() == MONOMORPHIC); in CallIsMonomorphic()
160 Handle<Code> code = Handle<Code>::cast(value); in KeyedArrayCallIsHoley()
183 Handle<Code> code = Handle<Code>::cast(maybe_code); in GetStoreMode()
184 if (code->kind() == Code::KEYED_STORE_IC) { in GetStoreMode()
[all …]
Dic.h156 static bool IsCleared(Code* code) { in IsCleared()
172 Handle<Code> target() const { return target_; } in target()
185 void set_target(Code* code) { in set_target()
204 static inline Code* GetTargetAtAddress(Address address);
205 static inline void SetTargetAtAddress(Address address, Code* target);
206 static void PostPatching(Address address, Code* target, Code* old_target);
209 Handle<Code> ComputeHandler(LookupResult* lookup,
212 Handle<Object> value = Handle<Code>::null());
213 virtual Handle<Code> CompileHandler(LookupResult* lookup, in CompileHandler()
219 return Handle<Code>::null(); in CompileHandler()
[all …]
Dcode-stubs.h142 Handle<Code> GetCode(Isolate* isolate);
145 Handle<Code> GetCodeCopyFromTemplate(Isolate* isolate);
154 static Major GetMajorKey(Code* code_stub) { in GetMajorKey()
175 bool FindCodeInCache(Code** code_out, Isolate* isolate);
187 virtual Code::StubType GetStubType() { in GetStubType()
188 return Code::NORMAL; in GetStubType()
203 virtual Handle<Code> GenerateCode(Isolate* isolate) = 0;
217 void RecordCodeGeneration(Code* code, Isolate* isolate);
220 virtual void FinishCode(Handle<Code> code) { } in FinishCode()
224 virtual void Activate(Code* code) { } in Activate()
[all …]
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp59 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error) { in CodeTokenizer()
81 if (Code.empty()) { in getNextToken()
87 switch (Code[0]) { in getNextToken()
90 Result.Text = Code.substr(0, 1); in getNextToken()
91 Code = Code.drop_front(); in getNextToken()
95 Result.Text = Code.substr(0, 1); in getNextToken()
96 Code = Code.drop_front(); in getNextToken()
100 Result.Text = Code.substr(0, 1); in getNextToken()
101 Code = Code.drop_front(); in getNextToken()
105 Result.Text = Code.substr(0, 1); in getNextToken()
[all …]
/external/chromium_org/tools/json_schema_compiler/
Dcode_test.py6 from code import Code
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 …]
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp22 void expectRewritten(const std::string &Code, in expectRewritten() argument
30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code)) in expectRewritten()
31 << "Parsing error in \"" << Code << "\""; in expectRewritten()
33 FileID ID = Context.createInMemoryFile("input.cc", Code); in expectRewritten()
40 std::string Code = "void f() { int i = 1; }"; in TEST() local
43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
47 std::string Code = "#define A void f() { int i = 1; }\nA"; in TEST() local
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
54 std::string Code = "#define A void f() { int i = 1; }"; in TEST() local
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
[all …]
/external/bison/m4/
Dgnulib-comp.m442 # Code from module alloca-opt:
43 # Code from module announce-gen:
44 # Code from module argmatch:
45 # Code from module assert:
46 # Code from module binary-io:
47 # Code from module bitrotate:
48 # Code from module c-ctype:
49 # Code from module c-strcase:
50 # Code from module c-strcaseeq:
51 # Code from module calloc-posix:
[all …]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DDecoder.java13 int Code; field in Decoder
29 Code = 0; in Init()
32 Code = (Code << 8) | Stream.read(); in Init()
41 int t = ((Code - Range) >>> 31); in DecodeDirectBits()
42 Code -= Range & (t - 1); in DecodeDirectBits()
47 Code = (Code << 8) | Stream.read(); in DecodeDirectBits()
58 if ((Code ^ 0x80000000) < (newBound ^ 0x80000000)) in DecodeBit()
64 Code = (Code << 8) | Stream.read(); in DecodeBit()
72 Code -= newBound; in DecodeBit()
76 Code = (Code << 8) | Stream.read(); in DecodeBit()
/external/chromium_org/v8/test/cctest/
Dtest-assembler-ia32.cc65 Code::ComputeFlags(Code::STUB), in TEST()
66 Handle<Code>())->ToObjectChecked(); in TEST()
69 Code::cast(code)->Print(); in TEST()
71 F2 f = FUNCTION_CAST<F2>(Code::cast(code)->entry()); in TEST()
104 Code::ComputeFlags(Code::STUB), in TEST()
105 Handle<Code>())->ToObjectChecked(); in TEST()
108 Code::cast(code)->Print(); in TEST()
110 F1 f = FUNCTION_CAST<F1>(Code::cast(code)->entry()); in TEST()
147 Code::ComputeFlags(Code::STUB), in TEST()
148 Handle<Code>())->ToObjectChecked(); in TEST()
[all …]
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h53 testing::AssertionResult matchesConditionally(const std::string &Code, in matchesConditionally() argument
63 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args)) { in matchesConditionally()
64 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\""; in matchesConditionally()
68 << "Could not find match in \"" << Code << "\""; in matchesConditionally()
71 << "Found unexpected match in \"" << Code << "\""; in matchesConditionally()
77 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { in matches() argument
78 return matchesConditionally(Code, AMatcher, true, "-std=c++11"); in matches()
82 testing::AssertionResult notMatches(const std::string &Code, in notMatches() argument
84 return matchesConditionally(Code, AMatcher, false, "-std=c++11"); in notMatches()
89 matchAndVerifyResultConditionally(const std::string &Code, const T &AMatcher, in matchAndVerifyResultConditionally() argument
[all …]
/external/v8/test/cctest/
Dtest-assembler-ia32.cc74 Code::ComputeFlags(Code::STUB), in TEST()
78 Code::cast(code)->Print(); in TEST()
80 F2 f = FUNCTION_CAST<F2>(Code::cast(code)->entry()); in TEST()
112 Code::ComputeFlags(Code::STUB), in TEST()
116 Code::cast(code)->Print(); in TEST()
118 F1 f = FUNCTION_CAST<F1>(Code::cast(code)->entry()); in TEST()
154 Code::ComputeFlags(Code::STUB), in TEST()
158 Code::cast(code)->Print(); in TEST()
160 F1 f = FUNCTION_CAST<F1>(Code::cast(code)->entry()); in TEST()
186 Code* code = Code::cast(HEAP->CreateCode( in TEST()
[all …]
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoder.cs126 public uint Code; field in SevenZip.Compression.RangeCoder.Decoder
135 Code = 0; in Init()
138 Code = (Code << 8) | (byte)Stream.ReadByte(); in Init()
156 Code = (Code << 8) | (byte)Stream.ReadByte(); in Normalize()
165 Code = (Code << 8) | (byte)Stream.ReadByte(); in Normalize2()
172 return Code / (Range /= total); in GetThreshold()
177 Code -= start * Range; in Decode()
185 uint code = Code; in DecodeDirectBits()
209 Code = code; in DecodeDirectBits()
217 if (Code < newBound) in DecodeBit()
[all …]
/external/clang/lib/Serialization/
DASTWriterStmt.cpp36 serialization::StmtCode Code; member in clang::ASTStmtWriter
67 Code = serialization::STMT_NULL; in VisitNullStmt()
78 Code = serialization::STMT_COMPOUND; in VisitCompoundStmt()
94 Code = serialization::STMT_CASE; in VisitCaseStmt()
100 Code = serialization::STMT_DEFAULT; in VisitDefaultStmt()
108 Code = serialization::STMT_LABEL; in VisitLabelStmt()
117 Code = serialization::STMT_ATTRIBUTED; in VisitAttributedStmt()
128 Code = serialization::STMT_IF; in VisitIfStmt()
141 Code = serialization::STMT_SWITCH; in VisitSwitchStmt()
150 Code = serialization::STMT_WHILE; in VisitWhileStmt()
[all …]
/external/llvm/unittests/ExecutionEngine/JIT/
DJITEventListenerTest.cpp34 void *Code; member
40 void *Code; member
52 void *Code, size_t Size, in NotifyFunctionEmitted()
54 FunctionEmittedEvent Event = {NextIndex++, &F, Code, Size, Details}; in NotifyFunctionEmitted()
107 EXPECT_EQ(F1_addr, Listener.EmittedEvents[0].Code); in TEST_F()
114 EXPECT_EQ(F2_addr, Listener.EmittedEvents[1].Code); in TEST_F()
120 EXPECT_EQ(F1_addr, Listener.FreedEvents[0].Code); in TEST_F()
123 EXPECT_EQ(F2_addr, Listener.FreedEvents[1].Code); in TEST_F()
160 EXPECT_EQ(F1_addr, Listener1.EmittedEvents[0].Code); in TEST_F()
166 EXPECT_EQ(F2_addr, Listener1.FreedEvents[0].Code); in TEST_F()
[all …]
/external/lzma/CPP/7zip/Compress/
DRangeCoder.h114 UInt32 Code; variable
121 Code = (Code << 8) | Stream.ReadByte(); in Normalize()
130 Code = 0; in Init()
133 Code = (Code << 8) | Stream.ReadByte(); in Init()
140 return (Code) / ( Range /= total); in GetThreshold()
145 Code -= start * Range; in Decode()
153 UInt32 code = Code; in DecodeDirectBits()
177 Code = code; in DecodeDirectBits()
185 if (Code < newBound) in DecodeBit()
193 Code -= newBound; in DecodeBit()
/external/chromium_org/base/
Dsafe_numerics.h19 #define BASE_NUMERIC_CAST_CASE_SPECIALIZATION(A, B, C, D, Code) \ argument
23 return Code; \
27 #define BASE_NUMERIC_CAST_CASE_SAME_SIZE(DestSigned, SourceSigned, Code) \ argument
29 true, true, DestSigned, SourceSigned, Code); \
31 true, false, DestSigned, SourceSigned, Code)
33 #define BASE_NUMERIC_CAST_CASE_SOURCE_LARGER(DestSigned, SourceSigned, Code) \ argument
35 false, false, DestSigned, SourceSigned, Code); \
37 #define BASE_NUMERIC_CAST_CASE_DEST_LARGER(DestSigned, SourceSigned, Code) \ argument
39 false, true, DestSigned, SourceSigned, Code); \

12345678910>>...45