| /PHP_TRUNK/ext/phar/tests/files/ |
| H A D | pear2coverage.phar.php | 97 * Takes a source file and outputs HTML source highlighting showing the 105 protected $source; 224 * @param PEAR2\Pyrus\Developer\CodeCoverage\SourceFile $source 227 function render(SourceFile $source, $istest = false) 230 if (!$output->openUri($this->manglePath($source->name(), $istest))) { 231 throw new Exception('Cannot render ' . $source->name() . ', opening XML failed'); 239 $output->writeElement('title', 'Code Coverage for ' . $source->shortName() . ' in ' . $istest); 241 $output->writeElement('title', 'Code Coverage for ' . $source->shortName()); 255 $output->writeElement('h2', 'Code Coverage for ' . $source 102 protected $source; variable 358 $source = new SourceFile($name, $agg, $this->testPath, $this->sourcePath); variable 445 $source = new SourceFile\\PerTest($name, $agg, $testpath, $basePath, $test); variable 552 $source = '$xdebug = ' . file_get_contents($path) . ";\\n"; variable 643 protected $source; variable 653 $this->source = file($path); variable 711 function source() function 834 $source = '$xdebug = ' . file_get_contents($path) . ";\\n"; variable [all...] |
| /PHP_TRUNK/ext/xmlrpc/libxmlrpc/ |
| H A D | base64.c | 52 void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length) argument 80 c = *(source++); 117 void base64_decode_xmlrpc(struct buffer_st *bfr, const char *source, int length) argument 151 c = *(source++);
|
| H A D | base64.h | 24 void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length); 25 void base64_decode_xmlrpc(struct buffer_st *b, const char *source, int length);
|
| H A D | simplestring.c | 55 * patch to make source more windows friendly, contributed by Jeff Lawson 181 * copies n characters from source to target string 184 * source - source string 193 void simplestring_addn(simplestring* target, const char* source, int add_len) { argument 194 if(target && source) { 212 memcpy(target->str + target->len, source, add_len); 227 * appends a string of unknown length from source to target 230 * source - the source strin 238 simplestring_add(simplestring* target, const char* source) argument [all...] |
| /PHP_TRUNK/ext/zip/lib/ |
| H A D | zip_add.c | 8 Redistribution and use in source and binary forms, with or without 11 1. Redistributions of source code must retain the above copyright 50 zip_add(struct zip *za, const char *name, struct zip_source *source) 52 if (name == NULL || source == NULL) { 57 return _zip_replace(za, ZIP_UINT64_MAX, name, source);
|
| H A D | zip_add_dir.c | 8 Redistribution and use in source and binary forms, with or without 11 1. Redistributions of source code must retain the above copyright 53 struct zip_source *source; 78 if ((source=zip_source_buffer(za, NULL, 0, 0)) == NULL) { 83 ret = _zip_replace(za, -1, s ? s : name, source); 87 zip_source_free(source); 51 struct zip_source *source; local
|
| H A D | zip_entry_new.c | 8 Redistribution and use in source and binary forms, with or without 11 1. Redistributions of source code must retain the above copyright 77 ze->source = NULL;
|
| H A D | zip_replace.c | 8 Redistribution and use in source and binary forms, with or without 11 1. Redistributions of source code must retain the above copyright 43 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) 45 if (idx >= za->nentry || source == NULL) { 50 if (_zip_replace(za, idx, NULL, source) == -1) 64 struct zip_source *source) 85 za->entry[idx].source = source; 41 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) argument 60 _zip_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source) argument
|
| H A D | zip_stat_index.c | 8 Redistribution and use in source and binary forms, with or without 11 1. Redistributions of source code must retain the above copyright 59 if (zip_source_stat(za->entry[index].source, st) < 0) {
|
| H A D | zip_unchange_data.c | 10 Redistribution and use in source and binary forms, with or without 13 1. Redistributions of source code must retain the above copyright 46 if (ze->source) { 47 zip_source_free(ze->source); 48 ze->source = NULL;
|
| /PHP_TRUNK/ext/intl/msgformat/ |
| H A D | msgformat_helpers.h | 5 | This source file is subject to version 3.01 of the PHP license, | 24 UChar *source, int source_len, UErrorCode *status);
|
| H A D | msgformat_parse.c | 5 | This source file is subject to version 3.01 of the PHP license, | 31 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, int src_len, zval *return_value TSRMLS_DC) argument 39 intl_convert_utf8_to_utf16(&usource, &usrc_len, source, src_len, &INTL_DATA_ERROR_CODE(mfo)); 56 /* {{{ proto array MessageFormatter::parse( string $source ) 58 /* {{{ proto array msgfmt_parse( MessageFormatter $nf, string $source ) 63 char *source; local 70 &object, MessageFormatter_ce_ptr, &source, &source_len ) == FAILURE ) 81 msgfmt_do_parse(mfo, source, source_len, return_value TSRMLS_CC); 85 /* {{{ proto array MessageFormatter::formatMessage( string $locale, string $pattern, string $source ) 87 /* {{{ proto array numfmt_parse_message( string $locale, string $pattern, string $source ) 98 char *source = NULL; local [all...] |
| /PHP_TRUNK/ext/intl/resourcebundle/ |
| H A D | resourcebundle.c | 5 | This source file is subject to version 3.01 of the PHP license, | 27 void resourcebundle_extract_value( zval *return_value, ResourceBundle_object *source TSRMLS_DC ) 38 restype = ures_getType( source->child ); 42 ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); 43 INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve string value"); 44 INTL_METHOD_RETVAL_UTF8(source, ufield, ilen, 0); 48 bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); 49 INTL_METHOD_CHECK_STATUS(source, "Faile [all...] |
| H A D | resourcebundle.h | 5 | This source file is subject to version 3.01 of the PHP license, | 26 void resourcebundle_extract_value( zval *target, ResourceBundle_object *source TSRMLS_DC);
|
| /PHP_TRUNK/Zend/ |
| H A D | zend_ts_hash.c | 7 | This source file is subject to version 2.00 of the Zend license, | 267 ZEND_API void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) argument 269 begin_read(source); 271 zend_hash_copy(TS_HASH(target), TS_HASH(source), pCopyConstructor, tmp, size); 273 end_read(source); 276 ZEND_API void zend_ts_hash_copy_to_hash(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) argument 278 begin_read(source); 279 zend_hash_copy(target, TS_HASH(source), pCopyConstructor, tmp, size); 280 end_read(source); 283 ZEND_API void zend_ts_hash_merge(TsHashTable *target, TsHashTable *source, copy_ctor_func_ argument 292 zend_ts_hash_merge_ex(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam) argument [all...] |
| H A D | zend_ts_hash.h | 7 | This source file is subject to version 2.00 of the Zend license, | 99 ZEND_API void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); 100 ZEND_API void zend_ts_hash_copy_to_hash(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); 101 ZEND_API void zend_ts_hash_merge(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite); 102 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);
|
| /PHP_TRUNK/ext/bz2/ |
| H A D | bz2.c | 7 | This source file is subject to version 3.01 of the PHP license, | 78 ZEND_ARG_INFO(0, source) 84 ZEND_ARG_INFO(0, source) 477 /* {{{ proto string bzcompress(string source [, int blocksize100k [, int workfactor]]) 481 char *source; /* Source data to compress */ local 489 int source_len; /* Length of the source data */ 494 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &source, &source_len, &zblock_size, &zwork_factor) == FAILURE) { 516 error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor); 530 /* {{{ proto string bzdecompress(string source [, int small]) 534 char *source, *des local [all...] |
| /PHP_TRUNK/ext/dom/ |
| H A D | document.c | 7 | This source file is subject to version 3.01 of the PHP license, | 108 ZEND_ARG_OBJ_INFO(0, source, DOMNode, 0) 121 ZEND_ARG_INFO(0, source) 130 ZEND_ARG_INFO(0, source) 151 ZEND_ARG_INFO(0, source) 156 ZEND_ARG_INFO(0, source) 172 ZEND_ARG_INFO(0, source) 180 ZEND_ARG_INFO(0, source) 1410 /* {{{ proto DOMNode dom_document_adopt_node(DOMNode source); 1498 char *_dom_get_valid_file_path(char *source, cha argument 1546 dom_document_parser(zval *id, int mode, char *source, int source_len, int options TSRMLS_DC) argument 1668 char *source; local 1975 char *source = NULL, *valid_file = NULL; local 2064 char *source = NULL, *valid_file = NULL; local 2158 char *source; local [all...] |
| /PHP_TRUNK/ext/tokenizer/ |
| H A D | tokenizer.c | 7 | This source file is subject to version 3.01 of the PHP license, | 42 ZEND_ARG_INFO(0, source) 178 /* {{{ proto array token_get_all(string source) 182 char *source = NULL; local 188 if (zend_parse_parameters(argc TSRMLS_CC, "s", &source, &source_len) == FAILURE) { 192 ZVAL_STRINGL(&source_z, source, source_len, 1);
|
| /PHP_TRUNK/ext/sockets/ |
| H A D | multicast.h | 7 | This source file is subject to version 3.01 of the PHP license, | 23 /* has block/unblock and source membership, in this case for both IPv4 and IPv6 */ 26 /* has block/unblock and source membership, but only for IPv4 */ 88 struct sockaddr *source, 97 struct sockaddr *source, 106 struct sockaddr *source, 115 struct sockaddr *source,
|
| H A D | multicast.c | 7 | This source file is subject to version 3.01 of the PHP license, | 56 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); 193 source = {0}; local 206 if (php_get_address_from_array(opt_ht, "source", php_sock, &source, 216 glen, (struct sockaddr*)&source, slen, if_index TSRMLS_CC); 395 struct sockaddr *source, 399 return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOURCE TSRMLS_CC); 407 struct sockaddr *source, 411 return _php_mcast_source_op(sock, level, group, group_len, source, source_le 390 php_mcast_join_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index TSRMLS_DC) argument 402 php_mcast_leave_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index TSRMLS_DC) argument 414 php_mcast_block_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index TSRMLS_DC) argument 426 php_mcast_unblock_source( php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index TSRMLS_DC) argument 502 _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) argument [all...] |
| /PHP_TRUNK/ext/xmlreader/ |
| H A D | php_xmlreader.c | 7 | This source file is subject to version 3.01 of the PHP license, | 230 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { argument 237 escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *)":"); 243 if (strncasecmp(source, "file:///",8) == 0) { 246 source += 8; 248 source += 7; 250 } else if (strncasecmp(source, "file://localhost/",17) == 0) { 253 source += 17; 255 source += 16; 260 file_dest = source; 278 _xmlreader_get_relaxNG(char *source, int source_len, int type, xmlRelaxNGValidityErrorFunc error_func, xmlRelaxNGValidityWarningFunc warn_func TSRMLS_DC) argument 496 char *source; local 870 char *source, *valid_file = NULL; local 959 char *source; local 1053 char *source, *uri = NULL, *encoding = NULL; local [all...] |
| /PHP_TRUNK/win32/build/ |
| H A D | mkdist.php | 141 function copy_text_file($source, $dest) 143 $text = file_get_contents($source); 353 function copy_dir($source, $dest) 361 $d = opendir($source); 366 $fs = $source . '/' . $f;
|
| /PHP_TRUNK/ext/opcache/ |
| H A D | zend_shared_alloc.c | 7 | This source file is subject to version 3.01 of the PHP license, | 326 int zend_shared_memdup_size(void *source, size_t size) argument 330 if (zend_hash_index_find(&xlat_table, (ulong)source, (void **)&old_p) == SUCCESS) { 334 zend_shared_alloc_register_xlat_entry(source, source); 338 void *_zend_shared_memdup(void *source, size_t size, zend_bool free_source TSRMLS_DC) argument 342 if (zend_hash_index_find(&xlat_table, (ulong)source, (void **)&old_p) == SUCCESS) { 348 memcpy(retval, source, size); 350 interned_efree((char*)source); 352 zend_shared_alloc_register_xlat_entry(source, retva [all...] |
| H A D | zend_accelerator_util_funcs.c | 7 | This source file is subject to version 3.01 of the PHP license, | 49 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind); 220 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind) argument 227 ht->nTableSize = source->nTableSize; 228 ht->nTableMask = source->nTableMask; 229 ht->nNumOfElements = source->nNumOfElements; 230 ht->nNextFreeElement = source->nNextFreeElement; 253 p = source->pListHead; 340 static void zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument 348 ht->nTableSize = source 452 zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument 777 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) argument 816 zend_accel_function_hash_copy(HashTable *target, HashTable *source, unique_copy_ctor_func_t pCopyConstructor) argument 837 zend_accel_class_hash_copy(HashTable *target, HashTable *source, unique_copy_ctor_func_t pCopyConstructor TSRMLS_DC) argument [all...] |