/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | dtoa.c | 105 p = begin; in lexbor_grisu2_gen() 144 lexbor_grisu2_round(begin, p - begin, delta, tmp, in lexbor_grisu2_gen() 178 return p - begin; in lexbor_grisu2_gen() 252 *begin = '-'; in lexbor_write_exponent() 253 begin += 1; in lexbor_write_exponent() 296 memset(&begin[length], '0', (end - &begin[length])); in lexbor_prettify() 309 memmove(&begin[kk + 1], &begin[kk], length - kk); in lexbor_prettify() 324 memmove(&begin[offset], begin, length); in lexbor_prettify() 358 memmove(&begin[2], &begin[1], length - 1); in lexbor_prettify() 359 begin[1] = '.'; in lexbor_prettify() [all …]
|
H A D | print.c | 40 const char *begin, *cdata; in lexbor_vprintf_size() local 44 begin = format; in lexbor_vprintf_size() 68 size += (format - begin) + 1; in lexbor_vprintf_size() 76 begin = format + 1; in lexbor_vprintf_size() 79 return size + (format - begin); in lexbor_vprintf_size() 103 const char *begin, *cdata; in lexbor_vsprintf() local 107 begin = format; in lexbor_vsprintf() 124 size = format - begin; in lexbor_vsprintf() 133 size = format - begin; in lexbor_vsprintf() 150 begin = format + 1; in lexbor_vsprintf() [all …]
|
H A D | mraw.c | 261 memcpy(begin, &new_size, sizeof(size_t)); in lexbor_mraw_realloc_tail() 307 memcpy(begin, &size, sizeof(size_t)); in lexbor_mraw_realloc_tail() 317 void *begin; in lexbor_mraw_realloc() local 322 memcpy(&size, begin, sizeof(size_t)); in lexbor_mraw_realloc() 360 memcpy(begin, &new_size, sizeof(size_t)); in lexbor_mraw_realloc() 363 begin = &((uint8_t *) data)[diff]; in lexbor_mraw_realloc() 365 lexbor_mraw_meta_set(begin, &new_size); in lexbor_mraw_realloc() 377 begin = lexbor_mraw_alloc(mraw, new_size); in lexbor_mraw_realloc() 378 if (begin == NULL) { in lexbor_mraw_realloc() 383 memcpy(begin, data, sizeof(uint8_t) * size); in lexbor_mraw_realloc() [all …]
|
H A D | in.c | 67 node->begin = buf; in lexbor_in_node_make() 73 node->offset = last_node->offset + (last_node->end - last_node->begin); in lexbor_in_node_make() 122 new_node->offset = node->offset + (pos - node->begin); in lexbor_in_node_split() 124 new_node->begin = pos; in lexbor_in_node_split() 151 while (node && (node->begin > pos || node->end < pos)) { in lexbor_in_node_find() 183 pos = node->begin; in lexbor_in_node_pos_up() 198 if (node->begin <= pos) { in lexbor_in_node_pos_down() 211 return node->begin; in lexbor_in_node_pos_down() 214 offset = node->begin - pos; in lexbor_in_node_pos_down()
|
H A D | array.c | 170 lexbor_array_delete(lexbor_array_t *array, size_t begin, size_t length) in lexbor_array_delete() argument 172 if (begin >= array->length || length == 0) { in lexbor_array_delete() 176 size_t end_len = begin + length; in lexbor_array_delete() 179 array->length = begin; in lexbor_array_delete() 183 memmove(&array->list[begin], &array->list[end_len], in lexbor_array_delete()
|
H A D | array_obj.c | 158 lexbor_array_obj_delete(lexbor_array_obj_t *array, size_t begin, size_t length) in lexbor_array_obj_delete() argument 160 if (begin >= array->length || length == 0) { in lexbor_array_obj_delete() 164 size_t end_len = begin + length; in lexbor_array_obj_delete() 167 array->length = begin; in lexbor_array_obj_delete() 171 memmove(&array->list[ begin * array->struct_size ], in lexbor_array_obj_delete()
|
H A D | in.h | 38 const lxb_char_t *begin; member 104 return node->begin; in lexbor_in_node_begin() 140 return node->begin <= data && node->end >= data; in lexbor_in_segment()
|
H A D | dtoa.h | 21 lexbor_dtoa(double value, lxb_char_t *begin, size_t len);
|
/php-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | state.c | 273 begin = ++data; in lxb_css_syntax_state_comment() 436 begin = data; in lxb_css_syntax_state_whitespace() 536 begin = data; in lxb_css_syntax_state_string() 1628 begin = data; in lxb_css_syntax_state_consume_numeric() 1670 begin = data++; in lxb_css_syntax_state_consume_numeric() 1711 begin = data; in lxb_css_syntax_state_decimal() 1834 begin = data; in lxb_css_syntax_state_decimal() 2037 begin = data; in lxb_css_syntax_state_consume_ident() 2249 lxb_css_syntax_token_base(ws)->begin = begin; in lxb_css_syntax_state_ident_like() 2315 begin = data; in lxb_css_syntax_state_url() [all …]
|
H A D | tokenizer.c | 284 begin = tkz->in_begin; in lxb_css_syntax_tokenizer_token() 325 begin = lxb_css_syntax_state_minus_process(tkz, token, begin, end); in lxb_css_syntax_tokenizer_token() 328 begin = lxb_css_syntax_state_plus_process(tkz, token, begin, end); in lxb_css_syntax_tokenizer_token() 352 if (begin >= end) { in lxb_css_syntax_tokenizer_token() 361 lxb_css_syntax_token_base(token)->begin = begin; in lxb_css_syntax_tokenizer_token() 370 begin = lxb_css_syntax_state_res_map[*begin](tkz, token, begin, end); in lxb_css_syntax_tokenizer_token() 376 if (begin == NULL) { in lxb_css_syntax_tokenizer_token() 380 tkz->in_begin = begin; in lxb_css_syntax_tokenizer_token() 398 begin = *data; in lxb_css_syntax_tokenizer_next_chunk() 406 *data = begin; in lxb_css_syntax_tokenizer_next_chunk() [all …]
|
H A D | token.c | 401 const lxb_char_t *ptr = begin; in lxb_css_syntax_token_serialize() 403 for (; begin < end; begin++) { in lxb_css_syntax_token_serialize() 405 if (*begin == 0x5C) { in lxb_css_syntax_token_serialize() 406 begin += 1; in lxb_css_syntax_token_serialize() 413 if (begin == end) { in lxb_css_syntax_token_serialize() 419 ptr = begin; in lxb_css_syntax_token_serialize() 424 begin -= 1; in lxb_css_syntax_token_serialize() 425 ptr = begin; in lxb_css_syntax_token_serialize() 429 if (ptr != begin) { in lxb_css_syntax_token_serialize() 441 ptr = begin; in lxb_css_syntax_token_serialize() [all …]
|
/php-src/ext/date/lib/ |
H A D | parse_posix.c | 66 const char *begin = *ptr + 1; in read_description_numeric_abbr() local 84 if (*ptr - begin - 1 < 1) { in read_description_numeric_abbr() 88 return timelib_strndup(begin, *ptr - begin - 1); in read_description_numeric_abbr() 94 const char *begin = *ptr; in read_description_abbr() local 102 if (*ptr - begin < 1) { in read_description_abbr() 106 return timelib_strndup(begin, *ptr - begin); in read_description_abbr() 137 const char *begin = *ptr; in read_number() local 151 if (begin == *ptr) { in read_number() 161 const char *begin; in read_offset() local 167 begin = *ptr; in read_offset() [all …]
|
H A D | parse_iso_intervals.re | 77 timelib_time *begin; 108 const char *begin, *end; 119 begin = *ptr; 126 memcpy(str, begin, end - begin); 227 current = s->begin; 373 in.begin->y = TIMELIB_UNSET; 379 in.begin->us = 0; 380 in.begin->z = 0; 381 in.begin->dst = 0; 382 in.begin->is_localtime = 0; [all …]
|
H A D | parse_iso_intervals.c | 79 timelib_time *begin; member 110 const char *begin, *end; in timelib_get_nr() local 121 begin = *ptr; in timelib_get_nr() 128 memcpy(str, begin, end - begin); in timelib_get_nr() 905 current = s->begin; in scan() 1015 in.begin->y = TIMELIB_UNSET; in timelib_strtointerval() 1021 in.begin->us = 0; in timelib_strtointerval() 1022 in.begin->z = 0; in timelib_strtointerval() 1023 in.begin->dst = 0; in timelib_strtointerval() 1024 in.begin->is_localtime = 0; in timelib_strtointerval() [all …]
|
H A D | parse_date.re | 489 begin = *ptr; 499 memcpy(str, begin, end - begin); 532 begin = *ptr; 538 memcpy(str, begin + 1, end - begin - 1); 613 memcpy(word, begin, end - begin); 646 memcpy(word, begin, end - begin); 705 memcpy(word, begin, end - begin); 828 memcpy(word, begin, end - begin); 895 if (begin[2] != ':' || begin[5] != ':') { 900 …tmp = sHOUR(strtol(begin, NULL, 10)) + sMIN(strtol(begin + 3, NULL, 10)) + strtol(begin + 6, NULL,… [all …]
|
/php-src/tests/classes/ |
H A D | private_members.phpt | 12 echo __METHOD__ . "(begin)\n"; 31 echo __METHOD__ . "(begin)\n"; 55 derived::__construct(begin) 56 base::__construct(begin)
|
/php-src/Zend/tests/ |
H A D | bug29104.phpt | 9 echo "function g - begin\n"; 25 function g - begin
|
/php-src/ext/pdo_firebird/tests/ |
H A D | transaction_isolation_level_behavior.phpt | 33 echo "begin transaction\n"; 56 echo "begin transaction\n"; 79 echo "begin transaction\n"; 109 echo "begin transaction\n"; 137 begin transaction 145 begin transaction 160 begin transaction
|
/php-src/ext/mbstring/tests/ |
H A D | uuencode_encoding.phpt | 26 testConversion("begin 0644 filename\n#0V%T\n", 'Cat'); 27 testConversion("begin 0644 filename\n::'1T<#HO+W=W=RYW:6MI<&5D:6\$N;W)G#0H`\n", "http://www.wikiped… 28 testConversion("begin 0644 filename\n#`0(#\n", "\x01\x02\x03"); 29 testConversion("begin 0644 filename\n$`0(#\"@``\n", "\x01\x02\x03\n");
|
/php-src/ext/standard/tests/array/ |
H A D | array_intersect_1.phpt | 34 echo "begin ------------ array_uintersect() ---------------------------\n"; 42 echo "begin ------------ array_uintersect_assoc() ---------------------\n"; 50 echo "begin ------------ array_uintersect_uassoc() with ordinary func -\n"; 58 echo "begin ------------ array_uintersect_uassoc() with method --------\n"; 66 begin ------------ array_uintersect() --------------------------- 146 begin ------------ array_uintersect_assoc() --------------------- 219 begin ------------ array_uintersect_uassoc() with ordinary func - 292 begin ------------ array_uintersect_uassoc() with method --------
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | eaw_table.h | 20 int begin; member
|
/php-src/ext/date/tests/ |
H A D | bug44562.phpt | 19 $begin = new DateTime( "2008-07-20T22:44:53+0200" ); 22 $dp = new DatePeriod( $begin, $interval, 10 );
|
/php-src/ext/dom/lexbor/patches/ |
H A D | 0001-Expose-line-and-column-information-for-use-in-PHP.patch | 36 const lxb_char_t *begin; 98 const lxb_char_t *begin; 112 tkz->token->begin = v_begin; \ 162 - entry->begin = token->begin; 166 + entry->length = token->end - token->begin; 178 - const lxb_char_t *begin;
|
/php-src/ext/spl/ |
H A D | spl_fixedarray.c | 93 while (begin != end) { in spl_fixedarray_init_elems() 94 ZVAL_NULL(begin++); in spl_fixedarray_init_elems() 122 ZEND_ASSERT(array->size - offset >= end - begin); in spl_fixedarray_copy_range() 125 while (begin != end) { in spl_fixedarray_copy_range() 126 ZVAL_COPY(to++, begin++); in spl_fixedarray_copy_range() 135 zval *begin = from->elements, *end = from->elements + size; in spl_fixedarray_copy_ctor() local 136 spl_fixedarray_copy_range(to, 0, begin, end); in spl_fixedarray_copy_ctor() 147 while (begin != end) { in spl_fixedarray_dtor_range() 148 zval_ptr_dtor(begin++); in spl_fixedarray_dtor_range() 161 while (begin != end) { in spl_fixedarray_dtor() [all …]
|
/php-src/ext/pgsql/tests/ |
H A D | 80_bug32223.phpt | 13 begin 36 begin
|