Searched refs:base (Results 1 - 25 of 44) sorted by relevance

12

/PHP_5_4/ext/bcmath/libbcmath/src/
H A Dbcmath.h62 /* The base used in storing the numbers in n_value above.
142 _PROTOTYPE(int bc_raisemod, (bc_num base, bc_num expo, bc_num mod,
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_5_4/ext/soap/tests/soap12/
H A Dsoap12-test.inc112 return $ref->RelativeReference->base.$ref->RelativeReference->href;
/PHP_5_4/ext/spl/examples/
H A Dclass_tree.php34 /** @param base base class to collect sub classes for
37 function __construct($base, $check_interfaces = false)
42 if (strcasecmp($parent, $base) == 0)
54 if (strcasecmp($iname, $base) == 0)
70 if (strcasecmp($iname, $base) == 0)
/PHP_5_4/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) {
/PHP_5_4/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_5_4/win32/
H A Dphp_strtoi64.h5 PHPAPI int64_t _strtoi64(const char *nptr, char **endptr, int base);
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_5_4/ext/intl/collator/
H A Dcollator_is_numeric.c128 static long collator_u_strtol(nptr, endptr, base)
131 register int base;
149 * If base is 0, allow 0x for hex and 0 for octal, else
150 * assume decimal; if base is already 16, allow 0x.
160 if ((base == 0 || base == 16) &&
165 base = 16;
167 if (base == 0)
168 base = (c == 0x30 /*'0'*/) ? 8 : 10;
173 * base
[all...]
/PHP_5_4/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>
H A Dclient_round2_interop.php42 var $currentTest = 'base'; // see $tests above
59 var $tests = array('base','GroupB', 'GroupC');
77 $this->localEndpoint['base'] = (object)array(
151 $test = 'base';
171 * @param string base (see local var $tests)
176 function getEndpoints($base = 'base', $all = 0) {
177 if (!$this->_getEndpoints($base, $all)) {
178 return $this->fetchEndpoints($base);
187 * @param string base (se
[all...]
/PHP_5_4/ext/spl/internal/
H A Diteratoriterator.inc36 * downcast to is actually a base class of the specified iterator to wrap.
/PHP_5_4/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
639 xmlAttrPtr base; local
743 xmlAttrPtr base; local
869 xmlAttrPtr base; local
924 xmlAttrPtr base; local
[all...]
/PHP_5_4/ext/standard/
H A Dmath.c597 /* {{{ proto number pow(number base, number exponent)
598 Returns base raised to the power of exponent. Returns integer result when possible */
611 /* if both base and exponent were longs, we'll try to get a long out */
695 /* {{{ proto float log(float number, [float base])
696 Returns the natural logarithm of the number, or the base log if base is specified */
699 double num, base = 0; local
701 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &num, &base) == FAILURE) {
707 if (base <= 0.0) {
708 php_error_docref(NULL TSRMLS_CC, E_WARNING, "base mus
794 _php_math_basetolong(zval *arg, int base) argument
839 _php_math_basetozval(zval *arg, int base, zval *ret) argument
903 _php_math_longtobase(zval *arg, int base) argument
[all...]
H A Dphp_math.h27 PHPAPI char * _php_math_longtobase(zval *arg, int base);
28 PHPAPI long _php_math_basetolong(zval *arg, int base);
29 PHPAPI int _php_math_basetozval(zval *arg, int base, zval *ret);
30 PHPAPI char * _php_math_zvaltobase(zval *arg, int base TSRMLS_DC);
H A Dscanf.c24 This file contains the base code which implements sscanf and by extension
590 int base = 0; local
764 base = 10;
769 base = 0;
774 base = 8;
780 base = 16;
785 base = 10;
962 * a number. If we are unsure of the base, it
963 * indicates that we are in base 8 or base 1
[all...]
H A Dtype.c132 /* {{{ proto int intval(mixed var [, int base])
133 Get the integer value of a variable using the optional base for the conversion */
138 int base; local
145 base = 10;
152 base = arg_base;
160 convert_to_long_base(return_value, base);
/PHP_5_4/Zend/
H A Dzend_ini.c553 char *base = (char *) mh_arg2; local
555 char *base; local
557 base = (char *) ts_resource(*((int *) mh_arg2));
560 p = (zend_bool *) (base+(size_t) mh_arg1);
582 char *base = (char *) mh_arg2; local
584 char *base; local
586 base = (char *) ts_resource(*((int *) mh_arg2));
589 p = (long *) (base+(size_t) mh_arg1);
600 char *base = (char *) mh_arg2; local
602 char *base; local
623 char *base = (char *) mh_arg2; local
625 char *base; local
641 char *base = (char *) mh_arg2; local
643 char *base; local
659 char *base = (char *) mh_arg2; local
661 char *base; local
[all...]
H A Dzend_operators.h112 int base = 10, digits = 0, dp_or_e = 0; local
140 base = 16;
154 if (ZEND_IS_DIGIT(*ptr) || (base == 16 && ZEND_IS_XDIGIT(*ptr))) {
156 } else if (base == 10) {
174 if (base == 10) {
233 *lval = strtol(str, NULL, base);
308 ZEND_API void convert_to_long_base(zval *op, int base);
H A Dzend_qsort.c56 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare TSRMLS_DC) argument
68 begin_stack[0] = (char *) base;
69 end_stack[0] = (char *) base + ((nmemb - 1) * siz);
H A Dzend_qsort.h25 ZEND_API void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare TSRMLS_DC);
/PHP_5_4/ext/date/lib/
H A Dtimelib.h86 void timelib_do_normalize(timelib_time *base);
87 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt);
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_5_4/ext/gmp/
H A Dgmp.c43 ZEND_ARG_INFO(0, base)
52 ZEND_ARG_INFO(0, base)
111 ZEND_ARG_INFO(0, base)
116 ZEND_ARG_INFO(0, base)
319 /* The maximum base for input and output conversions is 62 from GMP 4.2
405 static int convert_to_gmp(mpz_t * *gmpnumber, zval **val, int base TSRMLS_DC)
428 base = 16;
430 } else if (base != 16 && (numstr[1] == 'b' || numstr[1] == 'B')) {
431 base = 2;
436 ret = mpz_init_set_str(**gmpnumber, (skip_lead ? &numstr[2] : numstr), base);
732 long base=0; local
779 long base = 10; local
[all...]

Completed in 49 milliseconds

12