Searched defs:len (Results 1 - 25 of 276) sorted by relevance

1234567891011>>

/PHP_TRUNK/ext/ereg/regex/
H A Dregerror.c72 register size_t len; local
97 len = strlen(s) + 1;
99 if (errbuf_size > len)
107 return(len);
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h53 int len; /* length of string/buf */ member in struct:_simplestring
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_attr.c214 int len; local
219 &object, NumberFormatter_ce_ptr, &attribute, &value, &len ) == FAILURE)
231 intl_convert_utf8_to_utf16(&svalue, &slength, value, len, &INTL_DATA_ERROR_CODE(nfo));
/PHP_TRUNK/ext/mbstring/libmbfl/filters/
H A Dmbfilter_base64.c118 int status, cache, len; local
122 len = (filter->status & 0xff00) >> 8;
128 if (len > 72){
/PHP_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.h45 unsigned int len; member in struct:_mbfl_string
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregposerr.c77 size_t len; local
91 len = strlen(s) + 1; /* use strlen() because s is ascii encoding. */
97 return len;
/PHP_TRUNK/ext/skeleton/
H A Dskeleton.c39 int arg_len, len; local
46 len = spprintf(&strg, 0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg);
47 RETURN_STRINGL(strg, len, 0);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_error_to_str.c48 zip_error_to_str(char *buf, zip_uint64_t len, int ze, int se)
53 return snprintf(buf, len, "Unknown error %d", ze);
70 return snprintf(buf, len, "%s%s%s",
46 zip_error_to_str(char *buf, zip_uint64_t len, int ze, int se) argument
H A Dzip_file_get_comment.c47 zip_uint32_t len;
53 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
57 *lenp = len;
45 zip_uint32_t len; local
H A Dzip_file_set_comment.c46 const char *comment, zip_uint16_t len, zip_flags_t flags)
60 if (len > 0 && comment == NULL) {
65 if (len > 0) {
66 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL)
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.c48 zip_uint32_t len;
56 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
60 *lenp = (int)len;
46 zip_uint32_t len; local
H A Dzip_get_file_comment.c46 zip_uint32_t len;
49 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) {
51 *lenp = (int)len;
44 zip_uint32_t len; local
H A Dzip_memdup.c2 zip_memdup.c -- internal zip function, "strdup" with len
43 _zip_memdup(const void *mem, size_t len, struct zip_error *error)
47 if (len == 0)
50 ret = malloc(len);
56 memcpy(ret, mem, len);
42 _zip_memdup(const void *mem, size_t len, struct zip_error *error) argument
H A Dzip_set_file_comment.c46 zip_set_file_comment(struct zip *za, zip_uint64_t idx, const char *comment, int len)
48 if (len < 0 || len > ZIP_UINT16_MAX) {
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_source_file.c47 zip_int64_t len)
52 if (fname == NULL || len < -1) {
57 return _zip_source_file_or_p(za, fname, NULL, start, len, 1, NULL);
44 zip_source_file(struct zip *za, const char *fname, zip_uint64_t start, zip_int64_t len) argument
H A Dzip_source_read.c43 zip_source_read(struct zip_source *src, void *data, zip_uint64_t len)
47 if (!src->is_open || len > ZIP_INT64_MAX || (len > 0 && data == NULL)) {
53 return src->cb.f(src->ud, data, len, ZIP_SOURCE_READ);
55 ret = src->cb.l(src->src, src->ud, data, len, ZIP_SOURCE_READ);
41 zip_source_read(struct zip_source *src, void *data, zip_uint64_t len) argument
H A Dzip_source_zip.c47 zip_flags_t flags, zip_uint64_t start, zip_int64_t len)
49 if (len < -1) {
54 if (len == -1)
55 len = 0;
57 if (start == 0 && len == 0)
62 return _zip_source_zip_new(za, srcza, srcidx, flags, start, (zip_uint64_t)len, NULL);
44 zip_source_zip(struct zip *za, struct zip *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_int64_t len) argument
H A Dzip_source_zip_new.c46 zip_uint64_t start, zip_uint64_t len, const char *password)
76 if ((start > 0 || len > 0) && (flags & ZIP_FL_COMPRESSED)) {
82 if ((start > 0 || len > 0) && (start+len < start || start+len > st.size)) {
117 if (start+len > 0 && enc_impl == NULL && comp_impl == NULL) {
120 st2.size = len ? len : st.size-start;
153 && (len == 0 || len
43 _zip_source_zip_new(struct zip *za, struct zip *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_uint64_t len, const char *password) argument
[all...]
H A Dzip_file_get_external_attributes.c40 zip_uint32_t len; local
H A Dzip_dir_add.c50 size_t len;
66 len = strlen(name);
68 if (name[len-1] != '/') {
69 if ((s=(char *)malloc(len+2)) == NULL) {
74 s[len] = '/';
75 s[len+1] = '\0';
48 size_t len; local
H A Dzip_filerange_crc.c47 _zip_filerange_crc(FILE *fp, off_t start, off_t len, uLong *crcp,
60 while (len > 0) {
61 n = len > BUFSIZE ? BUFSIZE : (size_t)len;
69 len-= n;
45 _zip_filerange_crc(FILE *fp, off_t start, off_t len, uLong *crcp, struct zip_error *errp) argument
H A Dzip_set_archive_comment.c45 zip_set_archive_comment(struct zip *za, const char *comment, zip_uint16_t len)
54 if (len > 0 && comment == NULL) {
59 if (len > 0) {
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
/PHP_TRUNK/ext/hash/
H A Dhash_adler32.c30 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t len) argument
36 for (i = 0; i < len; ++i) {
/PHP_TRUNK/ext/standard/
H A Dcrc32.c30 int len, nr; local
39 for (len =+nr; nr--; ++p) {
H A Dphp_smart_str_public.h28 size_t len; member in struct:__anon261

Completed in 23 milliseconds

1234567891011>>