Home
last modified time | relevance | path

Searched refs:Size (Results 1 – 25 of 56) sorted by relevance

123

/php-src/sapi/fuzzer/
H A Dfuzzer-mbstring.c29 mb_convert_buf_init(&buf, Size, '?', MBFL_OUTPUTFILTER_ILLEGAL_MODE_CHAR); in convert_encoding()
31 while (Size) { in convert_encoding()
34 ToEncoding->from_wchar(wchar_buf, out_len, &buf, !Size); in convert_encoding()
51 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
52 const uint8_t *Comma1 = memchr(Data, ',', Size); in LLVMFuzzerTestOneInput()
60 Size -= ToEncodingNameLen + 1; in LLVMFuzzerTestOneInput()
62 const uint8_t *Comma2 = memchr(Data, ',', Size); in LLVMFuzzerTestOneInput()
71 Size -= FromEncodingNameLen + 1; in LLVMFuzzerTestOneInput()
76 if (!ToEncoding || !FromEncoding || Size < 2 || fuzzer_request_startup() == FAILURE) { in LLVMFuzzerTestOneInput()
96 Size -= 2; in LLVMFuzzerTestOneInput()
[all …]
H A Dfuzzer-json.c33 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
34 char *data = malloc(Size+1); in LLVMFuzzerTestOneInput()
35 memcpy(data, Data, Size); in LLVMFuzzerTestOneInput()
36 data[Size] = '\0'; in LLVMFuzzerTestOneInput()
45 php_json_parser_init(&parser, &result, data, Size, option, 10); in LLVMFuzzerTestOneInput()
H A Dfuzzer-unserialize.c32 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
33 unsigned char *orig_data = malloc(Size+1); in LLVMFuzzerTestOneInput()
34 memcpy(orig_data, Data, Size); in LLVMFuzzerTestOneInput()
35 orig_data[Size] = '\0'; in LLVMFuzzerTestOneInput()
50 php_var_unserialize(&result, (const unsigned char **) &data, data + Size, &var_hash); in LLVMFuzzerTestOneInput()
H A Dfuzzer-tracing-jit.c19 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
20 if (Size > MAX_SIZE) { in LLVMFuzzerTestOneInput()
35 FILE_NAME, (const char *) Data, Size, /* execute */ 1, opcache_invalidate); in LLVMFuzzerTestOneInput()
44 FILE_NAME, (const char *) Data, Size, /* execute */ 1, NULL); in LLVMFuzzerTestOneInput()
47 FILE_NAME, (const char *) Data, Size, /* execute */ 1, opcache_invalidate); in LLVMFuzzerTestOneInput()
H A Dfuzzer-unserializehash.c37 size_t Size = (Data + FullSize) - Start; in LLVMFuzzerTestOneInput() local
38 unsigned char *orig_data = malloc(Size+1); in LLVMFuzzerTestOneInput()
39 memcpy(orig_data, Start, Size); in LLVMFuzzerTestOneInput()
40 orig_data[Size] = '\0'; in LLVMFuzzerTestOneInput()
55 php_var_unserialize(&result, (const unsigned char **) &data, data + Size, &var_hash); in LLVMFuzzerTestOneInput()
H A Dfuzzer-mbregex.c31 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
34 char *data = malloc(Size+1); in LLVMFuzzerTestOneInput()
35 memcpy(data, Data, Size); in LLVMFuzzerTestOneInput()
36 data[Size] = '\0'; in LLVMFuzzerTestOneInput()
H A Dfuzzer-parser.c28 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
29 if (Size > 6 * 1024) { in LLVMFuzzerTestOneInput()
36 "fuzzer.php", (const char *) Data, Size, /* execute */ 0, /* before_shutdown */ NULL); in LLVMFuzzerTestOneInput()
H A Dfuzzer-function-jit.c19 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
20 if (Size > MAX_SIZE) { in LLVMFuzzerTestOneInput()
35 FILE_NAME, (const char *) Data, Size, /* execute */ 1, opcache_invalidate); in LLVMFuzzerTestOneInput()
43 FILE_NAME, (const char *) Data, Size, /* execute */ 1, opcache_invalidate); in LLVMFuzzerTestOneInput()
H A Dfuzzer-execute.c19 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
20 if (Size > MAX_SIZE) { in LLVMFuzzerTestOneInput()
28 FILE_NAME, (const char *) Data, Size, /* execute */ 1, /* before_shutdown */ NULL); in LLVMFuzzerTestOneInput()
H A Dfuzzer-exif.c33 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput() argument
38 if (Size > 256 * 1024) { in LLVMFuzzerTestOneInput()
49 php_stream_write(stream, (const char *) Data, Size); in LLVMFuzzerTestOneInput()
/php-src/ext/standard/tests/file/
H A Dcopy_variation2.phpt67 echo "Size of source file => ";
95 Size of source file => int(1500)
102 Size of source file => int(1500)
109 Size of source file => int(1500)
116 Size of source file => int(1500)
123 Size of source file => int(1500)
130 Size of source file => int(1500)
137 Size of source file => int(1500)
144 Size of source file => int(1500)
151 Size of source file => int(1500)
[all …]
H A Dcopy_variation2-win32-mb.phpt94 Size of source file => int(1500)
101 Size of source file => int(1500)
108 Size of source file => int(1500)
115 Size of source file => int(1500)
134 Size of source file => int(1500)
141 Size of source file => int(1500)
148 Size of source file => int(1500)
161 Size of source file => int(1500)
168 Size of source file => int(1500)
175 Size of source file => int(1500)
[all …]
H A Dcopy_variation2-win32.phpt94 Size of source file => int(1500)
101 Size of source file => int(1500)
108 Size of source file => int(1500)
115 Size of source file => int(1500)
134 Size of source file => int(1500)
141 Size of source file => int(1500)
148 Size of source file => int(1500)
161 Size of source file => int(1500)
168 Size of source file => int(1500)
175 Size of source file => int(1500)
[all …]
H A Dcopy_variation1.phpt52 echo "Size of source file => ";
80 Size of source file => int(1500)
81 Size of destination file => int(1500)
87 Size of source file => int(1500)
94 Size of source file => int(1500)
101 Size of source file => int(1500)
108 Size of source file => int(1500)
115 Size of source file => int(1500)
122 Size of source file => int(1500)
129 Size of source file => int(1500)
[all …]
H A Dcopy_variation16.phpt28 echo "- Size of source file => ";
48 echo "Size of source file => ";
79 - Size of source file => int(3500)
83 Size of source file => int(3500)
90 Size of source file => int(3500)
97 Size of source file => int(3500)
104 Size of source file => int(3500)
111 Size of source file => int(3500)
118 Size of source file => int(3500)
125 Size of source file => int(3500)
[all …]
H A Dcopy_variation6.phpt26 echo "Size of source file => ";
56 echo "Size of source file => ";
78 Size of source file => int(0)
85 Size of source file => int(0)
92 Size of source file => int(0)
99 Size of source file => int(0)
106 Size of source file => int(0)
113 Size of source file => int(0)
120 Size of source file => int(0)
127 Size of source file => int(0)
[all …]
H A Dcopy_variation6-win32.phpt26 echo "Size of source file => ";
57 echo "Size of source file => ";
80 Size of source file => int(0)
87 Size of source file => int(0)
88 Size of destination file => int(0)
94 Size of source file => int(0)
101 Size of source file => int(0)
108 Size of source file => int(0)
115 Size of source file => int(0)
122 Size of source file => int(0)
[all …]
H A Dcopy_variation16-win32.phpt28 echo "- Size of source file => ";
48 echo "Size of source file => ";
80 - Size of source file => int(3500)
84 Size of source file => int(3500)
91 Size of source file => int(3500)
98 Size of source file => int(3500)
105 Size of source file => int(3500)
112 Size of source file => int(3500)
119 Size of source file => int(3500)
126 Size of source file => int(3500)
[all …]
H A Dcopy_variation3.phpt33 echo "Size of the source file before copy operation => ";
54 echo "Size of source file => ";
58 echo "Size of destination file => ";
82 Size of source file => int(1500)
83 Size of destination file => int(1500)
89 Size of source file => int(1500)
90 Size of destination file => int(1500)
96 Size of source file => int(1500)
97 Size of destination file => int(1500)
103 Size of source file => int(1500)
[all …]
H A Dcopy_variation4.phpt59 echo "Size of source file => ";
91 Size of source file => int(1500)
92 Size of destination file => int(%d)
103 Size of source file => int(1500)
104 Size of destination file => int(%d)
115 Size of source file => int(1500)
116 Size of destination file => int(%d)
127 Size of source file => int(1500)
128 Size of destination file => int(%d)
137 Size of source file => int(1500)
[all …]
H A Dcopy_variation5.phpt29 echo "Size of the source file before copy operation => ";
50 echo "Size of source file => ";
54 echo "Size of destination file => ";
75 Size of the source file before copy operation => int(1500)
82 Size of source file => int(1500)
83 Size of destination file => int(1500)
89 Size of source file => int(1500)
90 Size of destination file => int(1500)
96 Size of source file => int(1500)
97 Size of destination file => int(1500)
H A Dcopy_variation5-win32.phpt30 echo "Size of the source file before copy operation => ";
51 echo "Size of source file => ";
55 echo "Size of destination file => ";
77 Size of the source file before copy operation => int(1500)
84 Size of source file => int(1500)
85 Size of destination file => int(1500)
91 Size of source file => int(1500)
92 Size of destination file => int(1500)
98 Size of source file => int(1500)
99 Size of destination file => int(1500)
H A Dcopy_variation3-win32.phpt33 echo "Size of the source file before copy operation => ";
55 echo "Size of source file => ";
59 echo "Size of destination file => ";
76 Size of the source file before copy operation => int(1500)
83 Size of source file => int(1500)
84 Size of destination file => int(1500)
90 Size of source file => int(1500)
91 Size of destination file => int(1500)
/php-src/Zend/tests/enum/
H A Dstatic-methods.phpt6 enum Size {
20 var_dump(Size::fromLength(23));
21 var_dump(Size::fromLength(63));
22 var_dump(Size::fromLength(123));
26 enum(Size::Small)
27 enum(Size::Medium)
28 enum(Size::Large)
/php-src/ext/dom/tests/modern/spec/
H A DCharacterData_substringData_edge_cases.phpt31 Index Size Error
32 Index Size Error
33 Index Size Error

Completed in 27 milliseconds

123