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/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/ext/pcre/pcrelib/sljit/
H A DsljitNativeMIPS_common.c537 sljit_ins base; local
559 base = S(SLJIT_LOCALS_REG);
565 base = S(TMP_REG2);
569 FAIL_IF(push_inst(compiler, STACK_STORE | base | TA(RETURN_ADDR_REG) | IMM(local_size - 1 * (sljit_si)sizeof(sljit_sw)), MOVABLE_INS));
571 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(SLJIT_SAVED_REG1) | IMM(local_size - 2 * (sljit_si)sizeof(sljit_sw)), MOVABLE_INS));
573 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(SLJIT_SAVED_REG2) | IMM(local_size - 3 * (sljit_si)sizeof(sljit_sw)), MOVABLE_INS));
575 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(SLJIT_SAVED_REG3) | IMM(local_size - 4 * (sljit_si)sizeof(sljit_sw)), MOVABLE_INS));
577 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(SLJIT_SAVED_EREG1) | IMM(local_size - 5 * (sljit_si)sizeof(sljit_sw)), MOVABLE_INS));
579 FAIL_IF(push_inst(compiler, STACK_STORE | base | T(SLJIT_SAVED_EREG2) | IMM(local_size - 6 * (sljit_si)sizeof(sljit_sw)), MOVABLE_INS));
613 sljit_ins base; local
735 sljit_si tmp_ar, base, delay_slot; local
[all...]
H A DsljitNativeSPARC_common.c560 sljit_si base, arg2, delay_slot; local
569 base = arg & REG_MASK;
583 else if ((flags & LOAD_DATA) && ((flags & MEM_MASK) <= GPR_REG) && reg != base && reg != OFFS_REG(arg))
604 else if ((flags & LOAD_DATA) && ((flags & MEM_MASK) <= GPR_REG) && reg != base)
614 if (!base)
617 return push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | dest | S1(base) | S2(arg2), delay_slot);
618 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | dest | S1(base) | S2(arg2), delay_slot));
619 return push_inst(compiler, ADD | D(base) | S1(base) | S2(arg2), DR(base));
[all...]
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/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.c623 char *base = (char *) mh_arg2; local
625 char *base; local
627 base = (char *) ts_resource(*((int *) mh_arg2));
630 p = (zend_bool *) (base+(size_t) mh_arg1);
652 char *base = (char *) mh_arg2; local
654 char *base; local
656 base = (char *) ts_resource(*((int *) mh_arg2));
659 p = (zend_long *) (base+(size_t) mh_arg1);
670 char *base = (char *) mh_arg2; local
672 char *base; local
693 char *base = (char *) mh_arg2; local
695 char *base; local
711 char *base = (char *) mh_arg2; local
713 char *base; local
729 char *base = (char *) mh_arg2; local
731 char *base; local
[all...]
/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.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/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/standard/
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 Dmath.c709 /* {{{ proto number pow(number base, number exponent)
710 Returns base raised to the power of exponent. Returns integer result when possible */
791 /* {{{ proto float log(float number, [float base])
792 Returns the natural logarithm of the number, or the base log if base is specified */
795 double num, base = 0; local
798 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &num, &base) == FAILURE) {
805 Z_PARAM_DOUBLE(base)
814 if (base == 2.0) {
819 if (base
946 _php_math_basetolong(zval *arg, int base) argument
991 _php_math_basetozval(zval *arg, int base, zval *ret) argument
[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 zend_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, (int)base);
/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
/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/main/
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);
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_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h41 /* {{{ breakpoint base structure */
49 /* {{{ breakpoint base */
97 phpdbg_breakopline_t *base; member in struct:_phpdbg_breakline_t
H A Dphpdbg_bp.c428 new_break.base = NULL;
459 opline_break.base = brake;
918 if ((brake = zend_hash_index_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_OPLINE], (zend_ulong) opline)) && brake->base) {
919 return (phpdbg_breakbase_t *)brake->base;
1061 phpdbg_breakbase_t *base = NULL; local
1070 (base = phpdbg_find_conditional_breakpoint(execute_data TSRMLS_CC))) {
1074 if ((PHPDBG_G(flags) & PHPDBG_HAS_FILE_BP) && (base = phpdbg_find_breakpoint_file(&execute_data->func->op_array TSRMLS_CC))) {
1081 if ((base = phpdbg_find_breakpoint_symbol(execute_data->func TSRMLS_CC))) {
1087 if ((PHPDBG_G(flags) & PHPDBG_HAS_OPLINE_BP) && (base = phpdbg_find_breakpoint_opline((phpdbg_opline_ptr_t) execute_data->opline TSRMLS_CC))) {
1091 if ((PHPDBG_G(flags) & PHPDBG_HAS_OPCODE_BP) && (base
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib.c882 char *base = (char *) mh_arg2; local
884 char *base; local
886 base = (char *) ts_resource(*((int *) mh_arg2));
914 p = (zend_long *) (base+(size_t) mh_arg1);
/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 = (zend_long *) (base + (size_t)mh_arg1);
142 char *base = (char *) mh_arg2; local
144 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
150 p = (zend_long *) (base + (size_t)mh_arg1);
186 char *base = (char *) mh_arg2; local
188 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
194 p = (double *) (base + (size_t)mh_arg1);
225 char *base local
227 char *base = (char *) ts_resource(*((int *) mh_arg2)); local
[all...]

Completed in 63 milliseconds

12