Home
last modified time | relevance | path

Searched refs:input (Results 51 – 75 of 690) sorted by relevance

12345678910>>...28

/PHP-7.4/ext/hash/
H A Dhash_fnv.c78 PHP_HASH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, in PHP_FNV132Update() argument
81 context->state = fnv_32_buf((void *)input, inputLen, context->state, 0); in PHP_FNV132Update()
84 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, in PHP_FNV1a32Update() argument
87 context->state = fnv_32_buf((void *)input, inputLen, context->state, 1); in PHP_FNV1a32Update()
113 PHP_HASH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, in PHP_FNV164Update() argument
116 context->state = fnv_64_buf((void *)input, inputLen, context->state, 0); in PHP_FNV164Update()
119 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, in PHP_FNV1a64Update() argument
122 context->state = fnv_64_buf((void *)input, inputLen, context->state, 1); in PHP_FNV1a64Update()
H A Dhash_crc32.c29 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32Update() argument
34 context->state = (context->state << 8) ^ crc32_table[(context->state >> 24) ^ (input[i] & 0xff)]; in PHP_CRC32Update()
38 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32BUpdate() argument
43 context->state = (context->state >> 8) ^ crc32b_table[(context->state ^ input[i]) & 0xff]; in PHP_CRC32BUpdate()
47 PHP_HASH_API void PHP_CRC32CUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) in PHP_CRC32CUpdate() argument
52 context->state = (context->state >> 8) ^ crc32c_table[(context->state ^ input[i]) & 0xff]; in PHP_CRC32CUpdate()
H A Dhash_joaat.c42 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, size_t inputL… in PHP_JOAATUpdate() argument
44 context->state = joaat_buf((void *)input, inputLen, context->state); in PHP_JOAATUpdate()
76 unsigned char *input = (unsigned char *)buf; in joaat_buf() local
79 hval += input[i]; in joaat_buf()
/PHP-7.4/ext/mbstring/ucgendat/
H A Ductest.php21 function parseDataFile(string $input) { argument
22 $lines = explode("\n", $input);
69 function testUnicodeData(string $input) { argument
73 foreach (parseDataFile($input) as $fields) {
97 function testCaseFolding(string $input) { argument
98 foreach (parseDataFile($input) as $fields) {
113 function testSpecialCasing(string $input) { argument
114 foreach (parseDataFile($input) as $fields) {
/PHP-7.4/ext/standard/tests/array/
H A Darray_walk_recursive_variation5.phpt2 Test array_walk_recursive() function : usage variations - 'input' argument containing reference var…
5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
21 // 'input' array containing references to above variables
22 $input = array(&$value1, array(&$value2, -35), array(&$value3, 0), array(&$value4));
26 * Parameters : $value - values in given input array
27 * $key - keys in given input array
39 var_dump( array_walk_recursive($input, "callback"));
H A Darray_walk_variation5.phpt2 Test array_walk() function : usage variations - 'input' argument containing reference variables
5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata])
21 // 'input' array containing references to above variables
22 $input = array(&$value1, &$value2, -35, &$value3, 0, &$value4);
26 * Parameters : $value - values in given input array
27 * $key - keys in given input array
39 var_dump( array_walk($input, "callback"));
H A Darray_unique_variation8.phpt5 /* Prototype : array array_unique(array $input)
12 * two dimensional arrays for $input argument.
15 echo "*** Testing array_unique() : two dimensional array for \$input argument ***\n";
18 $input = array(
25 var_dump( array_unique($input, SORT_STRING) );
30 *** Testing array_unique() : two dimensional array for $input argument ***
H A Darray_pad_variation5.phpt5 /* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value)
6 * Description: Returns a copy of input array padded with pad_value to size pad_size
13 * The $input and $pad_size arguments passed are fixed values.
18 // initialize the $input and $pad_size argument
19 $input = array(1, 2, 3);
29 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_value'
30 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_value'
H A Darray_walk_variation4.phpt2 Test array_walk() function : usage variations - 'input' array with subarray
5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata])
18 * Parameters : $value - values in given 'input' array
19 * $key - keys in given 'input' array
31 $input = array(
39 var_dump( array_walk( $input, "callback"));
H A Darray_values_basic.phpt5 /* Prototype : array array_values(array $input)
6 * Description: Return just the values from the input array
18 $input = array('zero', 'one', 'two', 'three' => 3, 10 => 'ten');
21 var_dump( array_values($input) );
H A Darray_filter_object.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
10 /* This file uses 'input' array with different types of objects and passes
69 function always_true($input)
75 function always_false($input)
80 // 'input' array containing objects as elements
81 $input = array(
91 var_dump( array_filter($input) );
94 var_dump( array_filter($input, "always_true") );
97 var_dump( array_filter($input, "always_false") );
H A Darray_filter_variation3.phpt2 Test array_filter() function : usage variations - Different types of array for 'input' argument
5 /* Prototype : array array_filter(array $input [, callback $callback])
11 * Passing different types of array as 'input' argument.
15 function always_false($input)
21 function always_true($input)
26 echo "*** Testing array_filter() : usage variations - different types of array for 'input' argument…
28 // different types of 'input' array
41 // loop through each element of 'input' with default callback
53 *** Testing array_filter() : usage variations - different types of array for 'input' argument***
H A Darray_flip_variation2.phpt2 Test array_flip() function : usage variations - 'input' array with different keys
5 /* Prototype : array array_flip(array $input)
11 * Trying different keys in $input array argument
14 echo "*** Testing array_flip() : different keys for 'input' array argument ***\n";
29 $input = array(
67 var_dump( array_flip($input) );
72 *** Testing array_flip() : different keys for 'input' array argument ***
H A Dpacked_001.phpt18 foreach ($inputs as $input) {
19 print_r(array_keys($input));
20 print_r(array_values($input));
H A Darray_slice_variation9.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
13 * 2. $input argument is passed by reference
23 $input = array(3 => &$val1, 2 => &$val2, 1 => &$val3);
24 var_dump(array_slice($input, 1, 2));
28 var_dump(array_slice($input, 1, 2, true));
H A Darray_walk_recursive_variation4.phpt2 Test array_walk_recursive() function : usage variations - 'input' array with subarray
5 /* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
18 * Parameters : $value - values in given 'input' array
19 * $key - keys in given 'input' array
31 $input = array(
39 var_dump( array_walk_recursive( $input, "callback"));
H A Darray_slice_variation10.phpt5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
16 $input = array ('one' => 'un', 'two' => 'deux', 23 => 'twenty-three', 'zero');
19 var_dump($result = array_slice($input, 2));
24 echo key($input) . " => " . current ($input) . "\n";
H A Dshuffle_basic1.phpt13 * changes in the input array by printing the input array
27 // printing the input array with integers before the shuffle operation
28 echo "\n-- input array of integers before shuffle() function is applied --\n";
31 // applying shuffle() function on the input array of integers
40 // printing the input array with strings before the shuffle operation
41 echo "\n-- input array of strings before shuffle() function is applied --\n";
44 // applying shuffle() function on the input array of strings
56 -- input array of integers before shuffle() function is applied --
103 -- input array of strings before shuffle() function is applied --
H A Darray_walk_variation3.phpt2 Test array_walk() function : usage variations - 'input' array with different values
5 /* Prototype : bool array_walk(array $input, string $funcname [, mixed $userdata])
11 * Testing array_walk() with following types of 'input' arrays:
19 * $key - keys in given input array
28 echo "*** Testing array_walk() : 'input' array with different values***\n";
30 // different arrays as input
65 *** Testing array_walk() : 'input' array with different values***
/PHP-7.4/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_complex_rpcenc.inc4 function echoSOAPStructFault($input) {
5 …return new SoapFault("Server", "Fault in response to 'echoSOAPStructFault'.", null, $input, "Compl…
8 function echoBaseStructFault($input) {
9 …return new SoapFault("Server", "Fault in response to 'echoBaseStructFault'.", null, $input, "Compl…
12 function echoExtendedStructFault($input) {
13 …return new SoapFault("Server", "Fault in response to 'echoExtendedStructFault'.", null, $input, "C…
/PHP-7.4/ext/standard/tests/strings/
H A Dparse_str_basic2.phpt2 Test parse_str() function : non-default arg_separator.input specified
4 arg_separator.input = "/"
12 echo "*** Testing parse_str() : non-default arg_separator.input specified ***\n";
21 *** Testing parse_str() : non-default arg_separator.input specified ***
/PHP-7.4/ext/tokenizer/tests/
H A Dbad_character.phpt26 Warning: Unexpected character in input: ' in %s on line %d
32 Warning: Unexpected character in input: '%s' (ASCII=1) state=0 in %s on line %d
38 Warning: Unexpected character in input: '%s' (ASCII=1) state=0 in %s on line %d
40 Warning: Unexpected character in input: '%s' (ASCII=2) state=0 in %s on line %d
42 Warning: Unexpected character in input: '%s' (ASCII=3) state=0 in %s on line %d
/PHP-7.4/ext/filter/tests/
H A Dbug81708.phpt11 $input = "+" . str_repeat("1", 2); // avoid string interning
13 $input,
17 var_dump($input);
/PHP-7.4/ext/standard/
H A Dpack.c725 char *format, *input; in PHP_FUNCTION() local
740 input = ZSTR_VAL(inputarg); in PHP_FUNCTION()
749 input += offset; in PHP_FUNCTION()
940 if (input[inputpos + len] != padn in PHP_FUNCTION()
941 && input[inputpos + len] != pads in PHP_FUNCTION()
942 && input[inputpos + len] != padt in PHP_FUNCTION()
943 && input[inputpos + len] != padc in PHP_FUNCTION()
944 && input[inputpos + len] != padl in PHP_FUNCTION()
968 if (input[inputpos + s] == pad) in PHP_FUNCTION()
1074 issigned = input[inputpos] & 0x80; in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug40609.wsdl26input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:updateMessage" wsaw:Ac…

Completed in 82 milliseconds

12345678910>>...28