Searched defs:base (Results 1 - 25 of 34) 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_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_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_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);
332 ZEND_API void convert_to_long_base(zval *op, int base);
H A Dzend_operators.c369 ZEND_API void convert_to_long_base(zval *op, int base) /* {{{ */ argument
393 Z_LVAL_P(op) = strtol(strval, NULL, base);
/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
639 xmlAttrPtr base; local
743 xmlAttrPtr base; local
869 xmlAttrPtr base; local
924 xmlAttrPtr base; local
[all...]
H A Dphp_encoding.c1505 zval *base; local
1513 base = master_to_zval_int(enc, data TSRMLS_CC);
1514 set_zval_property(ret, "_", base TSRMLS_CC);
1558 zval *base; local
1566 base = master_to_zval_int(sdlType->encode, data TSRMLS_CC);
1567 set_zval_property(ret, "_", base TSRMLS_CC);
/PHP_TRUNK/ext/standard/
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);
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 */
659 /* {{{ proto float log(float number, [float base])
660 Returns the natural logarithm of the number, or the base log if base is specified */
663 double num, base = 0; local
665 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &num, &base) == FAILURE) {
671 if (base <= 0.0) {
672 php_error_docref(NULL TSRMLS_CC, E_WARNING, "base must be greater than 0");
675 if (base
758 _php_math_basetolong(zval *arg, int base) argument
803 _php_math_basetozval(zval *arg, int base, zval *ret) argument
867 _php_math_longtobase(zval *arg, int base) argument
[all...]
/PHP_TRUNK/ext/xml/
H A Dxml.c1051 const XML_Char *base,
1063 args[2] = _xml_xmlchar_zval(base, 0, parser->target_encoding);
1077 const XML_Char *base,
1088 args[2] = _xml_xmlchar_zval(base, 0, parser->target_encoding);
1101 const XML_Char *base,
1113 args[2] = _xml_xmlchar_zval(base, 0, parser->target_encoding);
1049 _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
1075 _xml_notationDeclHandler(void *userData, const XML_Char *notationName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId) argument
1099 _xml_externalEntityRefHandler(XML_Parser parserPtr, const XML_Char *openEntityNames, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId) argument
/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/ext/interbase/
H A Dibase_query.c1512 char const *base = "FIELD"; /* use 'FIELD' if name is empty */ local
1523 base = alias;
1529 snprintf(alias = buf, sizeof(buf), "%s_%02d", base, i++);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c110 char *base = (char *) mh_arg2; local
112 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
118 p = (long *) (base + (size_t)mh_arg1);
148 char *base = (char *) mh_arg2; local
150 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
156 p = (long *) (base + (size_t)mh_arg1);
194 char *base = (char *) mh_arg2; local
196 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
202 p = (double *) (base + (size_t)mh_arg1);
235 char *base local
237 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
[all...]
/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
296 static void gmp_strval(zval *result, mpz_t gmpnum, long base);
297 static int convert_to_gmp(mpz_t gmpnumber, zval *val, int base TSRMLS_DC);
717 static int convert_to_gmp(mpz_t gmpnumber, zval *val, int base TSRMLS_DC)
733 base = 16;
735 } else if (base !
759 gmp_strval(zval *result, mpz_t gmpnum, long base) argument
1034 long base = 0; local
1076 long base = 10; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_array.c809 zend_class_entry *base; local
832 base = (Z_OBJ_HT_P(obj) == &spl_handler_ArrayIterator) ? spl_ce_ArrayIterator : spl_ce_ArrayObject;
833 zname = spl_gen_private_prop_name(base, "storage", sizeof("storage")-1, &name_len TSRMLS_CC);

Completed in 62 milliseconds

12