Searched defs:source (Results 1 - 25 of 33) sorted by relevance

12

/PHP_5_4/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_5_4/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 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_5_4/ext/zip/lib/
H A Dzip_add_dir.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 ret = _zip_replace(za, -1, s ? s : name, source);
87 zip_source_free(source);
51 struct zip_source *source; local
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
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 Dzipint.h11 Redistribution and use in source and binary forms, with or without
14 1. Redistributions of source code must retain the above copyright
167 /* error source for layered sources */
215 struct zip_source *src; /* data source */
271 struct zip_source *source;
266 struct zip_source *source; member in struct:zip_entry
/PHP_5_4/ext/gd/libgd/
H A Dgd.h98 source color is composited with the destination color
99 based on the alpha channel value of the source color.
262 /* A custom data source. */
263 /* The source function must return -1 on error, otherwise the number
265 /* context will be passed to your source function. */
268 int (*source) (void *context, char *buffer, int len); member in struct:__anon47
435 anything up to 256. If the original source image
558 to average the entire set of source pixels that scale down onto the
564 entire set of source pixels that scale down onto the
566 destination pixel each source pixe
[all...]
/PHP_5_4/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp5 | This source file is subject to version 3.01 of the PHP license, |
137 U_CFUNC void umsg_parse_helper(UMessageFormat *fmt, int *count, zval ***args, UChar *source, int source_len, UErrorCode *status) argument
139 UnicodeString srcString(source, source_len);
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, 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_5_4/ext/phar/
H A Dstream.c7 | This source file is subject to version 3.01 of the PHP license, |
864 phar_entry_info new, *source; local
870 php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\" from extracted phar archive, source has been deleted", url_from, url_to);
880 source = entry;
886 if (FAILURE == phar_copy_entry_fp(source, entry, &error TSRMLS_CC)) {
904 php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: cannot rename \"%s\" to \"%s\" from extracted phar archive, source does not exist", url_from, url_to);
H A Dutil.c8 | This source file is subject to version 3.01 of the PHP license, |
874 int phar_copy_entry_fp(phar_entry_info *source, phar_entry_info *dest, char **error TSRMLS_DC) /* {{{ */ argument
878 if (FAILURE == phar_open_entry_fp(source, error, 1 TSRMLS_CC)) {
896 phar_seek_efp(source, 0, SEEK_SET, 0, 1 TSRMLS_CC);
897 link = phar_get_link_source(source TSRMLS_CC);
900 link = source;
907 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);
/PHP_5_4/ext/soap/
H A Dphp_sdl.h7 | This source file is subject to version 3.01 of the PHP license, |
63 char *source; member in struct:_sdl
/PHP_5_4/ext/sockets/
H A Dmulticast.c7 | This source file is subject to version 3.01 of the PHP license, |
66 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);
102 struct sockaddr *source,
106 return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOURCE TSRMLS_CC);
114 struct sockaddr *source,
118 return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, LEAVE_SOURCE TSRMLS_CC);
126 struct sockaddr *source,
130 return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, BLOCK_SOURCE TSRMLS_CC);
138 struct sockaddr *source,
142 return _php_mcast_source_op(sock, level, group, group_len, source, source_le
97 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
109 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
121 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
133 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
209 _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_5_4/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)
181 /* {{{ proto array token_get_all(string source)
185 char *source = NULL; local
191 if (zend_parse_parameters(argc TSRMLS_CC, "s", &source, &source_len) == FAILURE) {
195 ZVAL_STRINGL(&source_z, source, source_len, 1);
/PHP_5_4/ext/xmlreader/
H A Dphp_xmlreader.c7 | 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
868 char *source, *valid_file = NULL; local
957 char *source; local
1051 char *source, *uri = NULL, *encoding = NULL; local
[all...]
/PHP_5_4/ext/xmlwriter/
H A Dphp_xmlwriter.c7 | This source file is subject to version 3.01 of the PHP license, |
602 static char *_xmlwriter_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len TSRMLS_DC) { argument
609 escsource = xmlURIEscapeStr((xmlChar *)source, (xmlChar *) ":");
615 if (strncasecmp(source, "file:///", 8) == 0) {
616 if (source[sizeof("file:///") - 1] == '\0') {
622 source += 8;
624 source += 7;
626 } else if (strncasecmp(source, "file://localhost/",17) == 0) {
627 if (source[sizeof("file://localhost/") - 1] == '\0') {
634 source
1748 char *source; local
[all...]
/PHP_5_4/Zend/
H A Dzend_constants.c7 | This source file is subject to version 2.00 of the Zend license, |
50 void zend_copy_constants(HashTable *target, HashTable *source) argument
54 zend_hash_copy(target, source, (copy_ctor_func_t) copy_zend_constant, &tmp_constant, sizeof(zend_constant));
H A Dzend_hash.c7 | This source file is subject to version 2.00 of the Zend license, |
814 ZEND_API void zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) argument
820 IS_CONSISTENT(source);
824 p = source->pListHead;
826 if (setTargetPointer && source->pInternalPointer == p) {
845 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) argument
851 IS_CONSISTENT(source);
854 p = source->pListHead;
882 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) argument
887 IS_CONSISTENT(source);
[all...]
H A Dzend_operators.c7 | This source file is subject to version 2.00 of the Zend license, |
1907 ZEND_API char *zend_str_tolower_copy(char *dest, const char *source, unsigned int length) /* {{{ */ argument
1909 register unsigned char *str = (unsigned char*)source;
1922 ZEND_API char *zend_str_tolower_dup(const char *source, unsigned int length) /* {{{ */ argument
1924 return zend_str_tolower_copy((char *)emalloc(length+1), source, length);
H A Dzend_ts_hash.c7 | 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...]
/PHP_5_4/ext/hash/
H A Dhash_whirlpool.c7 | This source file is subject to version 3.01 of the PHP license, |
278 int sourcePos = 0; /* index of leftmost source unsigned char containing data (1 to 8 bits). */
279 int sourceGap = (8 - ((int)sourceBits & 7)) & 7; /* space on source[sourcePos]. */
281 const unsigned char *source = input; local
303 /* N.B. at least source[sourcePos] and source[sourcePos+1] contain data. */
305 * take a byte from the source:
307 b = ((source[sourcePos] << sourceGap) & 0xff) |
308 ((source[sourcePos + 1] & 0xff) >> (8 - sourceGap));
333 * furthermore, all data (if any is left) is in source[sourcePo
[all...]
/PHP_5_4/ext/mcrypt/
H A Dmcrypt.c7 | This source file is subject to version 3.01 of the PHP license, |
236 ZEND_ARG_INFO(0, source)
1371 /* {{{ proto string mcrypt_create_iv(int size, int source)
1376 long source = RANDOM; local
1380 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &size, &source) == FAILURE) {
1391 if (source == RANDOM || source == URANDOM) {
1405 fd = open(source == RANDOM ? "/dev/random" : "/dev/urandom", O_RDONLY);
1408 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot open source device");
/PHP_5_4/ext/mssql/
H A Dphp_mssql.c7 | This source file is subject to version 3.01 of the PHP license, |
1213 char *source = NULL; local
1228 source = (char *)dbcolsource(mssql_ptr->link,i+1);
1229 if (source) {
1230 result->fields[i].column_source = estrdup(source);
/PHP_5_4/ext/bz2/
H A Dbz2.c7 | 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)
483 /* {{{ proto string bzcompress(string source [, int blocksize100k [, int workfactor]])
487 char *source; /* Source data to compress */ local
495 int source_len; /* Length of the source data */
500 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", &source, &source_len, &zblock_size, &zwork_factor) == FAILURE) {
522 error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor);
536 /* {{{ proto string bzdecompress(string source [, int small])
540 char *source, *des local
[all...]
/PHP_5_4/ext/com_dotnet/
H A Dcom_com.c7 | This source file is subject to version 3.01 of the PHP license, |
351 char *source = NULL, *desc = NULL, *msg = NULL; local
357 source = php_com_olestring_to_string(e.bstrSource, &source_len, obj->code_page TSRMLS_CC);
366 source ? source : "Unknown",
370 source ? source : "Unknown",
376 if (source) {
377 efree(source);
722 /* Now hook it up to the source */
[all...]

Completed in 35 milliseconds

12