Lines Matching refs:array
101 # Testing with normal array
106 ok($created[$ID], 'Created hash object in normal array');
108 ok($destroyed[$ID], 'Deleted hash object in normal array');
111 ok($created[$ID], 'Created hash object in normal array');
113 ok($destroyed[$ID], 'Undef hash object in normal array');
116 ok($created[$ID], 'Created hash object in normal array');
118 ok($created[$ID], 'Created hash object in normal array');
119 ok($destroyed[$ID-1], 'Replaced hash object in normal array');
121 ok($destroyed[$ID], 'Hash object removed from cleared normal array');
124 ok($created[$ID], 'Created hash object in normal array');
126 ok($destroyed[$ID], 'Hash object removed from undef normal array');
128 # Testing with array object
130 ok($created[$ID], 'Created array object in normal array');
132 ok($destroyed[$ID], 'Deleted array object in normal array');
135 ok($created[$ID], 'Created array object in normal array');
137 ok($destroyed[$ID], 'Undef array object in normal array');
140 ok($created[$ID], 'Created array object in normal array');
142 ok($created[$ID], 'Created array object in normal array');
143 ok($destroyed[$ID-1], 'Replaced array object in normal array');
145 ok($destroyed[$ID], 'Array object removed from cleared normal array');
148 ok($created[$ID], 'Created array object in normal array');
150 ok($destroyed[$ID], 'Array object removed from undef normal array');
154 ok($created[$ID], 'Created scalar object in normal array');
156 ok($destroyed[$ID], 'Deleted scalar object in normal array');
159 ok($created[$ID], 'Created scalar object in normal array');
161 ok($destroyed[$ID], 'Undef scalar object in normal array');
164 ok($created[$ID], 'Created scalar object in normal array');
166 ok($created[$ID], 'Created scalar object in normal array');
167 ok($destroyed[$ID-1], 'Replaced scalar object in normal array');
169 ok($destroyed[$ID], 'Scalar object removed from cleared normal array');
172 ok($created[$ID], 'Created scalar object in normal array');
174 ok($destroyed[$ID], 'Scalar object removed from undef normal array');
203 # Testing with array object
205 ok($created[$ID], 'Created array object in normal hash');
207 ok($destroyed[$ID], 'Deleted array object in normal hash');
210 ok($created[$ID], 'Created array object in normal hash');
212 ok($destroyed[$ID], 'Undef array object in normal hash');
215 ok($created[$ID], 'Created array object in normal hash');
217 ok($created[$ID], 'Created array object in normal hash');
218 ok($destroyed[$ID-1], 'Replaced array object in normal hash');
223 ok($created[$ID], 'Created array object in normal hash');
251 # Testing with shared array
256 ok($created[$ID], 'Created hash object in shared array');
258 ok($destroyed[$ID], 'Deleted hash object in shared array');
261 ok($created[$ID], 'Created hash object in shared array');
263 ok($destroyed[$ID], 'Undef hash object in shared array');
266 ok($created[$ID], 'Created hash object in shared array');
268 ok($created[$ID], 'Created hash object in shared array');
269 ok($destroyed[$ID-1], 'Replaced hash object in shared array');
271 ok($destroyed[$ID], 'Hash object removed from cleared shared array');
274 ok($created[$ID], 'Created hash object in shared array');
276 ok($destroyed[$ID], 'Hash object removed from undef shared array');
278 # Testing with array object
280 ok($created[$ID], 'Created array object in shared array');
282 ok($destroyed[$ID], 'Deleted array object in shared array');
285 ok($created[$ID], 'Created array object in shared array');
287 ok($destroyed[$ID], 'Undef array object in shared array');
290 ok($created[$ID], 'Created array object in shared array');
292 ok($created[$ID], 'Created array object in shared array');
293 ok($destroyed[$ID-1], 'Replaced array object in shared array');
295 ok($destroyed[$ID], 'Array object removed from cleared shared array');
298 ok($created[$ID], 'Created array object in shared array');
300 ok($destroyed[$ID], 'Array object removed from undef shared array');
304 ok($created[$ID], 'Created scalar object in shared array');
306 ok($destroyed[$ID], 'Deleted scalar object in shared array');
309 ok($created[$ID], 'Created scalar object in shared array');
311 ok($destroyed[$ID], 'Undef scalar object in shared array');
314 ok($created[$ID], 'Created scalar object in shared array');
316 ok($created[$ID], 'Created scalar object in shared array');
317 ok($destroyed[$ID-1], 'Replaced scalar object in shared array');
319 ok($destroyed[$ID], 'Scalar object removed from cleared shared array');
322 ok($created[$ID], 'Created scalar object in shared array');
324 ok($destroyed[$ID], 'Scalar object removed from undef shared array');
353 # Testing with array object
355 ok($created[$ID], 'Created array object in shared hash');
357 ok($destroyed[$ID], 'Deleted array object in shared hash');
360 ok($created[$ID], 'Created array object in shared hash');
362 ok($destroyed[$ID], 'Undef array object in shared hash');
365 ok($created[$ID], 'Created array object in shared hash');
367 ok($created[$ID], 'Created array object in shared hash');
368 ok($destroyed[$ID-1], 'Replaced array object in shared hash');
373 ok($created[$ID], 'Created array object in shared hash');
410 # RT #122950 abandoning array elements (e.g. by setting $#ary)
435 "remove array object $_ by " . ($type ? "pop" : '$#a=N'));
445 ::ok($count == $n, "remove array object by undef");
449 # Emptying a shared array creates new temp SVs. If there are no spare
461 ok(1, "#131124 undef array doesnt panic");
468 ok(1, "#131124 clear array doesnt panic");