Lines Matching defs:index

100    * \param context_snapshot_index The index of the context snapshot to
184 * Gets the embedder data with the given index, which must have been set by a
185 * previous call to SetEmbedderData with the same index.
187 V8_INLINE Local<Value> GetEmbedderData(int index);
198 * Sets the embedder data with the given index, growing the data as
199 * needed. Note that index 0 currently has a special meaning for Chrome's
202 void SetEmbedderData(int index, Local<Value> value);
206 * index, which must have been set by a previous call to
207 * SetAlignedPointerInEmbedderData with the same index. Note that index 0
210 V8_INLINE void* GetAlignedPointerFromEmbedderData(int index);
214 * index, growing the data as needed. Note that index 0 currently has a
217 void SetAlignedPointerInEmbedderData(int index, void* value);
250 * Repeated call with the same index returns an empty MaybeLocal.
253 V8_INLINE MaybeLocal<T> GetDataFromSnapshotOnce(size_t index);
338 internal::Address* GetDataFromSnapshotOnce(size_t index);
339 Local<Value> SlowGetEmbedderData(int index);
340 void* SlowGetAlignedPointerFromEmbedderData(int index);
345 Local<Value> Context::GetEmbedderData(int index) {
353 I::kEmbedderDataArrayHeaderSize + (I::kEmbedderDataSlotSize * index);
366 return SlowGetEmbedderData(index);
370 void* Context::GetAlignedPointerFromEmbedderData(int index) {
378 I::kEmbedderDataArrayHeaderSize + (I::kEmbedderDataSlotSize * index);
387 return SlowGetAlignedPointerFromEmbedderData(index);
392 MaybeLocal<T> Context::GetDataFromSnapshotOnce(size_t index) {
393 T* data = reinterpret_cast<T*>(GetDataFromSnapshotOnce(index));