Home
last modified time | relevance | path

Searched refs:cell_index (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/ast/
Dmodules.cc116 ToStringOrUndefined(isolate, import_name), module_request, cell_index, in Serialize()
131 result->cell_index = entry->cell_index(); in Deserialize()
151 DCHECK_EQ(it->second->cell_index, next->second->cell_index); in SerializeRegularExports()
160 handle(Smi::FromInt(it->second->cell_index), isolate); in SerializeRegularExports()
191 int cell_index = module_info->RegularExportCellIndex(i); in DeserializeRegularExports() local
202 entry->cell_index = cell_index; in DeserializeRegularExports()
242 int cell_index) { in GetCellIndexKind() argument
243 if (cell_index > 0) return kExport; in GetCellIndexKind()
244 if (cell_index < 0) return kImport; in GetCellIndexKind()
259 DCHECK_EQ(entry->cell_index, 0); in AssignCellIndices()
[all …]
Dmodules.h99 int cell_index; member
108 cell_index(0) {} in Entry()
119 static CellIndexKind GetCellIndexKind(int cell_index);
Dscopes.cc2287 var->AllocateTo(VariableLocation::MODULE, it.second->cell_index); in AllocateModuleVariables()
2293 var->AllocateTo(VariableLocation::MODULE, it.second->cell_index); in AllocateModuleVariables()
/external/v8/src/heap/
Dmarking.h150 void ClearBitsInCell(uint32_t cell_index, uint32_t mask);
155 void SetBitsInCell(uint32_t cell_index, uint32_t mask);
179 inline void Bitmap::SetBitsInCell<AccessMode::NON_ATOMIC>(uint32_t cell_index,
181 cells()[cell_index] |= mask;
185 inline void Bitmap::SetBitsInCell<AccessMode::ATOMIC>(uint32_t cell_index,
187 base::AsAtomic32::SetBits(cells() + cell_index, mask, mask);
191 inline void Bitmap::ClearBitsInCell<AccessMode::NON_ATOMIC>(uint32_t cell_index,
193 cells()[cell_index] &= ~mask;
197 inline void Bitmap::ClearBitsInCell<AccessMode::ATOMIC>(uint32_t cell_index,
199 base::AsAtomic32::SetBits(cells() + cell_index, 0u, mask);
Dslot-set.h60 int bucket_index, cell_index, bit_index; in Insert() local
61 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Insert()
75 if ((LoadCell<access_mode>(&bucket[cell_index]) & mask) == 0) { in Insert()
76 SetCellBits<access_mode>(&bucket[cell_index], mask); in Insert()
83 int bucket_index, cell_index, bit_index; in Contains() local
84 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Contains()
87 return (LoadCell(&bucket[cell_index]) & (1u << bit_index)) != 0; in Contains()
92 int bucket_index, cell_index, bit_index; in Remove() local
93 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Remove()
96 uint32_t cell = LoadCell(&bucket[cell_index]); in Remove()
[all …]
/external/v8/src/objects/
Dmodule.cc111 int ExportIndex(int cell_index) { in ExportIndex() argument
112 DCHECK_EQ(ModuleDescriptor::GetCellIndexKind(cell_index), in ExportIndex()
114 return cell_index - 1; in ExportIndex()
117 int ImportIndex(int cell_index) { in ImportIndex() argument
118 DCHECK_EQ(ModuleDescriptor::GetCellIndexKind(cell_index), in ImportIndex()
120 return -cell_index - 1; in ImportIndex()
135 int cell_index, Handle<FixedArray> names) { in CreateExport() argument
139 module->regular_exports()->set(ExportIndex(cell_index), *cell); in CreateExport()
150 Cell* Module::GetCell(int cell_index) { in GetCell() argument
153 switch (ModuleDescriptor::GetCellIndexKind(cell_index)) { in GetCell()
[all …]
Dmodule.h108 Cell* GetCell(int cell_index);
110 int cell_index);
111 static void StoreVariable(Handle<Module> module, int cell_index,
153 int cell_index, Handle<FixedArray> names);
310 DECL_INT_ACCESSORS(cell_index)
318 int module_request, int cell_index,
Dmodule-inl.h48 SMI_ACCESSORS(ModuleInfoEntry, cell_index, kCellIndexOffset) in ACCESSORS()
Dscope-info.cc871 int module_request, int cell_index, in New() argument
879 result->set_cell_index(cell_index); in New()
/external/tensorflow/tensorflow/tools/compatibility/
Dipynb.py67 cell_index = 0
90 CodeLine(cell_index,
93 cell_index += 1
/external/blktrace/iowatcher/
Dplot.c882 double cell_index; in svg_io_graph_movie_array() local
888 cell_index = pph->history[i]; in svg_io_graph_movie_array()
889 movie_row = floor(cell_index / graph_width); in svg_io_graph_movie_array()
890 movie_col = cell_index - movie_row * graph_width; in svg_io_graph_movie_array()
905 double cell_index; in svg_io_graph_movie_array_spindle() local
947 cell_index = pph->history[i]; in svg_io_graph_movie_array_spindle()
948 circle_num = floor(cell_index / cells_per_circle); in svg_io_graph_movie_array_spindle()
949 rot = cell_index - circle_num * cells_per_circle; in svg_io_graph_movie_array_spindle()
991 double cell_index; in svg_io_graph_movie() local
1007 cell_index = (double)row * blocks_per_row; in svg_io_graph_movie()
[all …]
/external/v8/src/
Dcontexts.cc339 int cell_index = in Lookup() local
341 if (cell_index != 0) { in Lookup()
345 *index = cell_index; in Lookup()
348 *attributes = ModuleDescriptor::GetCellIndexKind(cell_index) == in Lookup()
Dobjects-printer.cc1648 os << "\n - cell_index: " << cell_index(); in ModuleInfoEntryPrint()
/external/v8/src/debug/
Ddebug-scopes.cc873 int cell_index; in SetModuleVariableValue() local
877 cell_index = context_->scope_info()->ModuleIndex( in SetModuleVariableValue()
881 if (ModuleDescriptor::GetCellIndexKind(cell_index) != in SetModuleVariableValue()
887 Module::StoreVariable(module, cell_index, new_value); in SetModuleVariableValue()
/external/v8/src/interpreter/
Dbytecode-array-builder.h106 BytecodeArrayBuilder& LoadModuleVariable(int cell_index, int depth);
110 BytecodeArrayBuilder& StoreModuleVariable(int cell_index, int depth);
Dbytecode-array-builder.cc1281 BytecodeArrayBuilder& BytecodeArrayBuilder::StoreModuleVariable(int cell_index, in StoreModuleVariable() argument
1283 OutputStaModuleVariable(cell_index, depth); in StoreModuleVariable()
1287 BytecodeArrayBuilder& BytecodeArrayBuilder::LoadModuleVariable(int cell_index, in LoadModuleVariable() argument
1289 OutputLdaModuleVariable(cell_index, depth); in LoadModuleVariable()
Dinterpreter-generator.cc672 Node* cell_index = BytecodeOperandImmIntPtr(0); in IGNITION_HANDLER() local
679 Branch(IntPtrGreaterThan(cell_index, IntPtrConstant(0)), &if_export, in IGNITION_HANDLER()
687 Node* export_index = IntPtrSub(cell_index, IntPtrConstant(1)); in IGNITION_HANDLER()
698 Node* import_index = IntPtrSub(IntPtrConstant(-1), cell_index); in IGNITION_HANDLER()
714 Node* cell_index = BytecodeOperandImmIntPtr(0); in IGNITION_HANDLER() local
721 Branch(IntPtrGreaterThan(cell_index, IntPtrConstant(0)), &if_export, in IGNITION_HANDLER()
729 Node* export_index = IntPtrSub(cell_index, IntPtrConstant(1)); in IGNITION_HANDLER()
/external/v8/src/compiler/
Djs-operator.cc1090 const Operator* JSOperatorBuilder::LoadModule(int32_t cell_index) { in LoadModule() argument
1096 cell_index); // parameter in LoadModule()
1099 const Operator* JSOperatorBuilder::StoreModule(int32_t cell_index) { in StoreModule() argument
1105 cell_index); // parameter in StoreModule()
Djs-operator.h803 const Operator* LoadModule(int32_t cell_index); in NON_EXPORTED_BASE()
804 const Operator* StoreModule(int32_t cell_index); in NON_EXPORTED_BASE()
Djs-typed-lowering.cc1397 int32_t cell_index = OpParameter<int32_t>(node->op()); in BuildGetModuleCell() local
1403 CellRef cell_constant = module_constant.GetCell(cell_index); in BuildGetModuleCell()
1409 if (ModuleDescriptor::GetCellIndexKind(cell_index) == in BuildGetModuleCell()
1412 index = cell_index - 1; in BuildGetModuleCell()
1414 DCHECK_EQ(ModuleDescriptor::GetCellIndexKind(cell_index), in BuildGetModuleCell()
1417 index = -cell_index - 1; in BuildGetModuleCell()
Djs-heap-broker.h419 CellRef GetCell(int cell_index);
Djs-heap-broker.cc1125 CellRef ModuleRef::GetCell(int cell_index) { in GetCell() argument
1128 return CellRef(broker(), handle(object<Module>()->GetCell(cell_index), in GetCell()
Dbytecode-graph-builder.cc1436 int32_t cell_index = bytecode_iterator().GetImmediateOperand(0); in VisitLdaModuleVariable() local
1440 Node* value = NewNode(javascript()->LoadModule(cell_index), module); in VisitLdaModuleVariable()
1445 int32_t cell_index = bytecode_iterator().GetImmediateOperand(0); in VisitStaModuleVariable() local
1450 NewNode(javascript()->StoreModule(cell_index), module, value); in VisitStaModuleVariable()
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/ops/
Dcudnn_rnn_ops.py839 for cell_index, (bias, kernel) in enumerate(zip(biases, weights)):
841 … trackable._track_trackable(cell, name="cell-%d" % cell_index) # pylint: disable=protected-access