Lines Matching refs:source
364 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size() argument
367 zend_ulong key = (zend_ulong)source; in zend_shared_memdup_size()
374 zend_hash_index_add_new_ptr(&ZCG(xlat_table), key, source); in zend_shared_memdup_size()
378 static zend_always_inline void *_zend_shared_memdup(void *source, size_t size, zend_bool arena, zen… in _zend_shared_memdup() argument
384 key = (zend_ulong)source; in _zend_shared_memdup()
398 memcpy(retval, source, size); in _zend_shared_memdup()
401 key = (zend_ulong)source; in _zend_shared_memdup()
407 efree(source); in _zend_shared_memdup()
412 void *zend_shared_memdup_get_put_free(void *source, size_t size) in zend_shared_memdup_get_put_free() argument
414 return _zend_shared_memdup(source, size, 0, 1, 1, 1); in zend_shared_memdup_get_put_free()
417 void *zend_shared_memdup_put_free(void *source, size_t size) in zend_shared_memdup_put_free() argument
419 return _zend_shared_memdup(source, size, 0, 0, 1, 1); in zend_shared_memdup_put_free()
422 void *zend_shared_memdup_free(void *source, size_t size) in zend_shared_memdup_free() argument
424 return _zend_shared_memdup(source, size, 0, 0, 0, 1); in zend_shared_memdup_free()
427 void *zend_shared_memdup_get_put(void *source, size_t size) in zend_shared_memdup_get_put() argument
429 return _zend_shared_memdup(source, size, 0, 1, 1, 0); in zend_shared_memdup_get_put()
432 void *zend_shared_memdup_put(void *source, size_t size) in zend_shared_memdup_put() argument
434 return _zend_shared_memdup(source, size, 0, 0, 1, 0); in zend_shared_memdup_put()
437 void *zend_shared_memdup(void *source, size_t size) in zend_shared_memdup() argument
439 return _zend_shared_memdup(source, size, 0, 0, 0, 0); in zend_shared_memdup()
442 void *zend_shared_memdup_arena_put(void *source, size_t size) in zend_shared_memdup_arena_put() argument
444 return _zend_shared_memdup(source, size, 1, 0, 1, 0); in zend_shared_memdup_arena_put()
447 void *zend_shared_memdup_arena(void *source, size_t size) in zend_shared_memdup_arena() argument
449 return _zend_shared_memdup(source, size, 1, 0, 0, 0); in zend_shared_memdup_arena()