Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 231) sorted by last modified time

12345678910

/php-src/
H A DCODING_STANDARDS.md10 1. Document your code in source files and the manual. (tm)
54 1. Use `PHP_*` macros in the PHP source, and `ZEND_*` macros in the Zend part of
55 the source. Although the `PHP_*` macros are mostly aliased to the `ZEND_*`
243 1. Main module source file must be named `modulename.c`.
H A D.gitignore13 # Patches downloaded to patch files or to apply open source contributions
H A Dconfigure.ac349 dnl source packages. This should be harmless on other OSs.
/php-src/ext/phar/
H A Dutil.c641 int phar_copy_entry_fp(phar_entry_info *source, phar_entry_info *dest, char **error) /* {{{ */ in phar_copy_entry_fp() argument
645 if (FAILURE == phar_open_entry_fp(source, error, 1)) { in phar_copy_entry_fp()
663 phar_seek_efp(source, 0, SEEK_SET, 0, 1); in phar_copy_entry_fp()
664 link = phar_get_link_source(source); in phar_copy_entry_fp()
667 link = source; in phar_copy_entry_fp()
674 …tents of file \"%s\" to \"%s\" in phar archive \"%s\"", source->filename, dest->filename, source->… in phar_copy_entry_fp()
H A Dphar_object.c2223 static zend_object *phar_convert_to_other(phar_archive_data *source, int convert, char *ext, uint32… in phar_convert_to_other() argument
2236 phar->is_data = source->is_data; in phar_convert_to_other()
2262 phar->fname = source->fname; in phar_convert_to_other()
2263 phar->fname_len = source->fname_len; in phar_convert_to_other()
2264 phar->is_temporary_alias = source->is_temporary_alias; in phar_convert_to_other()
2265 phar->alias = source->alias; in phar_convert_to_other()
2267 …phar_metadata_tracker_copy(&phar->metadata_tracker, &source->metadata_tracker, phar->is_persistent… in phar_convert_to_other()
2270 ZEND_HASH_MAP_FOREACH_PTR(&source->manifest, entry) { in phar_convert_to_other()
H A Dphar_internal.h552 void phar_metadata_tracker_copy(phar_metadata_tracker* dest, const phar_metadata_tracker *source, i…
559 int phar_copy_entry_fp(phar_entry_info *source, phar_entry_info *dest, char **error);
H A Dtar.c1235 # define PHAR_SET_32(destination, source) do { \ in phar_tar_flush() argument
1236 uint32_t swapped = (((((unsigned char*)&(source))[3]) << 24) \ in phar_tar_flush()
1237 | ((((unsigned char*)&(source))[2]) << 16) \ in phar_tar_flush()
1238 | ((((unsigned char*)&(source))[1]) << 8) \ in phar_tar_flush()
1239 | (((unsigned char*)&(source))[0])); \ in phar_tar_flush()
1243 # define PHAR_SET_32(destination, source) memcpy(destination, &source, 4) in phar_tar_flush() argument
H A Dphar.c661 void phar_metadata_tracker_copy(phar_metadata_tracker *dest, const phar_metadata_tracker *source, i… in phar_metadata_tracker_copy() argument
663 ZEND_ASSERT(dest != source); in phar_metadata_tracker_copy()
666 if (!Z_ISUNDEF(source->val)) { in phar_metadata_tracker_copy()
668 ZVAL_COPY(&dest->val, &source->val); in phar_metadata_tracker_copy()
670 if (source->str) { in phar_metadata_tracker_copy()
671 dest->str = zend_string_copy(source->str); in phar_metadata_tracker_copy()
H A Dstream.c843 phar_entry_info new, *source; in phar_wrapper_rename() local
859 source = entry; in phar_wrapper_rename()
866 if (FAILURE == phar_copy_entry_fp(source, entry, &error)) { in phar_wrapper_rename()
/php-src/ext/bcmath/libbcmath/src/
H A Dconvert.c24 char *bc_copy_and_toggle_bcd(char *restrict dest, const char *source, const char *source_end) in bc_copy_and_toggle_bcd() argument
31 while (source + sizeof(__m128i) <= source_end) { in bc_copy_and_toggle_bcd()
32 __m128i bytes = _mm_loadu_si128((const __m128i *) source); in bc_copy_and_toggle_bcd()
36 source += sizeof(__m128i); in bc_copy_and_toggle_bcd()
45 while (source + sizeof(size_t) <= source_end) { in bc_copy_and_toggle_bcd()
47 memcpy(&bytes, source, sizeof(bytes)); in bc_copy_and_toggle_bcd()
52 source += sizeof(size_t); in bc_copy_and_toggle_bcd()
56 while (source < source_end) { in bc_copy_and_toggle_bcd()
57 *dest = *source ^ '0'; in bc_copy_and_toggle_bcd()
59 source++; in bc_copy_and_toggle_bcd()
H A Dconvert.h20 char *bc_copy_and_toggle_bcd(char *restrict dest, const char *source, const char *source_end);
/php-src/ext/curl/
H A Dinterface.c1175 if (!Z_ISUNDEF(source->handlers.write->stream)) { in _php_setup_easy_copy_handlers()
1176 Z_ADDREF(source->handlers.write->stream); in _php_setup_easy_copy_handlers()
1180 if (!Z_ISUNDEF(source->handlers.read->stream)) { in _php_setup_easy_copy_handlers()
1181 Z_ADDREF(source->handlers.read->stream); in _php_setup_easy_copy_handlers()
1187 Z_ADDREF(source->handlers.write_header->stream); in _php_setup_easy_copy_handlers()
1197 zend_fcc_dup(&source->handlers.read->fcc, &source->handlers.read->fcc); in _php_setup_easy_copy_handlers()
1200 zend_fcc_dup(&source->handlers.write->fcc, &source->handlers.write->fcc); in _php_setup_easy_copy_handlers()
1203 zend_fcc_dup(&source->handlers.write_header->fcc, &source->handlers.write_header->fcc); in _php_setup_easy_copy_handlers()
1223 ch->to_free = source->to_free; in _php_setup_easy_copy_handlers()
1225 ch->clone = source->clone; in _php_setup_easy_copy_handlers()
[all …]
H A Dcurl_private.h136 void _php_setup_easy_copy_handlers(php_curl *ch, php_curl *source);
/php-src/Zend/
H A Dzend_operators.c2960 zend_str_tolower_impl(dest, source, length); in zend_str_tolower_copy()
2968 zend_str_toupper_impl(dest, source, length); in zend_str_toupper_copy()
2976 return zend_str_tolower_copy((char *)emalloc(length+1), source, length); in zend_str_tolower_dup()
3001 const unsigned char *p = (const unsigned char*)source; in zend_str_tolower_dup_ex()
3009 if (p != (const unsigned char*)source) { in zend_str_tolower_dup_ex()
3010 memcpy(res, source, p - (const unsigned char*)source); in zend_str_tolower_dup_ex()
3012 r = (unsigned char*)p + (res - source); in zend_str_tolower_dup_ex()
3025 const unsigned char *p = (const unsigned char*)source; in zend_str_toupper_dup_ex()
3033 if (p != (const unsigned char*)source) { in zend_str_toupper_dup_ex()
3034 memcpy(res, source, p - (const unsigned char*)source); in zend_str_toupper_dup_ex()
[all …]
/php-src/ext/soap/
H A Dsoap.c1261 ZVAL_STRING(&param, service->sdl->source);
H A Dphp_sdl.c244 s = strstr(ctx->sdl->source, "://"); in sdl_set_uri_credentials()
247 l1 = s ? (size_t)(s - ctx->sdl->source) : strlen(ctx->sdl->source); in sdl_set_uri_credentials()
255 ctx->sdl->source[4] == ':' && in sdl_set_uri_credentials()
270 ctx->sdl->source[4] == 's' && in sdl_set_uri_credentials()
743 ctx.sdl->source = estrdup(struri); in load_wsdl()
2969 if (sdl->source) { in make_persistent_sdl()
2970 psdl->source = strdup(sdl->source); in make_persistent_sdl()
3149 if (tmp->source) { in delete_psdl_int()
3150 free(tmp->source); in delete_psdl_int()
3419 if (tmp->source) { in delete_sdl_impl()
[all …]
H A Dphp_sdl.h60 char *source; member
/php-src/ext/reflection/
H A Dphp_reflection.c7262 char *source = ZSTR_VAL(name) + backslash_prefixed; in ZEND_METHOD() local
7265 const char *ns_end = zend_memrchr(source, '\\', source_len); in ZEND_METHOD()
7269 zend_str_tolower_copy(ZSTR_VAL(lc_name), source, ns_len); in ZEND_METHOD()
7271 memcpy(ZSTR_VAL(lc_name) + ns_len, source + ns_len, source_len - ns_len); in ZEND_METHOD()
/php-src/ext/soap/tests/bugs/
H A Dbug36226-2.phpt81 public $source;
85 …function __construct($version, $activityId, $messageId, $source, $logOnEvent=NULL, $logOffEvent=NU…
89 $this->source = $source;
98 …ENV:Body><ns1:ivrEvents version="1.0" activityId="101" messageId="12345" source="IVR"><ns1:logOffE…
107 ["source"]=>
H A Dbug36226.phpt78 public $source;
82 …function __construct($version, $activityId, $messageId, $source, $logOnEvent=NULL, $logOffEvent=NU…
86 $this->source = $source;
94 …ENV:Body><ns1:ivrEvents version="1.0" activityId="101" messageId="12345" source="IVR"><ns1:logOffE…
103 ["source"]=>
/php-src/.github/
H A DCODEOWNERS2 # or interested parties over a particular area of the php-src source code.
/php-src/ext/dom/
H A Dphp_dom.h187 xmlDocPtr dom_document_parser(zval *id, dom_load_mode mode, const char *source, size_t source_len, …
H A Dphp_dom.c232 libxml_doc_props const* source = dom_get_doc_props_read_only(source_doc); in dom_copy_document_ref() local
235 dest->formatoutput = source->formatoutput; in dom_copy_document_ref()
236 dest->validateonparse = source->validateonparse; in dom_copy_document_ref()
237 dest->resolveexternals = source->resolveexternals; in dom_copy_document_ref()
238 dest->preservewhitespace = source->preservewhitespace; in dom_copy_document_ref()
239 dest->substituteentities = source->substituteentities; in dom_copy_document_ref()
240 dest->stricterror = source->stricterror; in dom_copy_document_ref()
241 dest->recover = source->recover; in dom_copy_document_ref()
242 if (source->classmap) { in dom_copy_document_ref()
245 zend_hash_copy(dest->classmap, source->classmap, NULL); in dom_copy_document_ref()
H A Ddocument.c1288 if (strncasecmp(source, "file://",7) == 0 && ':' == source[8]) { in _dom_get_valid_file_path()
1290 source += 7; in _dom_get_valid_file_path()
1296 source += 8; in _dom_get_valid_file_path()
1298 source += 7; in _dom_get_valid_file_path()
1303 source += 17; in _dom_get_valid_file_path()
1305 source += 16; in _dom_get_valid_file_path()
1310 file_dest = source; in _dom_get_valid_file_path()
1491 char *source; in dom_parse_document() local
1831 char *source = NULL; in _dom_document_schema_validate() local
1942 char *source = NULL; in _dom_document_relaxNG_validate() local
[all …]
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c154 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in _zend_accel_function_hash_copy()
155 p = source->arData; in _zend_accel_function_hash_copy()
156 end = p + source->nNumUsed; in _zend_accel_function_hash_copy()
192 _zend_accel_function_hash_copy(target, source, 0); in zend_accel_function_hash_copy()
197 _zend_accel_function_hash_copy(target, source, 1); in zend_accel_function_hash_copy_notify()
205 zend_hash_extend(target, target->nNumUsed + source->nNumUsed, 0); in _zend_accel_class_hash_copy()
206 p = source->arData; in _zend_accel_class_hash_copy()
207 end = p + source->nNumUsed; in _zend_accel_class_hash_copy()
251 static zend_always_inline void zend_accel_class_hash_copy(HashTable *target, HashTable *source) in zend_accel_class_hash_copy() argument
253 _zend_accel_class_hash_copy(target, source, 0); in zend_accel_class_hash_copy()
[all …]

Completed in 147 milliseconds

12345678910