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

1234567891011>>

/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/mbstring/libmbfl/mbfl/
H A Dmbfl_string.h45 unsigned int len; member in struct:_mbfl_string
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_attr.c214 size_t 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/xmlrpc/libxmlrpc/
H A Dsimplestring.h53 int len; /* length of string/buf */ member in struct:_simplestring
/PHP_TRUNK/ext/phar/
H A Dphar_path_check.c25 phar_path_check_result phar_path_check(char **s, int *len, const char **error) argument
30 if (*len == 1 && *p == '.') {
33 } else if (*len == 2 && p[0] == '.' && p[1] == '.') {
40 #define YYLIMIT p+*len
138 *len = (p - (const unsigned char*)*s) -1;
205 (*len)--;
207 if ((p - (const unsigned char*)*s) - 1 != *len)
/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) {
H A Dhash_crc32.c31 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) argument
35 for (i = 0; i < len; ++i) {
40 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) argument
44 for (i = 0; i < len; ++i) {
H A Dhash_joaat.c68 * len - length of buffer in octets
74 joaat_buf(void *buf, size_t len, php_hash_uint32 hval) argument
79 for (i = 0; i < len; i++) {
/PHP_TRUNK/ext/standard/
H A Dphp_smart_string_public.h29 size_t len; member in struct:__anon299
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dir_add.c46 size_t len; local
62 len = strlen(name);
64 if (name[len-1] != '/') {
65 if ((s=(char *)malloc(len+2)) == NULL) {
70 s[len] = '/';
71 s[len+1] = '\0';
H A Dzip_error_to_str.c45 zip_error_to_str(char *buf, zip_uint64_t len, int ze, int se) argument
50 return snprintf(buf, len, "Unknown error %d", ze);
67 return snprintf(buf, len, "%s%s%s",
H A Dzip_file_get_comment.c43 zip_uint32_t len; local
49 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
53 *lenp = len;
H A Dzip_file_set_comment.c42 const char *comment, zip_uint16_t len, zip_flags_t flags)
56 if (len > 0 && comment == NULL) {
61 if (len > 0) {
62 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL)
41 zip_file_set_comment(zip_t *za, zip_uint64_t idx, const char *comment, zip_uint16_t len, zip_flags_t flags) argument
H A Dzip_filerange_crc.c43 _zip_filerange_crc(zip_source_t *src, zip_uint64_t start, zip_uint64_t len, uLong *crcp, zip_error_t *error) argument
60 while (len > 0) {
61 n = (zip_int64_t)(len > BUFSIZE ? BUFSIZE : len);
73 len -= (zip_uint64_t)n;
H A Dzip_get_archive_comment.c44 zip_uint32_t len; local
52 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
56 *lenp = (int)len;
H A Dzip_get_file_comment.c42 zip_uint32_t len; local
45 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) {
47 *lenp = (int)len;
H A Dzip_memdup.c2 zip_memdup.c -- internal zip function, "strdup" with len
41 _zip_memdup(const void *mem, size_t len, zip_error_t *error) argument
45 if (len == 0)
48 ret = malloc(len);
54 memcpy(ret, mem, len);
H A Dzip_set_archive_comment.c41 zip_set_archive_comment(zip_t *za, const char *comment, zip_uint16_t len) argument
50 if (len > 0 && comment == NULL) {
55 if (len > 0) {
56 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, ZIP_FL_ENC_GUESS, &za->error)) == NULL)
H A Dzip_set_file_comment.c42 zip_set_file_comment(zip_t *za, zip_uint64_t idx, const char *comment, int len) argument
44 if (len < 0 || len > ZIP_UINT16_MAX) {
48 return zip_file_set_comment(za, idx, comment, (zip_uint16_t)len, 0);
H A Dzip_source_file.c42 zip_source_file(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) argument
47 return zip_source_file_create(fname, start, len, &za->error);
H A Dzip_source_read.c39 zip_source_read(zip_source_t *src, void *data, zip_uint64_t len) argument
44 if (!ZIP_SOURCE_IS_OPEN_READING(src) || len > ZIP_INT64_MAX || (len > 0 && data == NULL)) {
49 return _zip_source_call(src, data, len, ZIP_SOURCE_READ);
H A Dzip_source_zip.c43 zip_flags_t flags, zip_uint64_t start, zip_int64_t len)
45 if (len < -1) {
50 if (len == -1)
51 len = 0;
53 if (start == 0 && len == 0)
58 return _zip_source_zip_new(za, srcza, srcidx, flags, start, (zip_uint64_t)len, NULL);
42 zip_source_zip(zip_t *za, zip_t *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_int64_t len) argument
/PHP_TRUNK/Zend/
H A Dzend_smart_str.c32 #define SMART_STR_NEW_SIZE(len) \
33 (((len + SMART_STR_OVERHEAD + SMART_STR_PAGE) & ~(SMART_STR_PAGE - 1)) - SMART_STR_OVERHEAD - 1)
35 ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len) argument
38 str->a = len < SMART_STR_START_SIZE
40 : SMART_STR_NEW_SIZE(len);
44 str->a = SMART_STR_NEW_SIZE(len);
49 ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len) argument
52 str->a = len < SMART_STR_START_SIZE
54 : SMART_STR_NEW_SIZE(len);
58 str->a = SMART_STR_NEW_SIZE(len);
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_lexer.h27 unsigned int len; member in struct:__anon3

Completed in 66 milliseconds

1234567891011>>