Searched defs:base (Results 1 - 25 of 40) sorted by relevance

12

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Doutput.c85 /* Output of a bcd number. NUM is written in base O_BASE using OUT_CHAR
98 bc_num int_part, frac_part, base, cur_dig, t_num, max_o_digit; local
109 /* The number is in base 10, do it the fast way. */
134 /* The number is some other base. */
140 bc_init_num (&base TSRMLS_CC);
145 bc_int2num (&base, o_base);
153 bc_modulo (int_part, base, &cur_dig, 0 TSRMLS_CC);
160 bc_divide (int_part, base, &int_part, 0 TSRMLS_CC);
186 bc_multiply (frac_part, base, &frac_part, num->n_scale TSRMLS_CC);
196 bc_multiply (t_num, base,
[all...]
H A Draisemod.c46 bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale TSRMLS_DC) argument
56 power = bc_copy_num (base);
61 /* Check the base for scale digits. */
62 if (base->n_scale != 0)
63 bc_rt_warn ("non-zero scale in base");
77 rscale = MAX(scale, base->n_scale);
/PHP_TRUNK/main/
H A Dmergesort.c105 PHPAPI int php_mergesort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void * TSRMLS_DC) TSRMLS_DC) argument
126 if (!(size % ISIZE) && !(((char *)base - (char *)0) % ISIZE))
132 list1 = base;
231 if (base == list2) {
H A Dfopen_wrappers.c88 char *base = (char *) mh_arg2; local
90 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
93 p = (char **) (base + (size_t) mh_arg1);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_trace_mach.c86 vm_offset_t base = (uintptr_t) (addr) - offset; local
88 if (base != target_page_base) {
90 if (0 > fpm_mach_vm_read_page(base)) {
/PHP_TRUNK/win32/
H A Dstrtoi64.c8 PHPAPI int64_t _strtoi64(const char *nptr, char **endptr, int base) argument
18 * If base is 0, allow 0x for hex and 0 for octal, else
19 * assume decimal; if base is already 16, allow 0x.
35 if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X')) {
38 base = 16;
40 if (base == 0) {
41 base = c == '0' ? 8 : 10;
44 if (base < 2 || base > 3
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.h66 #define NTYPE(node) ((node)->u.base.type)
67 #define SET_NTYPE(node, ntype) (node)->u.base.type = (ntype)
161 NodeBase base; member in struct:__anon263
170 NodeBase base; member in struct:__anon264
186 NodeBase base; member in struct:__anon265
214 NodeBase base; member in struct:__anon268
226 NodeBase base; member in struct:__anon269
235 NodeBase base; member in struct:__anon270
242 NodeBase base; member in struct:__anon271
248 NodeBase base; member in struct:__anon272
255 NodeBase base; member in union:_Node::__anon273
[all...]
/PHP_TRUNK/ext/soap/interop/
H A Dindex.php10 $base = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/interop.wsdl.php"; variable
20 <p>Currently Round 2 base, Group B and Group C interop tests are enabled.</p>
23 Base WSDL: <a href="<?php echo $base ?>"><?php echo $base ?></a><br>
47 <li><a href="client_round2_results.php?test=base&type=php&wsdl=0">Base results using PHP native types</a></li>
48 <li><a href="client_round2_results.php?test=base&type=soapval&wsdl=0">Base results using SOAP types</a></li>
49 <li><a href="client_round2_results.php?test=base&type=php&wsdl=1">Base results using PHP native types with WSDL</a></li>
/PHP_TRUNK/Zend/
H A Dzend_qsort.c57 ZEND_API void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *arg TSRMLS_DC) argument
69 begin_stack[0] = (char *) base;
70 end_stack[0] = (char *) base + ((nmemb - 1) * siz);
121 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare TSRMLS_DC) argument
123 zend_qsort_r(base, nmemb, siz, (compare_r_func_t)compare, NULL TSRMLS_CC);
H A Dzend_ini.c563 char *base = (char *) mh_arg2; local
565 char *base; local
567 base = (char *) ts_resource(*((int *) mh_arg2));
570 p = (zend_bool *) (base+(size_t) mh_arg1);
592 char *base = (char *) mh_arg2; local
594 char *base; local
596 base = (char *) ts_resource(*((int *) mh_arg2));
599 p = (long *) (base+(size_t) mh_arg1);
610 char *base = (char *) mh_arg2; local
612 char *base; local
633 char *base = (char *) mh_arg2; local
635 char *base; local
651 char *base = (char *) mh_arg2; local
653 char *base; local
669 char *base = (char *) mh_arg2; local
671 char *base; local
[all...]
H A Dzend_operators.c379 ZEND_API void convert_to_long_base(zval *op, int base) /* {{{ */ argument
408 ZVAL_LONG(op, strtol(str->val, NULL, base));
H A Dzend_operators.h135 int base = 10, digits = 0, dp_or_e = 0; local
163 base = 16;
177 if (ZEND_IS_DIGIT(*ptr) || (base == 16 && ZEND_IS_XDIGIT(*ptr))) {
179 } else if (base == 10) {
197 if (base == 10) {
256 *lval = strtol(str, NULL, base);
334 ZEND_API void convert_to_long_base(zval *op, int base);
/PHP_TRUNK/ext/date/lib/
H A Dtm2unixtime.c170 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) argument
177 do_range_limit_days_relative(&base->y, &base->m, &rt->y, &rt->m, &rt->d, rt->invert);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c348 new_break.base = NULL;
381 opline_break.base = brake;
869 return (brake->base?(phpdbg_breakbase_t *)brake->base:(phpdbg_breakbase_t *)brake);
1038 phpdbg_breakbase_t *base = NULL; local
1047 (base = phpdbg_find_conditional_breakpoint(execute_data TSRMLS_CC))) {
1052 (base = phpdbg_find_breakpoint_file(execute_data->op_array TSRMLS_CC))) {
1059 if ((base = phpdbg_find_breakpoint_symbol(
1067 (base = phpdbg_find_breakpoint_opline(execute_data->opline TSRMLS_CC))) {
1072 (base
[all...]
H A Dphpdbg_bp.h27 /* {{{ breakpoint base structure */
35 /* {{{ breakpoint base */
83 phpdbg_breakopline_t *base; member in struct:_phpdbg_breakline_t
/PHP_TRUNK/ext/gmp/
H A Dgmp.c43 ZEND_ARG_INFO(0, base)
52 ZEND_ARG_INFO(0, base)
71 ZEND_ARG_INFO(0, base)
76 ZEND_ARG_INFO(0, base)
210 /* The maximum base for input and output conversions is 62 from GMP 4.2
301 static void gmp_strval(zval *result, mpz_t gmpnum, long base);
302 static int convert_to_gmp(mpz_t gmpnumber, zval *val, int base TSRMLS_DC);
679 static int convert_to_gmp(mpz_t gmpnumber, zval *val, int base TSRMLS_DC)
696 base = 16;
698 } else if (base !
722 gmp_strval(zval *result, mpz_t gmpnum, long base) argument
1001 long base = 0; local
1043 long base = 10; local
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_query.c1511 char const *base = "FIELD"; /* use 'FIELD' if name is empty */ local
1522 base = alias;
1528 snprintf(alias = buf, sizeof(buf), "%s_%02d", base, i++);
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c209 } base; local
240 base.ptr = VirtualAlloc(NULL, max_limit, MEM_RESERVE, PAGE_READWRITE);
241 if (!base.ptr) {
245 stack->base = base.uw;
246 stack->limit = stack->base;
247 stack->max_limit = stack->base + max_limit;
248 if (sljit_stack_resize(stack, stack->base + limit)) {
254 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
262 base
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c197 xmlChar *base = xmlNodeGetBase(trav->doc, trav); local
199 if (base == NULL) {
202 uri = xmlBuildURI(location->children->content, base);
203 xmlFree(base);
217 xmlChar *base = xmlNodeGetBase(trav->doc, trav); local
219 if (base == NULL) {
222 uri = xmlBuildURI(location->children->content, base);
223 xmlFree(base);
245 xmlChar *base = xmlNodeGetBase(trav->doc, trav); local
247 if (base
643 xmlAttrPtr base; local
747 xmlAttrPtr base; local
873 xmlAttrPtr base; local
928 xmlAttrPtr base; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_array.c850 zend_class_entry *base; local
874 base = (Z_OBJ_HT_P(obj) == &spl_handler_ArrayIterator) ? spl_ce_ArrayIterator : spl_ce_ArrayObject;
875 zname = spl_gen_private_prop_name(base, "storage", sizeof("storage")-1 TSRMLS_CC);
/PHP_TRUNK/ext/standard/
H A Dmath.c692 /* {{{ proto number pow(number base, number exponent)
693 Returns base raised to the power of exponent. Returns integer result when possible */
774 /* {{{ proto float log(float number, [float base])
775 Returns the natural logarithm of the number, or the base log if base is specified */
778 double num, base = 0; local
781 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &num, &base) == FAILURE) {
788 Z_PARAM_DOUBLE(base)
797 if (base == 2.0) {
802 if (base
929 _php_math_basetolong(zval *arg, int base) argument
974 _php_math_basetozval(zval *arg, int base, zval *ret) argument
[all...]
H A Dscanf.c24 This file contains the base code which implements sscanf and by extension
590 int base = 0; local
758 base = 10;
763 base = 0;
768 base = 8;
774 base = 16;
779 base = 10;
951 * a number. If we are unsure of the base, it
952 * indicates that we are in base 8 or base 1
[all...]
H A Dtype.c136 /* {{{ proto int intval(mixed var [, int base])
137 Get the integer value of a variable using the optional base for the conversion */
141 long base = 10; local
147 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &num, &base) == FAILURE) {
154 Z_PARAM_LONG(base)
159 convert_to_long_base(return_value, base);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c106 char *base = (char *) mh_arg2; local
108 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
114 p = (long *) (base + (size_t)mh_arg1);
143 char *base = (char *) mh_arg2; local
145 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
151 p = (long *) (base + (size_t)mh_arg1);
188 char *base = (char *) mh_arg2; local
190 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
196 p = (double *) (base + (size_t)mh_arg1);
228 char *base local
230 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
[all...]
/PHP_TRUNK/ext/xml/
H A Dxml.c979 const XML_Char *base,
991 _xml_xmlchar_zval(base, 0, parser->target_encoding, &args[2]);
1004 const XML_Char *base,
1015 _xml_xmlchar_zval(base, 0, parser->target_encoding, &args[2]);
1027 const XML_Char *base,
1039 _xml_xmlchar_zval(base, 0, parser->target_encoding, &args[2]);
977 _xml_unparsedEntityDeclHandler(void *userData, const XML_Char *entityName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId, const XML_Char *notationName) argument
1002 _xml_notationDeclHandler(void *userData, const XML_Char *notationName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId) argument
1025 _xml_externalEntityRefHandler(XML_Parser parserPtr, const XML_Char *openEntityNames, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId) argument

Completed in 64 milliseconds

12