v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
memcopy.h File Reference
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include "src/base/bits.h"
#include "src/base/logging.h"
#include "src/base/macros.h"
#include "src/utils/utils.h"
Include dependency graph for memcopy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define CASE(N)
 
#define CASE(N)
 
#define CASE(N)
 

Functions

void v8::internal::init_memcopy_functions ()
 
void v8::internal::MemCopy (void *dest, const void *src, size_t size)
 
V8_EXPORT_PRIVATE void v8::internal::MemMove (void *dest, const void *src, size_t size)
 
template<size_t kBlockCopyLimit, typename T >
void v8::internal::CopyImpl (T *dst_ptr, const T *src_ptr, size_t count)
 
void v8::internal::CopyWords (Address dst, const Address src, size_t num_words)
 
template<typename T >
void v8::internal::CopyBytes (T *dst, const T *src, size_t num_bytes)
 
void v8::internal::MemsetUint32 (uint32_t *dest, uint32_t value, size_t counter)
 
void v8::internal::MemsetPointer (Address *dest, Address value, size_t counter)
 
template<typename T , typename U >
void v8::internal::MemsetPointer (T **dest, U *value, size_t counter)
 
template<typename T >
void v8::internal::MemsetPointer (T **dest, std::nullptr_t, size_t counter)
 
template<typename SrcType , typename DstType >
void v8::internal::CopyChars (DstType *dst, const SrcType *src, size_t count) V8_NONNULL(1
 
template<typename SrcType , typename DstType >
void void v8::internal::CopyChars (DstType *dst, const SrcType *src, size_t count)
 

Variables

const size_t v8::internal::kMinComplexMemCopy = 8
 

Macro Definition Documentation

◆ CASE [1/3]

#define CASE ( N)
Value:
case N: \
memcpy(dest, src, N); \
return;

◆ CASE [2/3]

#define CASE ( N)
Value:
case N: \
memmove(dest, src, N); \
return;

◆ CASE [3/3]

#define CASE ( N)
Value:
case N: \
std::copy_n(src_u, N, dst_u); \
return;