Searched refs:source (Results 1 - 25 of 66) sorted by relevance

123

/PHP_TRUNK/ext/phar/tests/files/
H A Dpear2coverage.phar.php97 * 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 Dbase64.c52 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 Dbase64.h24 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 Dsimplestring.c55 * 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 Dzip_entry.c8 Redistribution and use in source and binary forms, with or without
11 1. Redistributions of source code must retain the above copyright
55 e->source = NULL;
H A Dzip_file_add.c8 Redistribution and use in source and binary forms, with or without
11 1. Redistributions of source code must retain the above copyright
49 zip_file_add(struct zip *za, const char *name, struct zip_source *source, zip_flags_t flags)
51 if (name == NULL || source == NULL) {
56 return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags);
47 zip_file_add(struct zip *za, const char *name, struct zip_source *source, zip_flags_t flags) argument
H A Dzip_file_replace.c8 Redistribution and use in source and binary forms, with or without
11 1. Redistributions of source code must retain the above copyright
43 zip_file_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source, zip_flags_t flags)
45 if (idx >= za->nentry || source == NULL) {
50 if (_zip_file_replace(za, idx, NULL, source, flags) == -1)
63 _zip_file_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source, zip_flags_t flags)
111 za->entry[idx].source = source;
41 zip_file_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source, zip_flags_t flags) argument
60 _zip_file_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source, zip_flags_t flags) argument
H A Dzip_replace.c8 Redistribution and use in source and binary forms, with or without
11 1. Redistributions of source code must retain the above copyright
44 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source)
46 return zip_file_replace(za, idx, source, 0);
42 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) argument
H A Dzip_unchange_data.c8 Redistribution and use in source and binary forms, with or without
11 1. Redistributions of source code must retain the above copyright
42 if (ze->source) {
43 zip_source_free(ze->source);
44 ze->source = NULL;
H A Dzip_add.c8 Redistribution and use in source and binary forms, with or without
11 1. Redistributions of source code must retain the above copyright
51 zip_add(struct zip *za, const char *name, struct zip_source *source)
53 return zip_file_add(za, name, source, 0);
49 zip_add(struct zip *za, const char *name, struct zip_source *source) argument
H A Dzip_dir_add.c8 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 idx = _zip_file_replace(za, ZIP_UINT64_MAX, s ? s : name, source, flags);
88 zip_source_free(source);
51 struct zip_source *source; local
/PHP_TRUNK/ext/dom/
H A Ddocument.c7 | 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)
1212 /* {{{ proto DOMNode dom_document_adopt_node(DOMNode source);
1301 char *_dom_get_valid_file_path(char *source, cha argument
1355 dom_document_parser(zval *id, int mode, char *source, size_t source_len, size_t options TSRMLS_DC) argument
1477 char *source; local
1786 char *source = NULL, *valid_file = NULL; local
1884 char *source = NULL, *valid_file = NULL; local
1978 char *source; local
[all...]
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.h5 | This source file is subject to version 3.01 of the PHP license, |
24 UChar *source, int source_len, UErrorCode *status);
H A Dmsgformat_parse.c5 | This source file is subject to version 3.01 of the PHP license, |
31 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t 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 Dresourcebundle.c5 | 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, (UChar *)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 Dresourcebundle.h5 | 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/ext/sockets/
H A Dmulticast.c7 | 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);
203 source = {0}; local
216 if (php_get_address_from_array(opt_ht, "source", php_sock, &source,
226 glen, (struct sockaddr*)&source, slen, if_index TSRMLS_CC);
407 struct sockaddr *source,
411 return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOURCE TSRMLS_CC);
419 struct sockaddr *source,
423 return _php_mcast_source_op(sock, level, group, group_len, source, source_le
402 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
414 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
426 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
438 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
514 _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...]
H A Dmulticast.h7 | 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 */
90 struct sockaddr *source,
99 struct sockaddr *source,
108 struct sockaddr *source,
117 struct sockaddr *source,
/PHP_TRUNK/ext/tokenizer/
H A Dtokenizer.c7 | This source file is subject to version 3.01 of the PHP license, |
42 ZEND_ARG_INFO(0, source)
176 /* {{{ proto array token_get_all(string source)
180 zend_string *source; local
184 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S", &source) == FAILURE) {
188 ZVAL_STR_COPY(&source_zval, source);
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c7 | This source file is subject to version 3.01 of the PHP license, |
225 char *_xmlreader_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { argument
232 escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *)":");
238 if (strncasecmp(source, "file:///",8) == 0) {
241 source += 8;
243 source += 7;
245 } else if (strncasecmp(source, "file://localhost/",17) == 0) {
248 source += 17;
250 source += 16;
255 file_dest = source;
273 _xmlreader_get_relaxNG(char *source, size_t source_len, size_t type, xmlRelaxNGValidityErrorFunc error_func, xmlRelaxNGValidityWarningFunc warn_func TSRMLS_DC) argument
487 char *source; local
856 char *source, *valid_file = NULL; local
946 char *source; local
1040 char *source, *uri = NULL, *encoding = NULL; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dgenerate_mime_type_map.php6 $source = count($_SERVER['argv']) > 1 ? $_SERVER['argv'][1] : 'https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types'; variable
9 $types = @file($source);
11 fprintf(STDERR, "Error: unable to read $source\n");
37 | This source file is subject to version 3.01 of the PHP license, |
/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c7 | 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 ((old_p = zend_hash_index_find_ptr(&xlat_table, (zend_ulong)source)) != NULL) {
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 ((old_p = zend_hash_index_find_ptr(&xlat_table, (zend_ulong)source)) != NULL) {
348 memcpy(retval, source, size);
350 efree(source);
352 zend_shared_alloc_register_xlat_entry(source, retva
[all...]
H A Dzend_accelerator_util_funcs.c7 | This source file is subject to version 3.01 of the PHP license, |
50 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind);
293 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind) argument
300 ht->nTableSize = source->nTableSize;
301 ht->nTableMask = source->nTableMask;
303 ht->nNumOfElements = source->nNumOfElements;
304 ht->nNextFreeElement = source->nNextFreeElement;
309 ht->nInternalPointer = source->nNumOfElements ? 0 : INVALID_IDX;
316 if (source->u.flags & HASH_FLAG_PACKED) {
321 for (idx = 0; idx < source
372 zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument
449 zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument
715 zend_accel_function_hash_copy(HashTable *target, HashTable *source, unique_copy_ctor_func_t pCopyConstructor TSRMLS_DC) argument
768 zend_accel_class_hash_copy(HashTable *target, HashTable *source, unique_copy_ctor_func_t pCopyConstructor TSRMLS_DC) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ts_hash.c7 | This source file is subject to version 2.00 of the Zend license, |
245 ZEND_API void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor) argument
247 begin_read(source);
249 zend_hash_copy(TS_HASH(target), TS_HASH(source), pCopyConstructor);
251 end_read(source);
254 ZEND_API void zend_ts_hash_copy_to_hash(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor) argument
256 begin_read(source);
257 zend_hash_copy(target, TS_HASH(source), pCopyConstructor);
258 end_read(source);
261 ZEND_API void zend_ts_hash_merge(TsHashTable *target, TsHashTable *source, copy_ctor_func_ argument
270 zend_ts_hash_merge_ex(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, merge_checker_func_t pMergeSource, void *pParam) argument
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2.c7 | This source file is subject to version 3.01 of the PHP license, |
79 ZEND_ARG_INFO(0, source)
85 ZEND_ARG_INFO(0, source)
508 /* {{{ proto string bzcompress(string source [, int blocksize100k [, int workfactor]])
512 char *source; /* Source data to compress */ local
520 size_t source_len; /* Length of the source data */
525 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &source, &source_len, &zblock_size, &zwork_factor) == FAILURE) {
547 error = BZ2_bzBuffToBuffCompress(dest->val, &dest_len, source, source_len, block_size, 0, work_factor);
561 /* {{{ proto string bzdecompress(string source [, int small])
565 char *source, *des local
[all...]

Completed in 45 milliseconds

123