| /PHP_5_5/ext/bcmath/libbcmath/src/ |
| H A D | output.c | 85 /* 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 D | raisemod.c | 46 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_5/ext/soap/interop/ |
| H A D | index.php | 10 $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_5_5/main/ |
| H A D | mergesort.c | 105 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 D | fopen_wrappers.c | 88 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_5_5/sapi/fpm/fpm/ |
| H A D | fpm_trace_mach.c | 86 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_5/win32/ |
| H A D | strtoi64.c | 8 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_5/ext/mbstring/oniguruma/ |
| H A D | regparse.h | 66 #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_5_5/Zend/ |
| H A D | zend_ini.c | 553 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 D | zend_operators.c | 369 ZEND_API void convert_to_long_base(zval *op, int base) /* {{{ */ argument 393 Z_LVAL_P(op) = strtol(strval, NULL, base);
|
| H A D | zend_qsort.c | 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 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 D | zend_operators.h | 134 int base = 10, digits = 0, dp_or_e = 0; local 162 base = 16; 176 if (ZEND_IS_DIGIT(*ptr) || (base == 16 && ZEND_IS_XDIGIT(*ptr))) { 178 } else if (base == 10) { 196 if (base == 10) { 255 *lval = strtol(str, NULL, base); 331 ZEND_API void convert_to_long_base(zval *op, int base);
|
| /PHP_5_5/ext/date/lib/ |
| H A D | tm2unixtime.c | 171 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) argument 178 do_range_limit_days_relative(&base->y, &base->m, &rt->y, &rt->m, &rt->d, rt->invert);
|
| /PHP_5_5/ext/gmp/ |
| H A D | gmp.c | 43 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 431 static int convert_to_gmp(mpz_t * *gmpnumber, zval **val, int base TSRMLS_DC) 454 base = 16; 456 } else if (base != 16 && (numstr[1] == 'b' || numstr[1] == 'B')) { 457 base = 2; 462 ret = mpz_init_set_str(**gmpnumber, (skip_lead ? &numstr[2] : numstr), base); 758 long base=0; local 805 long base = 10; local [all...] |
| /PHP_5_5/ext/interbase/ |
| H A D | ibase_query.c | 1514 char const *base = "FIELD"; /* use 'FIELD' if name is empty */ local 1525 base = alias; 1531 snprintf(alias = buf, sizeof(buf), "%s_%02d", base, i++);
|
| /PHP_5_5/ext/soap/ |
| H A D | php_schema.c | 197 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 D | php_encoding.c | 1507 zval *base; local 1515 base = master_to_zval_int(enc, data TSRMLS_CC); 1516 set_zval_property(ret, "_", base TSRMLS_CC); 1560 zval *base; local 1568 base = master_to_zval_int(sdlType->encode, data TSRMLS_CC); 1569 set_zval_property(ret, "_", base TSRMLS_CC);
|
| /PHP_5_5/ext/standard/ |
| H A D | math.c | 597 /* {{{ 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 D | scanf.c | 24 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 D | type.c | 132 /* {{{ 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_5/ext/xml/ |
| H A D | xml.c | 1041 const XML_Char *base, 1053 args[2] = _xml_xmlchar_zval(base, 0, parser->target_encoding); 1067 const XML_Char *base, 1078 args[2] = _xml_xmlchar_zval(base, 0, parser->target_encoding); 1091 const XML_Char *base, 1103 args[2] = _xml_xmlchar_zval(base, 0, parser->target_encoding); 1039 _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 1065 _xml_notationDeclHandler(void *userData, const XML_Char *notationName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId) argument 1089 _xml_externalEntityRefHandler(XML_Parser parserPtr, const XML_Char *openEntityNames, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId) argument
|
| /PHP_5_5/ext/session/ |
| H A D | session.c | 690 char *base = (char *) mh_arg2; local 692 char *base; local 694 base = (char *) ts_resource(*((int *) mh_arg2)); 697 p = (smart_str *) (base+(size_t) mh_arg1); 2207 /* Register base class */
|
| /PHP_5_5/ext/spl/ |
| H A D | spl_array.c | 800 zend_class_entry *base; local 823 base = (Z_OBJ_HT_P(obj) == &spl_handler_ArrayIterator) ? spl_ce_ArrayIterator : spl_ce_ArrayObject; 824 zname = spl_gen_private_prop_name(base, "storage", sizeof("storage")-1, &name_len TSRMLS_CC);
|
| /PHP_5_5/ext/opcache/ |
| H A D | zend_accelerator_module.c | 79 char *base = (char *) mh_arg2; local 81 char *base = (char *) ts_resource(*((int *) mh_arg2)); local 87 p = (long *) (base + (size_t)mh_arg1); 117 char *base = (char *) mh_arg2; local 119 char *base = (char *) ts_resource(*((int *) mh_arg2)); local 125 p = (long *) (base + (size_t)mh_arg1); 163 char *base = (char *) mh_arg2; local 165 char *base = (char *) ts_resource(*((int *) mh_arg2)); local 171 p = (double *) (base + (size_t)mh_arg1); 204 char *base local 206 char *base = (char *) ts_resource(*((int *) mh_arg2)); local [all...] |
| /PHP_5_5/ext/phar/ |
| H A D | phar_object.c | 1443 char *fname, *error = NULL, *base = p_obj->b, *opened, *save = NULL, *temp = NULL; local 1511 zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "Iterator %v returns an SplFileInfo object, so base directory must be specified", ce->name); 1588 temp = expand_filepath(base, NULL TSRMLS_CC); 1597 base = temp; 1598 base_len = strlen(base); 1600 if (strstr(fname, base)) { 1619 zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Iterator %v returned a path \"%s\" that is not in the base directory \"%s\"", ce->name, fname, base); 1925 * If base directory is specified, then the key will be ignored, and instead the portion of 1926 * the current value minus the base director 1935 char *base = NULL; local [all...] |