Searched refs:comment (Results 1 - 25 of 26) sorted by relevance

12

/PHP_TRUNK/ext/phar/phar/
H A Dpharcommand.inc964 * Client comment add file information
/PHP_TRUNK/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc45 * @var string Optionnal comment to add to the zip
48 var $comment = "";
63 * Set a comment on the ZIP file
65 function setComment($comment) { $this->comment = $comment; }
164 private function getCentralEntry($compmethod, $mtime, $crc32, $complength, $uncomplength, $filename, $comment, $corrupt, &$offset, $fakecomp)
166 settype($comment, 'string');
171 pack("VVVvvvvvVV", $crc32, $complength, $uncomplength, strlen($filename), 0x00,strlen($comment),0x00,0x00,
173 $filename . $comment;
[all...]
/PHP_TRUNK/ext/skeleton/
H A Dcreate_stubs40 function comment(s) function
81 "<!-- Keep this comment at the end of the file\n" \
/PHP_TRUNK/ext/zip/examples/
H A Ddir.php15 echo "comment: " . $za->comment . "\n";
/PHP_TRUNK/tests/lang/
H A D023-1.inc354 echo "Tests completed.<br>\n"; # testing some PHP style comment...
/PHP_TRUNK/ext/zip/lib/
H A Dzip_file_get_comment.c2 zip_file_get_comment.c -- get file comment
41 /* lenp is 32 bit because converted comment can be longer than ZIP_UINT16_MAX */
53 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
H A Dzip_file_set_comment.c2 zip_file_set_comment.c -- set comment for file in archive
46 const char *comment, zip_uint16_t len, zip_flags_t flags)
60 if (len > 0 && comment == NULL) {
66 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL)
77 _zip_string_free(e->changes->comment);
78 e->changes->comment = NULL;
82 if (e->orig && e->orig->comment)
83 changed = !_zip_string_equal(e->orig->comment, cstr);
95 e->changes->comment = cstr;
43 zip_file_set_comment(struct zip *za, zip_uint64_t idx, const char *comment, zip_uint16_t len, zip_flags_t flags) argument
H A Dzip_get_archive_comment.c2 zip_get_archive_comment.c -- get archive comment
47 struct zip_string *comment;
52 comment = za->comment_orig;
54 comment = za->comment_changes;
56 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
45 struct zip_string *comment; local
H A Dzip_set_file_comment.c2 zip_set_file_comment.c -- set comment for file in archive
46 zip_set_file_comment(struct zip *za, zip_uint64_t idx, const char *comment, int len)
52 return zip_file_set_comment(za, idx, comment, (zip_uint16_t)len, 0);
44 zip_set_file_comment(struct zip *za, zip_uint64_t idx, const char *comment, int len) argument
H A Dzip_open.c165 za->comment_orig = cdir->comment;
217 /* not enough bytes left for comment */
258 if ((cd->comment=_zip_string_new(eocd+EOCDLEN, (zip_uint16_t)comment_len, ZIP_FL_ENC_GUESS, error)) == NULL) {
374 check whether ZA has a valid TORRENTZIP comment, i.e. is torrentzipped */
386 if (_zip_string_length(cdir->comment) != TORRENT_SIG_LEN+8
387 || strncmp((const char *)cdir->comment->raw, TORRENT_SIG, TORRENT_SIG_LEN) != 0)
390 memcpy(buf, cdir->comment->raw+TORRENT_SIG_LEN, 8);
H A Dzip_dirent.c65 _zip_string_free(cd->comment);
128 cd->comment = NULL;
141 struct zip_string *comment;
199 comment = za->comment_changed ? za->comment_changes : za->comment_orig;
201 _zip_write2(comment ? comment->length : 0, fp);
202 if (comment)
203 fwrite(comment->raw, 1, comment->length, fp);
246 _zip_string_free(zde->comment);
136 struct zip_string *comment; local
[all...]
H A Dzip_set_archive_comment.c2 zip_set_archive_comment.c -- set archive comment
45 zip_set_archive_comment(struct zip *za, const char *comment, zip_uint16_t len)
54 if (len > 0 && comment == NULL) {
60 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, ZIP_FL_ENC_GUESS, &za->error)) == NULL)
43 zip_set_archive_comment(struct zip *za, const char *comment, zip_uint16_t len) argument
H A Dzipint.h284 struct zip_string *comment_orig; /* archive comment */
285 struct zip_string *comment_changes; /* changed archive comment */
286 int comment_changed; /* whether archive comment was changed */
332 struct zip_string *comment; /* (c) file comment */
348 struct zip_string *comment; /* zip archive comment */
385 /* file or archive comment, or filename */
330 struct zip_string *comment; /* (c) file comment */ member in struct:zip_dirent
346 struct zip_string *comment; /* zip archive comment */ member in struct:zip_cdir
/PHP_TRUNK/ext/soap/
H A Dphp_xml.c99 ctxt->sax->comment = soap_Comment;
146 ctxt->sax->comment = soap_Comment;
/PHP_TRUNK/ext/wddx/
H A Dphp_wddx_api.h33 #define WDDX_COMMENT_S "<comment>"
34 #define WDDX_COMMENT_E "</comment>"
60 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len);
H A Dwddx.c108 ZEND_ARG_INFO(0, comment)
116 ZEND_ARG_INFO(0, comment)
367 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) argument
370 if (comment) {
373 php_wddx_add_chunk_ex(packet, comment, comment_len);
1155 /* {{{ proto string wddx_serialize_value(mixed var [, string comment])
1160 char *comment = NULL; local
1164 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|s", &var, &comment, &comment_len) == FAILURE) {
1170 php_wddx_packet_start(packet, comment, comment_len);
1237 /* {{{ proto resource wddx_packet_start([string comment])
1241 char *comment = NULL; local
[all...]
/PHP_TRUNK/ext/xml/
H A Dcompat.c324 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) argument
328 *comment = xmlMalloc(*comment_len + 1);
329 memcpy(*comment, "<!--", 4);
330 memcpy(*comment + 4, data, data_len);
331 memcpy(*comment + 4 + data_len, "-->", 3);
333 (*comment)[*comment_len] = '\0';
337 _comment_handler(void *user, const xmlChar *comment) argument
345 _build_comment(comment, xmlStrlen(comment), &d_comment, &d_comment_len);
435 _comment_handler, /* comment */
535 XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler comment) argument
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c97 /* {{{ PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) */
98 #define PHP_ZIP_SET_FILE_COMMENT(za, index, comment, comment_len) \
100 /* Passing NULL remove the existing comment */ \
104 } else if (zip_set_file_comment(intern, index, comment, comment_len) < 0) { \
2061 /* {{{ proto bool ZipArchive::setArchiveComment(string comment)
2062 Set or remove (NULL/'') the comment of the archive */
2068 char * comment; local
2076 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) {
2079 if (zip_set_archive_comment(intern, (const char *)comment, (int)comment_len)) {
2088 Returns the comment o
2094 const char * comment; local
2122 char * comment, *name; local
2156 char * comment; local
2334 const char * comment; local
2369 const char * comment; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c3561 zend_error(E_COMPILE_WARNING, "Unterminated comment starting line %d", CG(zend_lineno));
H A Dzend_compile.c5405 char *comment = NULL; local
5434 comment = CG(doc_comment);
5440 zend_declare_property_ex(CG(active_class_entry), zend_new_interned_string(Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->u.constant) + 1, 0 TSRMLS_CC), Z_STRLEN(var_name->u.constant), property, access_type, comment, comment_len TSRMLS_CC);
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_jpeg.c174 char comment[255]; local
216 snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), quality = %d\n", GD_JPEG_VERSION, JPEG_LIB_VERSION, quality);
218 snprintf(comment, sizeof(comment)-1, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d), default quality\n", GD_JPEG_VERSION, JPEG_LIB_VERSION);
220 jpeg_write_marker (&cinfo, JPEG_COM, (unsigned char *) comment, (unsigned int) strlen (comment));
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_structs.h143 const char *comment; member in struct:st_mysqlnd_charset
/PHP_TRUNK/ext/
H A Dext_skel118 dnl Make sure that the comment is aligned:
124 dnl Make sure that the comment is aligned:
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c1010 const char *name = NULL, *collation = NULL, *dir = NULL, *comment = NULL; local
1033 comment = cs.comment;
1045 comment = cs->comment;
1057 add_property_string(return_value, "comment", (comment) ? (char *)comment : "", 1);
/PHP_TRUNK/win32/build/
H A Dconfutils.js1810 /* XXX fix comment handling */
2064 function AC_DEFINE(name, value, comment, quote)
2074 var item = new Array(value, comment);

Completed in 80 milliseconds

12