Home
last modified time | relevance | path

Searched refs:kConst (Results 1 – 25 of 36) sorted by relevance

12

/external/v8/src/
Dproperty.cc68 kDescriptor, PropertyConstness::kConst, in DataConstant()
77 return DataField(key, field_index, attributes, PropertyConstness::kConst, in DataConstant()
82 kDescriptor, PropertyConstness::kConst, in DataConstant()
91 kDescriptor, PropertyConstness::kConst, in AccessorConstant()
98 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsSlowTo()
107 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsFastTo()
Dproperty-details.h79 enum class PropertyConstness { kMutable = 0, kConst = 1 }; enumerator
83 FLAG_track_constant_fields ? PropertyConstness::kConst
417 return b == PropertyConstness::kMutable || a == PropertyConstness::kConst; in IsGeneralizableTo()
Dlookup.cc115 PropertyConstness::kConst, value); in ForTransitionHandler()
427 PropertyConstness new_constness = PropertyConstness::kConst; in PrepareForDataProperty()
429 if (constness() == PropertyConstness::kConst) { in PrepareForDataProperty()
862 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in IsConstFieldValueEqualTo()
979 PropertyConstness::kConst, in WriteDataValue()
985 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in WriteDataValue()
Dcontexts.cc171 return mode == VariableMode::kConst ? READ_ONLY : NONE; in GetAttributesForMode()
325 *variable_mode = VariableMode::kConst; in Lookup()
Dglobals.h956 kConst, // declared via 'const' declarations (last lexical) enumerator
985 case VariableMode::kConst: in VariableMode2String()
1020 return mode <= VariableMode::kConst; in IsLexicalVariableMode()
Dmap-updater.cc536 DCHECK_EQ(PropertyConstness::kConst, next_constness); in BuildDescriptorArray()
592 DCHECK_EQ(PropertyConstness::kConst, next_constness); in BuildDescriptorArray()
/external/skia/tools/bookmaker/
Dbookmaker.h62 kConst, enumerator
110 kConst, enumerator
DmdOut.cpp905 FPRINTF("%s", MarkType::kConst == markType ? kAllConstTableHeader : kAllMemberTableHeader); in summaryOut()
920 if (MarkType::kConst == markType) { in summaryOut()
1258 if (writeTableEnd(MarkType::kParam, def, prior) || writeTableEnd(MarkType::kConst, def, prior) in markTypeOut()
1316 case MarkType::kConst: { in markTypeOut()
1317 bool isConst = MarkType::kConst == def->fMarkType; in markTypeOut()
1323 SkASSERT(!*prior || (isConst && MarkType::kConst != (*prior)->fMarkType) in markTypeOut()
1778 [](Definition* child){return MarkType::kConst == child->fMarkType;})) { in markTypeOut()
1779 … this->summaryOut(def, MarkType::kConst, fPopulators[SubtopicKeys::kConstants].fPlural); in markTypeOut()
1934 case MarkType::kConst: in markTypeOut()
2037 if (MarkType::kConst == def->fMarkType) { in populateOne()
[all …]
DincludeWriter.cpp443 if (MarkType::kConst == test->fMarkType) { in enumHeaderOut()
774 if (!this->checkChildCommentLength(fEnumDef, MarkType::kConst)) { in enumSizeItems()
792 if (MarkType::kConst != testItem->fMarkType) { in matchMemberName()
1082 if (MarkType::kConst != child->fMarkType) { in constSizeMembers()
1164 case KeyWord::kConst: in structSizeMembers()
1321 if (KeyWord::kConst == child.fKeyWord) { in populate()
1719 case KeyWord::kConst: in populate()
1726 if (MarkType::kConst == child.fMarkType) { in populate()
1889 if (MarkType::kConst == enumChild->fMarkType && enumChild->fName == match) { in populate()
1911 if (MarkType::kConst == bmhConst.fMarkType in populate()
[all …]
DincludeParser.cpp23 { "const", KeyWord::kConst, KeyProperty::kModifier },
421 if (MarkType::kConst == iDef.fMarkType && !i.fEnd) { in writeCodeBlock()
1038 case MarkType::kConst: in checkTokens()
1189 case MarkType::kConst: in dumpClassTokens()
2158 fGlobals.emplace_back(MarkType::kConst, child->fContentStart, child->fContentEnd, in parseConst()
2176 markupDef->fTokens.emplace_back(MarkType::kConst, child->fContentStart, child->fContentEnd, in parseConst()
2551 KeyWord::kConst == closeParen->fKeyWord) { in parseMethod()
2717 case KeyWord::kConst: in parseObject()
2780 if (fPriorObject && MarkType::kConst == fPriorObject->fMarkType) { in parseObject()
3224 } else if (KeyWord::kConst == lineIter->fKeyWord in parseChar()
[all …]
DbmhParser.h54 , { &fConstMap, MarkType::kConst } in BmhParser()
DspellCheck.cpp174 case MarkType::kConst: { in check()
346 case MarkType::kConst: in check()
DincludeParser.h84 { &fIConstMap, MarkType::kConst } in IncludeParser()
130 if (MarkType::kConst == markType) { in codeBlock()
DbmhParser.cpp47 , { "Const", MarkType::kConst, R_Y, E_O, M_E | M_CSST }
133 case MarkType::kConst: in addDefinition()
231 if (MarkType::kConst == markType) { in addDefinition()
781 } else if (' ' == mc[1] && MarkType::kConst == markType && fParent in className()
1351 || MarkType::kEnumClass == markType || MarkType::kConst == markType in setUpSubstitutes()
1950 || MarkType::kConst != definition->fParent->fMarkType)) { in parseHashLine()
2118 case MarkType::kConst: in typeName()
/external/skqp/tools/bookmaker/
Dbookmaker.h62 kConst, enumerator
110 kConst, enumerator
DmdOut.cpp905 FPRINTF("%s", MarkType::kConst == markType ? kAllConstTableHeader : kAllMemberTableHeader); in summaryOut()
920 if (MarkType::kConst == markType) { in summaryOut()
1258 if (writeTableEnd(MarkType::kParam, def, prior) || writeTableEnd(MarkType::kConst, def, prior) in markTypeOut()
1316 case MarkType::kConst: { in markTypeOut()
1317 bool isConst = MarkType::kConst == def->fMarkType; in markTypeOut()
1323 SkASSERT(!*prior || (isConst && MarkType::kConst != (*prior)->fMarkType) in markTypeOut()
1778 [](Definition* child){return MarkType::kConst == child->fMarkType;})) { in markTypeOut()
1779 … this->summaryOut(def, MarkType::kConst, fPopulators[SubtopicKeys::kConstants].fPlural); in markTypeOut()
1934 case MarkType::kConst: in markTypeOut()
2037 if (MarkType::kConst == def->fMarkType) { in populateOne()
[all …]
DincludeWriter.cpp443 if (MarkType::kConst == test->fMarkType) { in enumHeaderOut()
774 if (!this->checkChildCommentLength(fEnumDef, MarkType::kConst)) { in enumSizeItems()
792 if (MarkType::kConst != testItem->fMarkType) { in matchMemberName()
1082 if (MarkType::kConst != child->fMarkType) { in constSizeMembers()
1164 case KeyWord::kConst: in structSizeMembers()
1321 if (KeyWord::kConst == child.fKeyWord) { in populate()
1719 case KeyWord::kConst: in populate()
1726 if (MarkType::kConst == child.fMarkType) { in populate()
1889 if (MarkType::kConst == enumChild->fMarkType && enumChild->fName == match) { in populate()
1911 if (MarkType::kConst == bmhConst.fMarkType in populate()
[all …]
DincludeParser.cpp22 { "const", KeyWord::kConst, KeyProperty::kModifier },
420 if (MarkType::kConst == iDef.fMarkType && !i.fEnd) { in writeCodeBlock()
1037 case MarkType::kConst: in checkTokens()
1188 case MarkType::kConst: in dumpClassTokens()
2157 fGlobals.emplace_back(MarkType::kConst, child->fContentStart, child->fContentEnd, in parseConst()
2175 markupDef->fTokens.emplace_back(MarkType::kConst, child->fContentStart, child->fContentEnd, in parseConst()
2550 KeyWord::kConst == closeParen->fKeyWord) { in parseMethod()
2716 case KeyWord::kConst: in parseObject()
2779 if (fPriorObject && MarkType::kConst == fPriorObject->fMarkType) { in parseObject()
3223 } else if (KeyWord::kConst == lineIter->fKeyWord in parseChar()
[all …]
DbmhParser.h54 , { &fConstMap, MarkType::kConst } in BmhParser()
DincludeParser.h84 { &fIConstMap, MarkType::kConst } in IncludeParser()
130 if (MarkType::kConst == markType) { in codeBlock()
DspellCheck.cpp174 case MarkType::kConst: { in check()
346 case MarkType::kConst: in check()
DbmhParser.cpp47 , { "Const", MarkType::kConst, R_Y, E_O, M_E | M_CSST }
133 case MarkType::kConst: in addDefinition()
231 if (MarkType::kConst == markType) { in addDefinition()
781 } else if (' ' == mc[1] && MarkType::kConst == markType && fParent in className()
1351 || MarkType::kEnumClass == markType || MarkType::kConst == markType in setUpSubstitutes()
1950 || MarkType::kConst != definition->fParent->fMarkType)) { in parseHashLine()
2121 case MarkType::kConst: in typeName()
/external/v8/src/ast/
Dscopes.cc717 derived_constructor ? VariableMode::kConst : VariableMode::kVar, in DeclareThis()
748 VariableMode::kConst); in DeclareDefaultFunctionVariables()
754 VariableMode::kConst); in DeclareDefaultFunctionVariables()
765 Variable(this, name, VariableMode::kConst, kind, kCreatedInitialized); in DeclareFunctionVar()
994 DCHECK_EQ(VariableMode::kConst, var->mode()); in LookupInScopeInfo()
1089 mode == VariableMode::kConst); in DeclareLocal()
1125 if (mode != VariableMode::kConst) proxy->set_is_assigned(); in DeclareVariable()
/external/v8/src/parsing/
Dparser.cc1035 DeclareVariable(local_name, VariableMode::kConst, kNeedsInitialization, in ParseNamedImports()
1087 DeclareVariable(import_default_binding, VariableMode::kConst, in ParseImportDeclaration()
1103 DeclareVariable(module_namespace_binding, VariableMode::kConst, in ParseImportDeclaration()
1203 DeclareVariable(local_name, VariableMode::kConst, pos, CHECK_OK); in ParseExportDefault()
3163 declaration, DeclarationDescriptor::NORMAL, VariableMode::kConst, in DeclareClassVariable()
3164 Variable::DefaultInitializationFlag(VariableMode::kConst), ok); in DeclareClassVariable()
3177 declaration, DeclarationDescriptor::NORMAL, VariableMode::kConst, in CreateSyntheticContextVariable()
3178 Variable::DefaultInitializationFlag(VariableMode::kConst), CHECK_OK); in CreateSyntheticContextVariable()
Dpreparser.h1206 scope()->DeclareVariableName(name.string_, VariableMode::kConst);
1220 VariableMode::kConst);
1226 scope()->DeclareVariableName(property_name.string_, VariableMode::kConst);

12