Lines Matching refs:arr
18 $arr = new RepeatedField(GPBType::INT32);
19 $arr[] = 'abc';
27 $arr = new RepeatedField(GPBType::INT32);
28 $arr[] = 0;
29 $arr[0] = 'abc';
37 $arr = new RepeatedField(GPBType::INT32);
38 $arr[] = new Sub();
46 $arr = new RepeatedField(GPBType::INT32);
47 $arr[] = 0;
48 $arr[0] = new Sub();
56 $arr = new RepeatedField(GPBType::UINT32);
57 $arr[] = 'abc';
65 $arr = new RepeatedField(GPBType::UINT32);
66 $arr[] = 0;
67 $arr[0] = 'abc';
75 $arr = new RepeatedField(GPBType::UINT32);
76 $arr[] = new Sub();
84 $arr = new RepeatedField(GPBType::UINT32);
85 $arr[] = 0;
86 $arr[0] = new Sub();
94 $arr = new RepeatedField(GPBType::INT64);
95 $arr[] = 'abc';
103 $arr = new RepeatedField(GPBType::INT64);
104 $arr[] = 0;
105 $arr[0] = 'abc';
113 $arr = new RepeatedField(GPBType::INT64);
114 $arr[] = new Sub();
122 $arr = new RepeatedField(GPBType::INT64);
123 $arr[] = 0;
124 $arr[0] = new Sub();
132 $arr = new RepeatedField(GPBType::UINT64);
133 $arr[] = 'abc';
141 $arr = new RepeatedField(GPBType::UINT64);
142 $arr[] = 0;
143 $arr[0] = 'abc';
151 $arr = new RepeatedField(GPBType::UINT64);
152 $arr[] = new Sub();
160 $arr = new RepeatedField(GPBType::UINT64);
161 $arr[] = 0;
162 $arr[0] = new Sub();
170 $arr = new RepeatedField(GPBType::FLOAT);
171 $arr[] = 'abc';
179 $arr = new RepeatedField(GPBType::FLOAT);
180 $arr[] = 0.0;
181 $arr[0] = 'abc';
189 $arr = new RepeatedField(GPBType::FLOAT);
190 $arr[] = new Sub();
198 $arr = new RepeatedField(GPBType::FLOAT);
199 $arr[] = 0.0;
200 $arr[0] = new Sub();
208 $arr = new RepeatedField(GPBType::DOUBLE);
209 $arr[] = 'abc';
217 $arr = new RepeatedField(GPBType::DOUBLE);
218 $arr[] = 0.0;
219 $arr[0] = 'abc';
227 $arr = new RepeatedField(GPBType::DOUBLE);
228 $arr[] = new Sub();
236 $arr = new RepeatedField(GPBType::DOUBLE);
237 $arr[] = 0.0;
238 $arr[0] = new Sub();
246 $arr = new RepeatedField(GPBType::BOOL);
247 $arr[] = new Sub();
255 $arr = new RepeatedField(GPBType::BOOL);
256 $arr[] = true;
257 $arr[0] = new Sub();
265 $arr = new RepeatedField(GPBType::STRING);
266 $arr[] = new Sub();
274 $arr = new RepeatedField(GPBType::STRING);
275 $arr[] = 'abc';
276 $arr[0] = new Sub();
284 $arr = new RepeatedField(GPBType::STRING);
286 $arr[] = $hex;
294 $arr = new RepeatedField(GPBType::STRING);
295 $arr[] = 'abc';
297 $arr[0] = $hex;
305 $arr = new RepeatedField(GPBType::MESSAGE, Sub::class);
306 $arr[] = 1;
314 $arr = new RepeatedField(GPBType::MESSAGE, Sub::class);
315 $arr[] = new Sub;
316 $arr[0] = 'abc';
324 $arr = new RepeatedField(GPBType::MESSAGE, Sub::class);
325 $arr[] = 'abc';
333 $arr = new RepeatedField(GPBType::MESSAGE, Sub::class);
334 $arr[] = new Sub;
335 $arr[0] = 'abc';
343 $arr = new RepeatedField(GPBType::MESSAGE, Sub::class);
344 $arr[] = new TestMessage;
352 $arr = new RepeatedField(GPBType::MESSAGE, Sub::class);
354 $arr[] = $null;
362 $arr = new RepeatedField(GPBType::MESSAGE, Sub::class);
363 $arr[] = new Sub();
365 $arr[0] = $null;
373 $arr = new RepeatedField(GPBType::INT32);
375 $arr[] = 0;
376 $arr[] = 1;
377 $arr[] = 2;
378 $this->assertSame(3, count($arr));
380 unset($arr[1]);
388 $arr = new RepeatedField(GPBType::INT32);
390 unset($arr[0]);
398 $arr = new RepeatedField(GPBType::INT32);
399 $arr[] = 0;
400 $arr[new Sub()] = 0;
408 $arr = new RepeatedField(GPBType::INT32);
409 $arr[] = 0;
410 $arr['abc'] = 0;
418 $arr = new RepeatedField(GPBType::INT32);
419 $arr[0] = 0;
668 $arr = new MapField(GPBType::INT32, GPBType::INT32);
669 $arr['abc'] = 0;
677 $arr = new MapField(GPBType::INT32, GPBType::INT32);
678 $arr[0] = 'abc';
686 $arr = new MapField(GPBType::INT32, GPBType::INT32);
687 $arr[new Sub()] = 0;
695 $arr = new MapField(GPBType::INT32, GPBType::INT32);
696 $arr[0] = new Sub();
704 $arr = new MapField(GPBType::UINT32, GPBType::UINT32);
705 $arr['abc'] = 0;
713 $arr = new MapField(GPBType::UINT32, GPBType::UINT32);
714 $arr[0] = 'abc';
722 $arr = new MapField(GPBType::UINT32, GPBType::UINT32);
723 $arr[new Sub()] = 0;
731 $arr = new MapField(GPBType::UINT32, GPBType::UINT32);
732 $arr[0] = new Sub();
740 $arr = new MapField(GPBType::INT64, GPBType::INT64);
741 $arr['abc'] = 0;
749 $arr = new MapField(GPBType::INT64, GPBType::INT64);
750 $arr[0] = 'abc';
758 $arr = new MapField(GPBType::INT64, GPBType::INT64);
759 $arr[new Sub()] = 0;
767 $arr = new MapField(GPBType::INT64, GPBType::INT64);
768 $arr[0] = new Sub();
776 $arr = new MapField(GPBType::UINT64, GPBType::UINT64);
777 $arr['abc'] = 0;
785 $arr = new MapField(GPBType::UINT64, GPBType::UINT64);
786 $arr[0] = 'abc';
794 $arr = new MapField(GPBType::UINT64, GPBType::UINT64);
795 $arr[new Sub()] = 0;
803 $arr = new MapField(GPBType::UINT64, GPBType::UINT64);
804 $arr[0] = new Sub();
812 $arr = new MapField(GPBType::INT64, GPBType::DOUBLE);
813 $arr[0] = 'abc';
821 $arr = new MapField(GPBType::INT64, GPBType::DOUBLE);
822 $arr[0] = new Sub();
830 $arr = new MapField(GPBType::BOOL, GPBType::BOOL);
831 $arr[new Sub()] = true;
839 $arr = new MapField(GPBType::BOOL, GPBType::BOOL);
840 $arr[true] = new Sub();
848 $arr = new MapField(GPBType::STRING, GPBType::STRING);
849 $arr[hex2bin("ff")] = 'abc';
857 $arr = new MapField(GPBType::STRING, GPBType::STRING);
858 $arr['abc'] = hex2bin("ff");
866 $arr = new MapField(GPBType::STRING, GPBType::STRING);
867 $arr[new Sub()] = 'abc';
875 $arr = new MapField(GPBType::STRING, GPBType::STRING);
876 $arr['abc'] = new Sub();
884 $arr =
886 $arr[0] = 0;
894 $arr =
896 $arr[0] = 'abc';
904 $arr =
906 $arr[0] = new Sub();
914 $arr =
917 $arr[0] = $null;