Searched defs:comment_len (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c212 zip_int64_t tail_len, comment_len;
242 comment_len = _zip_read2(&cdp);
251 if (tail_len < comment_len || ((flags & ZIP_CHECKCONS) && tail_len != comment_len)) {
257 if (comment_len) {
258 if ((cd->comment=_zip_string_new(eocd+EOCDLEN, (zip_uint16_t)comment_len, ZIP_FL_ENC_GUESS, error)) == NULL) {
275 len-(cd->size+cd->comment_len+EOCDLEN) ? */
207 zip_int64_t tail_len, comment_len; local
H A Dzip_dirent.c347 zip_uint16_t filename_len, comment_len, ef_len;
403 comment_len = 0;
409 comment_len = _zip_read2(&cur);
420 size += filename_len+ef_len+comment_len;
454 if (comment_len) {
455 zde->comment = _zip_read_string(bufp ? &cur : NULL, fp, comment_len, 0, error);
335 zip_uint16_t filename_len, comment_len, ef_len; local
/PHP_TRUNK/ext/phar/
H A Dpharzip.h164 char comment_len[2]; /* file comment length 2 bytes */ member in struct:_phar_zip_central_dir_file
233 char comment_len[2]; /* .ZIP file comment length 2 bytes */ member in struct:_phar_zip_dir_end
/PHP_TRUNK/ext/xml/
H A Dcompat.c324 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) argument
326 *comment_len = data_len + 7;
328 *comment = xmlMalloc(*comment_len + 1);
333 (*comment)[*comment_len] = '\0';
/PHP_TRUNK/ext/wddx/
H A Dwddx.c367 void php_wddx_packet_start(wddx_packet *packet, char *comment, int comment_len) argument
373 php_wddx_add_chunk_ex(packet, comment, comment_len);
1161 int comment_len = 0; 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);
1242 int comment_len = 0; local
1247 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &comment, &comment_len) == FAILURE) {
1253 php_wddx_packet_start(packet, comment, comment_len);
/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) \
99 if (comment_len == 0) { \
104 } else if (zip_set_file_comment(intern, index, comment, comment_len) < 0) { \
2067 int comment_len; 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)) {
2095 int comment_len = 0; local
2107 comment = zip_get_archive_comment(intern, &comment_len, (int)flags);
2111 RETURN_STRINGL((char *)comment, (long)comment_len,
2121 int comment_len, name_len; local
2155 int comment_len; local
2333 int comment_len = 0; local
2370 int comment_len = 0; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_compile.c5406 int comment_len = 0; local
5435 comment_len = CG(doc_comment_len);
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);

Completed in 27 milliseconds