Searched refs:siz (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_qsort.h26 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare TSRMLS_DC);
27 ZEND_API void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *arg TSRMLS_DC);
H A Dzend_qsort.c28 static void _zend_qsort_swap(void *a, void *b, size_t siz) argument
41 for (i = sizeof(int); i <= siz; i += sizeof(int)) {
50 for (i = i - sizeof(int) + 1; i <= siz; ++i) {
57 ZEND_API void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *arg TSRMLS_DC) argument
70 end_stack[0] = (char *) base + ((nmemb - 1) * siz);
78 _zend_qsort_swap(begin, begin + (offset - (offset % siz)), siz);
80 seg1 = begin + siz;
85 seg1 += siz);
88 seg2 -= siz);
121 zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare TSRMLS_DC) argument
[all...]
H A Dzend_API.c1908 static void zend_sort_modules(void *base, size_t count, size_t siz, compare_func_t compare TSRMLS_DC) /* {{{ */ argument
/PHP_TRUNK/main/
H A Dstrlcat.c62 * Appends src to string dst of size siz (unlike strncat, siz is the
63 * full size of dst, not space left). At most siz-1 characters
64 * will be copied. Always NUL terminates (unless siz == 0).
65 * Returns strlen(src); if retval >= siz, truncation occurred.
67 PHPAPI size_t php_strlcat(dst, src, siz)
70 size_t siz;
74 register size_t n = siz;
81 n = siz - dlen;
H A Dstrlcpy.c62 * Copy src to string dst of size siz. At most siz-1 characters
63 * will be copied. Always NUL terminates (unless siz == 0).
64 * Returns strlen(src); if retval >= siz, truncation occurred.
66 PHPAPI size_t php_strlcpy(dst, src, siz)
69 size_t siz;
73 register size_t n = siz;
85 if (siz != 0)
H A Dphp_main.h50 PHPAPI void php_html_puts(const char *str, uint siz TSRMLS_DC);
H A Dsnprintf.c70 size_t siz; local
73 siz = -ndigit + 1;
75 siz = ndigit + 1;
82 if ((rve = s = (char *)malloc(ndigit?siz:2)) == NULL) {
101 siz += *decpt;
103 if ((s = (char *)malloc(siz+1)) == NULL) {
107 (void) strlcpy(s, p, siz);
114 siz -= rve - s;
115 while (--siz) {
H A Dphp.h125 PHPAPI size_t php_strlcpy(char *dst, const char *src, size_t siz);
133 PHPAPI size_t php_strlcat(char *dst, const char *src, size_t siz);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.c296 size_t siz = (size_t)off + len; local
298 if ((zend_off_t)(off + len) != (zend_off_t)siz) {
303 if (info->i_buf != NULL && info->i_len >= siz) {

Completed in 31 milliseconds