Lines Matching defs:index
103 * \param context_snapshot_index The index of the context snapshot to
226 * Gets the embedder data with the given index, which must have been set by a
227 * previous call to SetEmbedderData with the same index.
229 V8_INLINE Local<Value> GetEmbedderData(int index);
240 * Sets the embedder data with the given index, growing the data as
241 * needed. Note that index 0 currently has a special meaning for Chrome's
244 void SetEmbedderData(int index, Local<Value> value);
248 * index, which must have been set by a previous call to
249 * SetAlignedPointerInEmbedderData with the same index. Note that index 0
252 V8_INLINE void* GetAlignedPointerFromEmbedderData(int index);
256 * index, growing the data as needed. Note that index 0 currently has a
259 void SetAlignedPointerInEmbedderData(int index, void* value);
298 * Repeated call with the same index returns an empty MaybeLocal.
301 V8_INLINE MaybeLocal<T> GetDataFromSnapshotOnce(size_t index);
387 internal::Address* GetDataFromSnapshotOnce(size_t index);
388 Local<Value> SlowGetEmbedderData(int index);
389 void* SlowGetAlignedPointerFromEmbedderData(int index);
394 Local<Value> Context::GetEmbedderData(int index) {
402 I::kEmbedderDataArrayHeaderSize + (I::kEmbedderDataSlotSize * index);
414 return SlowGetEmbedderData(index);
418 void* Context::GetAlignedPointerFromEmbedderData(int index) {
426 (I::kEmbedderDataSlotSize * index) +
433 return SlowGetAlignedPointerFromEmbedderData(index);
438 MaybeLocal<T> Context::GetDataFromSnapshotOnce(size_t index) {
439 auto slot = GetDataFromSnapshotOnce(index);