source 48 Zend/zend_constants.c void zend_copy_constants(HashTable *target, HashTable *source) source 52 Zend/zend_constants.c zend_hash_copy(target, source, (copy_ctor_func_t) copy_zend_constant, &tmp_constant, sizeof(zend_constant)); source 745 Zend/zend_hash.c ZEND_API void zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) source 751 Zend/zend_hash.c IS_CONSISTENT(source); source 755 Zend/zend_hash.c p = source->pListHead; source 757 Zend/zend_hash.c if (setTargetPointer && source->pInternalPointer == p) { source 776 Zend/zend_hash.c ZEND_API void _zend_hash_merge(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite ZEND_FILE_LINE_DC) source 782 Zend/zend_hash.c IS_CONSISTENT(source); source 785 Zend/zend_hash.c p = source->pListHead; source 813 Zend/zend_hash.c ZEND_API void zend_hash_merge_ex(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam) source 818 Zend/zend_hash.c IS_CONSISTENT(source); source 821 Zend/zend_hash.c p = source->pListHead; source 217 Zend/zend_hash.h ZEND_API void zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); source 218 Zend/zend_hash.h ZEND_API void _zend_hash_merge(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite ZEND_FILE_LINE_DC); source 219 Zend/zend_hash.h ZEND_API void zend_hash_merge_ex(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam); source 224 Zend/zend_hash.h #define zend_hash_merge(target, source, pCopyConstructor, tmp, size, overwrite) \ source 225 Zend/zend_hash.h _zend_hash_merge(target, source, pCopyConstructor, tmp, size, overwrite ZEND_FILE_LINE_CC) source 2134 Zend/zend_operators.c ZEND_API char *zend_str_tolower_copy(char *dest, const char *source, unsigned int length) /* {{{ */ source 2136 Zend/zend_operators.c register unsigned char *str = (unsigned char*)source; source 2149 Zend/zend_operators.c ZEND_API char *zend_str_tolower_dup(const char *source, unsigned int length) /* {{{ */ source 2151 Zend/zend_operators.c return zend_str_tolower_copy((char *)emalloc(length+1), source, length); source 358 Zend/zend_operators.h ZEND_API char *zend_str_tolower_copy(char *dest, const char *source, unsigned int length); source 359 Zend/zend_operators.h ZEND_API char *zend_str_tolower_dup(const char *source, unsigned int length); source 267 Zend/zend_ts_hash.c ZEND_API void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) source 269 Zend/zend_ts_hash.c begin_read(source); source 271 Zend/zend_ts_hash.c zend_hash_copy(TS_HASH(target), TS_HASH(source), pCopyConstructor, tmp, size); source 273 Zend/zend_ts_hash.c end_read(source); source 276 Zend/zend_ts_hash.c ZEND_API void zend_ts_hash_copy_to_hash(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) source 278 Zend/zend_ts_hash.c begin_read(source); source 279 Zend/zend_ts_hash.c zend_hash_copy(target, TS_HASH(source), pCopyConstructor, tmp, size); source 280 Zend/zend_ts_hash.c end_read(source); source 283 Zend/zend_ts_hash.c ZEND_API void zend_ts_hash_merge(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite) source 285 Zend/zend_ts_hash.c begin_read(source); source 287 Zend/zend_ts_hash.c zend_hash_merge(TS_HASH(target), TS_HASH(source), pCopyConstructor, tmp, size, overwrite); source 289 Zend/zend_ts_hash.c end_read(source); source 292 Zend/zend_ts_hash.c ZEND_API void zend_ts_hash_merge_ex(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam) source 294 Zend/zend_ts_hash.c begin_read(source); source 296 Zend/zend_ts_hash.c zend_hash_merge_ex(TS_HASH(target), TS_HASH(source), pCopyConstructor, size, pMergeSource, pParam); source 298 Zend/zend_ts_hash.c end_read(source); source 99 Zend/zend_ts_hash.h ZEND_API void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); source 100 Zend/zend_ts_hash.h ZEND_API void zend_ts_hash_copy_to_hash(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); source 101 Zend/zend_ts_hash.h ZEND_API void zend_ts_hash_merge(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite); source 102 Zend/zend_ts_hash.h ZEND_API void zend_ts_hash_merge_ex(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam); source 79 ext/bz2/bz2.c ZEND_ARG_INFO(0, source) source 85 ext/bz2/bz2.c ZEND_ARG_INFO(0, source) source 488 ext/bz2/bz2.c char *source; /* Source data to compress */ source 501 ext/bz2/bz2.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &source, &source_len, &zblock_size, &zwork_factor) == FAILURE) { source 523 ext/bz2/bz2.c error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor); source 541 ext/bz2/bz2.c char *source, *dest; source 551 ext/bz2/bz2.c if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &source, &source_len, &small)) { source 562 ext/bz2/bz2.c bzs.next_in = source; source 351 ext/com_dotnet/com_com.c char *source = NULL, *desc = NULL, *msg = NULL; source 357 ext/com_dotnet/com_com.c source = php_com_olestring_to_string(e.bstrSource, &source_len, obj->code_page TSRMLS_CC); source 366 ext/com_dotnet/com_com.c source ? source : "Unknown", source 370 ext/com_dotnet/com_com.c source ? source : "Unknown", source 376 ext/com_dotnet/com_com.c if (source) { source 377 ext/com_dotnet/com_com.c efree(source); source 108 ext/dom/document.c ZEND_ARG_OBJ_INFO(0, source, DOMNode, 0) source 121 ext/dom/document.c ZEND_ARG_INFO(0, source) source 130 ext/dom/document.c ZEND_ARG_INFO(0, source) source 151 ext/dom/document.c ZEND_ARG_INFO(0, source) source 156 ext/dom/document.c ZEND_ARG_INFO(0, source) source 172 ext/dom/document.c ZEND_ARG_INFO(0, source) source 180 ext/dom/document.c ZEND_ARG_INFO(0, source) source 1437 ext/dom/document.c char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) /* {{{ */ source 1445 ext/dom/document.c escsource = xmlURIEscapeStr(source, ":"); source 1452 ext/dom/document.c if (strncasecmp(source, "file://",7) == 0 && ':' == source[8]) { source 1454 ext/dom/document.c source += 7; source 1457 ext/dom/document.c if (strncasecmp(source, "file:///",8) == 0) { source 1460 ext/dom/document.c source += 8; source 1462 ext/dom/document.c source += 7; source 1464 ext/dom/document.c } else if (strncasecmp(source, "file://localhost/",17) == 0) { source 1467 ext/dom/document.c source += 17; source 1469 ext/dom/document.c source += 16; source 1474 ext/dom/document.c file_dest = source; source 1478 ext/dom/document.c if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) { source 1491 ext/dom/document.c static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int source_len, int options TSRMLS_DC) /* {{{ */ source 1523 ext/dom/document.c if (CHECK_NULL_PATH(source, source_len)) { source 1526 ext/dom/document.c file_dest = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); source 1532 ext/dom/document.c ctxt = xmlCreateMemoryParserCtxt(source, source_len); source 1617 ext/dom/document.c char *source; source 1626 ext/dom/document.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &source, &source_len, &options) == FAILURE) { source 1635 ext/dom/document.c newdoc = dom_document_parser(id, mode, source, source_len, options TSRMLS_CC); source 1924 ext/dom/document.c char *source = NULL, *valid_file = NULL; source 1933 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os|l", &id, dom_document_class_entry, &source, &source_len, &flags) == FAILURE) { source 1946 ext/dom/document.c if (CHECK_NULL_PATH(source, source_len)) { source 1950 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); source 1958 ext/dom/document.c parser = xmlSchemaNewMemParserCtxt(source, source_len); source 2025 ext/dom/document.c char *source = NULL, *valid_file = NULL; source 2033 ext/dom/document.c if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_document_class_entry, &source, &source_len) == FAILURE) { source 2046 ext/dom/document.c if (CHECK_NULL_PATH(source, source_len)) { source 2050 ext/dom/document.c valid_file = _dom_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); source 2058 ext/dom/document.c parser = xmlRelaxNGNewMemParserCtxt(source, source_len); source 2123 ext/dom/document.c char *source; source 2130 ext/dom/document.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &source, &source_len, &options) == FAILURE) { source 2140 ext/dom/document.c if (CHECK_NULL_PATH(source, source_len)) { source 2144 ext/dom/document.c ctxt = htmlCreateFileParserCtxt(source, NULL); source 2146 ext/dom/document.c source_len = xmlStrlen(source); source 2147 ext/dom/document.c ctxt = htmlCreateMemoryParserCtxt(source, source_len); source 179 ext/dom/php_dom.c dom_doc_propsptr source, dest; source 183 ext/dom/php_dom.c source = dom_get_doc_props(source_doc); source 186 ext/dom/php_dom.c dest->formatoutput = source->formatoutput; source 187 ext/dom/php_dom.c dest->validateonparse = source->validateonparse; source 188 ext/dom/php_dom.c dest->resolveexternals = source->resolveexternals; source 189 ext/dom/php_dom.c dest->preservewhitespace = source->preservewhitespace; source 190 ext/dom/php_dom.c dest->substituteentities = source->substituteentities; source 191 ext/dom/php_dom.c dest->stricterror = source->stricterror; source 192 ext/dom/php_dom.c dest->recover = source->recover; source 193 ext/dom/php_dom.c if (source->classmap) { source 196 ext/dom/php_dom.c zend_hash_copy(dest->classmap, source->classmap, NULL, NULL, sizeof(zend_class_entry *)); source 387 ext/gd/libgd/gd.h int (*source) (void *context, char *buffer, int len); source 86 ext/gd/libgd/gd_io_ss.c res = ((lctx->src->source) (lctx->src->context, buf, size)); source 163 ext/gd/libgd/gdtest.c imgsrc.source = freadWrapper; source 281 ext/hash/hash_whirlpool.c const unsigned char *source = input; source 307 ext/hash/hash_whirlpool.c b = ((source[sourcePos] << sourceGap) & 0xff) | source 308 ext/hash/hash_whirlpool.c ((source[sourcePos + 1] & 0xff) >> (8 - sourceGap)); source 336 ext/hash/hash_whirlpool.c b = (source[sourcePos] << sourceGap) & 0xff; /* bits are left-justified on b. */ source 108 ext/intl/converter/converter.c ZEND_ARG_INFO(0, source) source 114 ext/intl/converter/converter.c zval *source, *codeUnits, *error; source 117 ext/intl/converter/converter.c &reason, &source, &codeUnits, &error) == FAILURE) { source 130 ext/intl/converter/converter.c ZEND_ARG_INFO(0, source) source 136 ext/intl/converter/converter.c zval *source, *codePoint, *error; source 139 ext/intl/converter/converter.c &reason, &source, &codePoint, &error) == FAILURE) { source 237 ext/intl/converter/converter.c ZVAL_STRINGL(zsource, args->source, args->sourceLimit - args->source, 1); source 137 ext/intl/msgformat/msgformat_class.c ZEND_ARG_INFO(0, source) source 24 ext/intl/msgformat/msgformat_helpers.h UChar *source, int source_len, UErrorCode *status); source 31 ext/intl/msgformat/msgformat_parse.c static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, int src_len, zval *return_value TSRMLS_DC) source 39 ext/intl/msgformat/msgformat_parse.c intl_convert_utf8_to_utf16(&usource, &usrc_len, source, src_len, &INTL_DATA_ERROR_CODE(mfo)); source 63 ext/intl/msgformat/msgformat_parse.c char *source; source 70 ext/intl/msgformat/msgformat_parse.c &object, MessageFormatter_ce_ptr, &source, &source_len ) == FAILURE ) source 81 ext/intl/msgformat/msgformat_parse.c msgfmt_do_parse(mfo, source, source_len, return_value TSRMLS_CC); source 98 ext/intl/msgformat/msgformat_parse.c char *source = NULL; source 105 ext/intl/msgformat/msgformat_parse.c &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE ) source 147 ext/intl/msgformat/msgformat_parse.c msgfmt_do_parse(mfo, source, src_len, return_value TSRMLS_CC); source 319 ext/intl/php_intl.c ZEND_ARG_INFO(0, source) source 325 ext/intl/php_intl.c ZEND_ARG_INFO(0, source) source 27 ext/intl/resourcebundle/resourcebundle.c void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *source TSRMLS_DC ) source 38 ext/intl/resourcebundle/resourcebundle.c restype = ures_getType( source->child ); source 42 ext/intl/resourcebundle/resourcebundle.c ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); source 43 ext/intl/resourcebundle/resourcebundle.c INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve string value"); source 44 ext/intl/resourcebundle/resourcebundle.c INTL_METHOD_RETVAL_UTF8(source, (UChar *)ufield, ilen, 0); source 48 ext/intl/resourcebundle/resourcebundle.c bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); source 49 ext/intl/resourcebundle/resourcebundle.c INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve binary value"); source 54 ext/intl/resourcebundle/resourcebundle.c lfield = ures_getInt( source->child, &INTL_DATA_ERROR_CODE(source) ); source 55 ext/intl/resourcebundle/resourcebundle.c INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve integer value"); source 60 ext/intl/resourcebundle/resourcebundle.c vfield = ures_getIntVector( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); source 61 ext/intl/resourcebundle/resourcebundle.c INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve vector value"); source 72 ext/intl/resourcebundle/resourcebundle.c newrb->me = source->child; source 73 ext/intl/resourcebundle/resourcebundle.c source->child = NULL; source 74 ext/intl/resourcebundle/resourcebundle.c intl_errors_reset(INTL_DATA_ERROR_P(source) TSRMLS_CC); source 78 ext/intl/resourcebundle/resourcebundle.c intl_errors_set(INTL_DATA_ERROR_P(source), U_ILLEGAL_ARGUMENT_ERROR, "Unknown resource type", 0 TSRMLS_CC); source 26 ext/intl/resourcebundle/resourcebundle.h void resourcebundle_extract_value( zval *target, ResourceBundle_object *source TSRMLS_DC); source 237 ext/mcrypt/mcrypt.c ZEND_ARG_INFO(0, source) source 1425 ext/mcrypt/mcrypt.c long source = URANDOM; source 1429 ext/mcrypt/mcrypt.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &size, &source) == FAILURE) { source 1440 ext/mcrypt/mcrypt.c if (source == RANDOM || source == URANDOM) { source 1451 ext/mcrypt/mcrypt.c int *fd = &MCG(fd[source]); source 1455 ext/mcrypt/mcrypt.c *fd = open(source == RANDOM ? "/dev/random" : "/dev/urandom", O_RDONLY); source 1218 ext/mssql/php_mssql.c char *source = NULL; source 1233 ext/mssql/php_mssql.c source = (char *)dbcolsource(mssql_ptr->link,i+1); source 1234 ext/mssql/php_mssql.c if (source) { source 1235 ext/mssql/php_mssql.c result->fields[i].column_source = estrdup(source); source 49 ext/opcache/zend_accelerator_util_funcs.c static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind); source 322 ext/opcache/zend_accelerator_util_funcs.c static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind) source 329 ext/opcache/zend_accelerator_util_funcs.c ht->nTableSize = source->nTableSize; source 330 ext/opcache/zend_accelerator_util_funcs.c ht->nTableMask = source->nTableMask; source 331 ext/opcache/zend_accelerator_util_funcs.c ht->nNumOfElements = source->nNumOfElements; source 332 ext/opcache/zend_accelerator_util_funcs.c ht->nNextFreeElement = source->nNextFreeElement; source 355 ext/opcache/zend_accelerator_util_funcs.c p = source->pListHead; source 449 ext/opcache/zend_accelerator_util_funcs.c static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) source 457 ext/opcache/zend_accelerator_util_funcs.c ht->nTableSize = source->nTableSize; source 458 ext/opcache/zend_accelerator_util_funcs.c ht->nTableMask = source->nTableMask; source 459 ext/opcache/zend_accelerator_util_funcs.c ht->nNumOfElements = source->nNumOfElements; source 460 ext/opcache/zend_accelerator_util_funcs.c ht->nNextFreeElement = source->nNextFreeElement; source 482 ext/opcache/zend_accelerator_util_funcs.c p = source->pListHead; source 561 ext/opcache/zend_accelerator_util_funcs.c static void zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) source 568 ext/opcache/zend_accelerator_util_funcs.c ht->nTableSize = source->nTableSize; source 569 ext/opcache/zend_accelerator_util_funcs.c ht->nTableMask = source->nTableMask; source 570 ext/opcache/zend_accelerator_util_funcs.c ht->nNumOfElements = source->nNumOfElements; source 571 ext/opcache/zend_accelerator_util_funcs.c ht->nNextFreeElement = source->nNextFreeElement; source 593 ext/opcache/zend_accelerator_util_funcs.c p = source->pListHead; source 891 ext/opcache/zend_accelerator_util_funcs.c static int zend_hash_unique_copy(HashTable *target, HashTable *source, unique_copy_ctor_func_t pCopyConstructor, uint size, int ignore_dups, void **fail_data, void **conflict_data) source 896 ext/opcache/zend_accelerator_util_funcs.c p = source->pListHead; source 937 ext/opcache/zend_accelerator_util_funcs.c static void zend_accel_function_hash_copy(HashTable *target, HashTable *source, unique_copy_ctor_func_t pCopyConstructor) source 942 ext/opcache/zend_accelerator_util_funcs.c if (zend_hash_unique_copy(target, source, pCopyConstructor, sizeof(zend_function), 0, (void**)&function1, (void**)&function2) != SUCCESS) { source 958 ext/opcache/zend_accelerator_util_funcs.c static void zend_accel_class_hash_copy(HashTable *target, HashTable *source, unique_copy_ctor_func_t pCopyConstructor TSRMLS_DC) source 962 ext/opcache/zend_accelerator_util_funcs.c if (zend_hash_unique_copy(target, source, pCopyConstructor, sizeof(zend_class_entry*), ZCG(accel_directives).ignore_dups, (void**)&pce1, (void**)&pce2) != SUCCESS) { source 326 ext/opcache/zend_shared_alloc.c int zend_shared_memdup_size(void *source, size_t size) source 330 ext/opcache/zend_shared_alloc.c if (zend_hash_index_find(&xlat_table, (ulong)source, (void **)&old_p) == SUCCESS) { source 334 ext/opcache/zend_shared_alloc.c zend_shared_alloc_register_xlat_entry(source, source); source 338 ext/opcache/zend_shared_alloc.c void *_zend_shared_memdup(void *source, size_t size, zend_bool free_source TSRMLS_DC) source 342 ext/opcache/zend_shared_alloc.c if (zend_hash_index_find(&xlat_table, (ulong)source, (void **)&old_p) == SUCCESS) { source 348 ext/opcache/zend_shared_alloc.c memcpy(retval, source, size); source 349 ext/opcache/zend_shared_alloc.c zend_shared_alloc_register_xlat_entry(source, retval); source 351 ext/opcache/zend_shared_alloc.c interned_efree((char*)source); source 585 ext/phar/phar_internal.h int phar_copy_entry_fp(phar_entry_info *source, phar_entry_info *dest, char **error TSRMLS_DC); source 2221 ext/phar/phar_object.c static zval *phar_convert_to_other(phar_archive_data *source, int convert, char *ext, php_uint32 flags TSRMLS_DC) /* {{{ */ source 2234 ext/phar/phar_object.c phar->is_data = source->is_data; source 2260 ext/phar/phar_object.c phar->fname = source->fname; source 2261 ext/phar/phar_object.c phar->fname_len = source->fname_len; source 2262 ext/phar/phar_object.c phar->is_temporary_alias = source->is_temporary_alias; source 2263 ext/phar/phar_object.c phar->alias = source->alias; source 2265 ext/phar/phar_object.c if (source->metadata) { source 2268 ext/phar/phar_object.c t = source->metadata; source 2278 ext/phar/phar_object.c for (zend_hash_internal_pointer_reset(&source->manifest); SUCCESS == zend_hash_has_more_elements(&source->manifest); zend_hash_move_forward(&source->manifest)) { source 2280 ext/phar/phar_object.c if (FAILURE == zend_hash_get_current_data(&source->manifest, (void **) &entry)) { source 2285 ext/phar/phar_object.c "Cannot convert phar archive \"%s\"", source->fname); source 856 ext/phar/stream.c phar_entry_info new, *source; source 872 ext/phar/stream.c source = entry; source 878 ext/phar/stream.c if (FAILURE == phar_copy_entry_fp(source, entry, &error TSRMLS_CC)) { source 652 ext/phar/util.c int phar_copy_entry_fp(phar_entry_info *source, phar_entry_info *dest, char **error TSRMLS_DC) /* {{{ */ source 656 ext/phar/util.c if (FAILURE == phar_open_entry_fp(source, error, 1 TSRMLS_CC)) { source 674 ext/phar/util.c phar_seek_efp(source, 0, SEEK_SET, 0, 1 TSRMLS_CC); source 675 ext/phar/util.c link = phar_get_link_source(source TSRMLS_CC); source 678 ext/phar/util.c link = source; source 685 ext/phar/util.c spprintf(error, 4096, "phar error: unable to copy contents of file \"%s\" to \"%s\" in phar archive \"%s\"", source->filename, dest->filename, source->phar->fname); source 237 ext/soap/php_sdl.c s = strstr(ctx->sdl->source, "://"); source 240 ext/soap/php_sdl.c l1 = s ? (s - ctx->sdl->source) : strlen(ctx->sdl->source); source 248 ext/soap/php_sdl.c ctx->sdl->source[4] == ':' && source 249 ext/soap/php_sdl.c ctx->sdl->source[l1-3] == ':' && source 250 ext/soap/php_sdl.c ctx->sdl->source[l1-2] == '8' && source 251 ext/soap/php_sdl.c ctx->sdl->source[l1-1] == '0') { source 263 ext/soap/php_sdl.c ctx->sdl->source[4] == 's' && source 264 ext/soap/php_sdl.c ctx->sdl->source[l1-4] == ':' && source 265 ext/soap/php_sdl.c ctx->sdl->source[l1-3] == '4' && source 266 ext/soap/php_sdl.c ctx->sdl->source[l1-2] == '4' && source 267 ext/soap/php_sdl.c ctx->sdl->source[l1-1] == '3') { source 279 ext/soap/php_sdl.c if (l1 != l2 || memcmp(ctx->sdl->source, uri, l1) != 0) { source 739 ext/soap/php_sdl.c ctx.sdl->source = estrdup(struri); source 1592 ext/soap/php_sdl.c sdl->source = sdl_deserialize_string(&in); source 2144 ext/soap/php_sdl.c sdl_serialize_string(sdl->source, out); source 2968 ext/soap/php_sdl.c if (sdl->source) { source 2969 ext/soap/php_sdl.c psdl->source = strdup(sdl->source); source 3158 ext/soap/php_sdl.c if (tmp->source) { source 3159 ext/soap/php_sdl.c free(tmp->source); source 3429 ext/soap/php_sdl.c if (tmp->source) { source 3430 ext/soap/php_sdl.c efree(tmp->source); source 63 ext/soap/php_sdl.h char *source; source 1541 ext/soap/soap.c ZVAL_STRING(param, service->sdl->source, 1); source 56 ext/sockets/multicast.c static int _php_mcast_source_op(php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index, enum source_op sop TSRMLS_DC); source 201 ext/sockets/multicast.c source = {0}; source 214 ext/sockets/multicast.c if (php_get_address_from_array(opt_ht, "source", php_sock, &source, source 224 ext/sockets/multicast.c glen, (struct sockaddr*)&source, slen, if_index TSRMLS_CC); source 403 ext/sockets/multicast.c struct sockaddr *source, source 407 ext/sockets/multicast.c return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOURCE TSRMLS_CC); source 415 ext/sockets/multicast.c struct sockaddr *source, source 419 ext/sockets/multicast.c return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, LEAVE_SOURCE TSRMLS_CC); source 427 ext/sockets/multicast.c struct sockaddr *source, source 431 ext/sockets/multicast.c return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, BLOCK_SOURCE TSRMLS_CC); source 439 ext/sockets/multicast.c struct sockaddr *source, source 443 ext/sockets/multicast.c return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, UNBLOCK_SOURCE TSRMLS_CC); source 515 ext/sockets/multicast.c struct sockaddr *source, source 525 ext/sockets/multicast.c memcpy(&gsreq.gsr_source, source, source_len); source 537 ext/sockets/multicast.c mreqs.imr_sourceaddr = ((struct sockaddr_in*)source)->sin_addr; source 90 ext/sockets/multicast.h struct sockaddr *source, source 99 ext/sockets/multicast.h struct sockaddr *source, source 108 ext/sockets/multicast.h struct sockaddr *source, source 117 ext/sockets/multicast.h struct sockaddr *source, source 340 ext/spl/spl_directory.c spl_filesystem_object *source; source 344 ext/spl/spl_directory.c source = (spl_filesystem_object*)old_object; source 349 ext/spl/spl_directory.c intern->flags = source->flags; source 351 ext/spl/spl_directory.c switch (source->type) { source 353 ext/spl/spl_directory.c intern->_path_len = source->_path_len; source 354 ext/spl/spl_directory.c intern->_path = estrndup(source->_path, source->_path_len); source 355 ext/spl/spl_directory.c intern->file_name_len = source->file_name_len; source 356 ext/spl/spl_directory.c intern->file_name = estrndup(source->file_name, intern->file_name_len); source 359 ext/spl/spl_directory.c spl_filesystem_dir_open(intern, source->_path TSRMLS_CC); source 361 ext/spl/spl_directory.c skip_dots = SPL_HAS_FLAG(source->flags, SPL_FILE_DIR_SKIPDOTS); source 362 ext/spl/spl_directory.c for(index = 0; index < source->u.dir.index; ++index) { source 374 ext/spl/spl_directory.c intern->file_class = source->file_class; source 375 ext/spl/spl_directory.c intern->info_class = source->info_class; source 376 ext/spl/spl_directory.c intern->oth = source->oth; source 377 ext/spl/spl_directory.c intern->oth_handler = source->oth_handler; source 382 ext/spl/spl_directory.c intern->oth_handler->clone(source, intern TSRMLS_CC); source 423 ext/spl/spl_directory.c static spl_filesystem_object * spl_filesystem_object_create_info(spl_filesystem_object *source, char *file_path, int file_path_len, int use_copy, zend_class_entry *ce, zval *return_value TSRMLS_DC) /* {{{ */ source 447 ext/spl/spl_directory.c ce = ce ? ce : source->info_class; source 467 ext/spl/spl_directory.c static spl_filesystem_object * spl_filesystem_object_create_type(int ht, spl_filesystem_object *source, int type, zend_class_entry *ce, zval *return_value TSRMLS_DC) /* {{{ */ source 476 ext/spl/spl_directory.c switch (source->type) { source 481 ext/spl/spl_directory.c if (!source->u.dir.entry.d_name[0]) { source 490 ext/spl/spl_directory.c ce = ce ? ce : source->info_class; source 497 ext/spl/spl_directory.c spl_filesystem_object_get_file_name(source TSRMLS_CC); source 500 ext/spl/spl_directory.c ZVAL_STRINGL(arg1, source->file_name, source->file_name_len, 1); source 504 ext/spl/spl_directory.c intern->file_name = estrndup(source->file_name, source->file_name_len); source 505 ext/spl/spl_directory.c intern->file_name_len = source->file_name_len; source 506 ext/spl/spl_directory.c intern->_path = spl_filesystem_object_get_path(source, &intern->_path_len TSRMLS_CC); source 511 ext/spl/spl_directory.c ce = ce ? ce : source->file_class; source 518 ext/spl/spl_directory.c spl_filesystem_object_get_file_name(source TSRMLS_CC); source 523 ext/spl/spl_directory.c ZVAL_STRINGL(arg1, source->file_name, source->file_name_len, 1); source 529 ext/spl/spl_directory.c intern->file_name = source->file_name; source 530 ext/spl/spl_directory.c intern->file_name_len = source->file_name_len; source 531 ext/spl/spl_directory.c intern->_path = spl_filesystem_object_get_path(source, &intern->_path_len TSRMLS_CC); source 1984 ext/standard/basic_functions.c ZEND_ARG_INFO(0, source) source 1990 ext/standard/basic_functions.c ZEND_ARG_INFO(0, source) source 1613 ext/standard/file.c char *source, *target; source 1618 ext/standard/file.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp|r", &source, &source_len, &target, &target_len, &zcontext) == FAILURE) { source 1622 ext/standard/file.c if (php_check_open_basedir(source TSRMLS_CC)) { source 1628 ext/standard/file.c if (php_copy_file_ctx(source, target, 0, context TSRMLS_CC) == SUCCESS) { source 3430 ext/standard/string.c char *source, *target, *end; source 3434 ext/standard/string.c for (source=str, end=str+nlen, target=str; source < end; source++) { source 3435 ext/standard/string.c if (*source == '\\' && source+1 < end) { source 3436 ext/standard/string.c source++; source 3437 ext/standard/string.c switch (*source) { source 3447 ext/standard/string.c if (source+1 < end && isxdigit((int)(*(source+1)))) { source 3448 ext/standard/string.c numtmp[0] = *++source; source 3449 ext/standard/string.c if (source+1 < end && isxdigit((int)(*(source+1)))) { source 3450 ext/standard/string.c numtmp[1] = *++source; source 3463 ext/standard/string.c while (source < end && *source >= '0' && *source <= '7' && i<3) { source 3464 ext/standard/string.c numtmp[i++] = *source++; source 3470 ext/standard/string.c source--; source 3472 ext/standard/string.c *target++=*source; source 3477 ext/standard/string.c *target++=*source; source 3495 ext/standard/string.c char *source, *target; source 3506 ext/standard/string.c for (source = (char*)str, end = source + length, target = new_str; source < end; source++) { source 3507 ext/standard/string.c c = *source; source 3548 ext/standard/string.c char *source, *target; source 3560 ext/standard/string.c source = str; source 3561 ext/standard/string.c end = source + length; source 3564 ext/standard/string.c while (source < end) { source 3565 ext/standard/string.c switch (*source) { source 3576 ext/standard/string.c *target++ = *source; source 3580 ext/standard/string.c source++; source 3605 ext/standard/string.c char *source, *target, *tmp, *source_end=str+len, *tmp_end = NULL; source 3614 ext/standard/string.c for (source = str; source < source_end; source++) { source 3615 ext/standard/string.c if (tolower(*source) == tolower(from)) { source 3648 ext/standard/string.c for (source = str; source < source_end; source++) { source 3649 ext/standard/string.c if (tolower(*source) == tolower(from)) { source 3659 ext/standard/string.c *target = *source; source 42 ext/tokenizer/tokenizer.c ZEND_ARG_INFO(0, source) source 182 ext/tokenizer/tokenizer.c char *source = NULL; source 188 ext/tokenizer/tokenizer.c if (zend_parse_parameters(argc TSRMLS_CC, "s", &source, &source_len) == FAILURE) { source 192 ext/tokenizer/tokenizer.c ZVAL_STRINGL(&source_z, source, source_len, 1); source 230 ext/xmlreader/php_xmlreader.c char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { source 237 ext/xmlreader/php_xmlreader.c escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *)":"); source 243 ext/xmlreader/php_xmlreader.c if (strncasecmp(source, "file:///",8) == 0) { source 246 ext/xmlreader/php_xmlreader.c source += 8; source 248 ext/xmlreader/php_xmlreader.c source += 7; source 250 ext/xmlreader/php_xmlreader.c } else if (strncasecmp(source, "file://localhost/",17) == 0) { source 253 ext/xmlreader/php_xmlreader.c source += 17; source 255 ext/xmlreader/php_xmlreader.c source += 16; source 260 ext/xmlreader/php_xmlreader.c file_dest = source; source 263 ext/xmlreader/php_xmlreader.c if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) { source 278 ext/xmlreader/php_xmlreader.c static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, int source_len, int type, source 289 ext/xmlreader/php_xmlreader.c valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); source 296 ext/xmlreader/php_xmlreader.c parser = xmlRelaxNGNewMemParserCtxt(source, source_len); source 496 ext/xmlreader/php_xmlreader.c char *source; source 498 ext/xmlreader/php_xmlreader.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p!", &source, &source_len) == FAILURE) { source 502 ext/xmlreader/php_xmlreader.c if (source != NULL && !source_len) { source 511 ext/xmlreader/php_xmlreader.c if (source) { source 512 ext/xmlreader/php_xmlreader.c schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL TSRMLS_CC); source 862 ext/xmlreader/php_xmlreader.c char *source, *valid_file = NULL; source 867 ext/xmlreader/php_xmlreader.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|s!l", &source, &source_len, &encoding, &encoding_len, &options) == FAILURE) { source 886 ext/xmlreader/php_xmlreader.c valid_file = _xmlreader_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); source 951 ext/xmlreader/php_xmlreader.c char *source; source 953 ext/xmlreader/php_xmlreader.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p!", &source, &source_len) == FAILURE) { source 957 ext/xmlreader/php_xmlreader.c if (source != NULL && !source_len) { source 966 ext/xmlreader/php_xmlreader.c retval = xmlTextReaderSchemaValidate(intern->ptr, source); source 1045 ext/xmlreader/php_xmlreader.c char *source, *uri = NULL, *encoding = NULL; source 1051 ext/xmlreader/php_xmlreader.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!l", &source, &source_len, &encoding, &encoding_len, &options) == FAILURE) { source 1069 ext/xmlreader/php_xmlreader.c inputbfr = xmlParserInputBufferCreateMem(source, source_len, XML_CHAR_ENCODING_NONE); source 1257 ext/xmlreader/php_xmlreader.c ZEND_ARG_INFO(0, source) source 1261 ext/xmlreader/php_xmlreader.c ZEND_ARG_INFO(0, source) source 52 ext/xmlrpc/libxmlrpc/base64.c void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length) source 80 ext/xmlrpc/libxmlrpc/base64.c c = *(source++); source 117 ext/xmlrpc/libxmlrpc/base64.c void base64_decode_xmlrpc(struct buffer_st *bfr, const char *source, int length) source 151 ext/xmlrpc/libxmlrpc/base64.c c = *(source++); source 24 ext/xmlrpc/libxmlrpc/base64.h void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length); source 25 ext/xmlrpc/libxmlrpc/base64.h void base64_decode_xmlrpc(struct buffer_st *b, const char *source, int length); source 193 ext/xmlrpc/libxmlrpc/simplestring.c void simplestring_addn(simplestring* target, const char* source, int add_len) { source 194 ext/xmlrpc/libxmlrpc/simplestring.c if(target && source) { source 212 ext/xmlrpc/libxmlrpc/simplestring.c memcpy(target->str + target->len, source, add_len); source 238 ext/xmlrpc/libxmlrpc/simplestring.c void simplestring_add(simplestring* target, const char* source) { source 239 ext/xmlrpc/libxmlrpc/simplestring.c if(target && source) { source 240 ext/xmlrpc/libxmlrpc/simplestring.c simplestring_addn(target, source, strlen(source)); source 1129 ext/xmlrpc/libxmlrpc/xmlrpc.c static int isDuplicateEntry(XMLRPC_VALUE target, XMLRPC_VALUE source) { source 1155 ext/xmlrpc/libxmlrpc/xmlrpc.c int XMLRPC_AddValueToVector(XMLRPC_VALUE target, XMLRPC_VALUE source) { source 1156 ext/xmlrpc/libxmlrpc/xmlrpc.c if(target && source) { source 1161 ext/xmlrpc/libxmlrpc/xmlrpc.c switch(source->type) { source 1171 ext/xmlrpc/libxmlrpc/xmlrpc.c if( !(source->id.len && target->v->type == xmlrpc_vector_array) ) { source 1172 ext/xmlrpc/libxmlrpc/xmlrpc.c if (isDuplicateEntry (target, source) source 1173 ext/xmlrpc/libxmlrpc/xmlrpc.c || Q_PushTail (target->v->q, XMLRPC_CopyValue (source))) { source 317 ext/xmlrpc/libxmlrpc/xmlrpc.h int XMLRPC_AddValueToVector(XMLRPC_VALUE target, XMLRPC_VALUE source); source 602 ext/xmlwriter/php_xmlwriter.c static char *_xmlwriter_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { source 609 ext/xmlwriter/php_xmlwriter.c escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *) ":"); source 615 ext/xmlwriter/php_xmlwriter.c if (strncasecmp(source, "file:///", 8) == 0) { source 616 ext/xmlwriter/php_xmlwriter.c if (source[sizeof("file:///") - 1] == '\0') { source 622 ext/xmlwriter/php_xmlwriter.c source += 8; source 624 ext/xmlwriter/php_xmlwriter.c source += 7; source 626 ext/xmlwriter/php_xmlwriter.c } else if (strncasecmp(source, "file://localhost/",17) == 0) { source 627 ext/xmlwriter/php_xmlwriter.c if (source[sizeof("file://localhost/") - 1] == '\0') { source 634 ext/xmlwriter/php_xmlwriter.c source += 17; source 636 ext/xmlwriter/php_xmlwriter.c source += 16; source 645 ext/xmlwriter/php_xmlwriter.c if (!VCWD_REALPATH(source, resolved_path) && !expand_filepath(source, resolved_path TSRMLS_CC)) { source 650 ext/xmlwriter/php_xmlwriter.c memcpy(file_dirname, source, strlen(source)); source 651 ext/xmlwriter/php_xmlwriter.c dir_len = php_dirname(file_dirname, strlen(source)); source 663 ext/xmlwriter/php_xmlwriter.c file_dest = source; source 1748 ext/xmlwriter/php_xmlwriter.c char *source; source 1762 ext/xmlwriter/php_xmlwriter.c if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &source, &source_len) == FAILURE) { source 1778 ext/xmlwriter/php_xmlwriter.c valid_file = _xmlwriter_get_valid_file_path(source, resolved_path, MAXPATHLEN TSRMLS_CC); source 49 ext/zip/lib/zip_add.c zip_add(struct zip *za, const char *name, struct zip_source *source) source 51 ext/zip/lib/zip_add.c return zip_file_add(za, name, source, 0); source 206 ext/zip/lib/zip_close.c if (add_data(za, zs ? zs : entry->source, de, out) < 0) { source 577 ext/zip/lib/zip_close.c if (za->entry[i].deleted || za->entry[i].source || (za->entry[i].changes && za->entry[i].changes->changed != 0)) source 51 ext/zip/lib/zip_dir_add.c struct zip_source *source; source 76 ext/zip/lib/zip_dir_add.c if ((source=zip_source_buffer(za, NULL, 0, 0)) == NULL) { source 81 ext/zip/lib/zip_dir_add.c idx = _zip_file_replace(za, ZIP_UINT64_MAX, s ? s : name, source, flags); source 86 ext/zip/lib/zip_dir_add.c zip_source_free(source); source 53 ext/zip/lib/zip_entry.c e->source = NULL; source 47 ext/zip/lib/zip_file_add.c zip_file_add(struct zip *za, const char *name, struct zip_source *source, zip_flags_t flags) source 49 ext/zip/lib/zip_file_add.c if (name == NULL || source == NULL) { source 54 ext/zip/lib/zip_file_add.c return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags); source 41 ext/zip/lib/zip_file_replace.c zip_file_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source, zip_flags_t flags) source 43 ext/zip/lib/zip_file_replace.c if (idx >= za->nentry || source == NULL) { source 48 ext/zip/lib/zip_file_replace.c if (_zip_file_replace(za, idx, NULL, source, flags) == -1) source 60 ext/zip/lib/zip_file_replace.c _zip_file_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source, zip_flags_t flags) source 108 ext/zip/lib/zip_file_replace.c za->entry[idx].source = source; source 42 ext/zip/lib/zip_replace.c zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) source 44 ext/zip/lib/zip_replace.c return zip_file_replace(za, idx, source, 0); source 56 ext/zip/lib/zip_stat_index.c if (zip_source_stat(za->entry[index].source, st) < 0) { source 41 ext/zip/lib/zip_unchange_data.c if (ze->source) { source 42 ext/zip/lib/zip_unchange_data.c zip_source_free(ze->source); source 43 ext/zip/lib/zip_unchange_data.c ze->source = NULL; source 375 ext/zip/lib/zipint.h struct zip_source *source; source 410 ext/zip/lib/zipint.h #define ZIP_ENTRY_DATA_CHANGED(x) ((x)->source != NULL) source 62 sapi/phpdbg/phpdbg_prompt.c PHPDBG_COMMAND_D(source, "execute a phpdbginit", '<', NULL, "s"), source 850 sapi/phpdbg/phpdbg_prompt.c PHPDBG_COMMAND(source) /* {{{ */ source 51 sapi/phpdbg/phpdbg_prompt.h PHPDBG_COMMAND(source);