Home
last modified time | relevance | path

Searched refs:this (Results 1 - 25 of 2715) sorted by relevance

12345678910>>...109

/third_party/protobuf/php/tests/
H A Dtest_base.php22 $this->assertSame(-42, $m->getOptionalInt32());
23 $this->assertSame(42, $m->getOptionalUint32());
24 $this->assertSame(-44, $m->getOptionalSint32());
25 $this->assertSame(46, $m->getOptionalFixed32());
26 $this->assertSame(-46, $m->getOptionalSfixed32());
27 $this->assertSame(1.5, $m->getOptionalFloat());
28 $this->assertSame(1.6, $m->getOptionalDouble());
29 $this->assertSame(true, $m->getOptionalBool());
30 $this->assertSame('a', $m->getOptionalString());
31 $this
[all...]
H A DArrayTest.php23 $this->assertSame(MAX_INT32, $arr[0]);
25 $this->assertSame(MIN_INT32, $arr[1]);
28 $this->assertSame(1, $arr[2]);
30 $this->assertSame(MAX_INT32, $arr[3]);
32 $this->assertSame(MAX_INT32, $arr[4]);
35 $this->assertSame(2, $arr[5]);
37 $this->assertSame(3, $arr[6]);
39 $this->assertSame(MAX_INT32, $arr[7]);
41 $this->assertEquals(8, count($arr));
45 $this
[all...]
H A DMapFieldTest.php21 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
23 $this->assertSame(MIN_INT32, $arr[MIN_INT32]);
24 $this->assertEquals(2, count($arr));
25 $this->assertTrue(isset($arr[MAX_INT32]));
26 $this->assertTrue(isset($arr[MIN_INT32]));
29 $this->assertEquals(0, count($arr));
34 $this->assertSame(1, $arr[1]);
35 $this->assertSame(2, $arr[2]);
37 $this->assertSame(MAX_INT32, $arr[MAX_INT32]);
39 $this
[all...]
H A DPhpImplementationTest.php18 * Please note, this test is only intended to be run without the protobuf C
26 $this->markTestSkipped();
37 $this->assertSame(1, $value);
42 $this->assertSame(-1, $value);
47 $this->assertSame(-1, $value);
57 $this->assertSame(1, $value);
62 $this->assertSame(-1, $value);
67 $this->assertSame(-1, $value);
77 $this->assertEquals(1, $value);
82 $this
[all...]
H A DGeneratedServiceTest.php37 $this->serviceClass = new ReflectionClass('Foo\GreeterInterface');
39 $this->namespacedServiceClass = new ReflectionClass('Bar\OtherGreeterInterface');
44 $this->assertTrue($this->serviceClass->isInterface());
49 $this->assertContains('foo.Greeter', $this->serviceClass->getDocComment());
54 $this->assertContains('foo.OtherGreeter', $this->namespacedServiceClass->getDocComment());
59 $this->assertCount(count($this
[all...]
H A DEncodeDecodeTest.php44 $this->assertEquals(1, $m->getOptionalInt32());
52 $this->assertEquals(true, $m->getValue());
55 $this->assertEquals(false, $m->getValue());
62 $this->assertSame("true", $m->serializeToJsonString());
69 $this->assertEquals(1.5, $m->getValue());
76 $this->assertSame("1.5", $m->serializeToJsonString());
83 $this->assertEquals(1.5, $m->getValue());
90 $this->assertSame("1.5", $m->serializeToJsonString());
97 $this->assertEquals(1, $m->getValue());
104 $this
[all...]
H A DWellKnownTest.php46 $this->assertTrue($msg instanceof \Google\Protobuf\Internal\Message);
52 $this->assertTrue(true);
59 $this->setFields($embed);
65 $this->assertSame(
67 $this->assertSame("type.googleapis.com/foo.TestMessage",
70 $this->assertSame($any, $any->setValue($data));
71 $this->assertSame($data, $any->getValue());
75 $this->assertTrue($msg instanceof TestMessage);
76 $this->expectFields($msg);
81 $this
[all...]
H A DDescriptorsTest.php53 $this->assertInstanceOf('\Google\Protobuf\Descriptor', $desc);
56 $this->assertInstanceOf('\Google\Protobuf\EnumDescriptor', $enumDesc);
64 $this->assertNull($desc);
67 $this->assertNull($desc);
70 $this->assertNull($enumDesc);
81 $this->assertSame('Descriptors\TestDescriptorsMessage', $class);
84 $this->assertSame('descriptors.TestDescriptorsMessage', $desc->getFullName());
85 $this->assertSame($class, $desc->getClass());
87 $this->assertInstanceOf('\Google\Protobuf\FieldDescriptor', $desc->getField(0));
88 $this
[all...]
/third_party/backends/backend/
H A Dsm3600-color.c16 along with this program. If not, see <https://www.gnu.org/licenses/>.
19 additional uses of the libraries contained in this release of SANE.
22 to produce an executable, this does not by itself cause the
33 those changes may be distributed with this exception intact.
36 whether to permit this exception to apply to your modifications.
37 If you do not wish that, delete this exception notice.
61 static TState ReadNextColorLine(PTInstance this) in ReadNextColorLine() argument
73 while (iWrite<3*this->state.cxMax) /* max 1 time in reality */ in ReadNextColorLine()
75 while (iWrite<3*this->state.cxMax && in ReadNextColorLine()
76 this in ReadNextColorLine()
139 StartScanColor(TInstance *this) StartScanColor() argument
[all...]
H A Dsm3600-scanutil.c16 along with this program. If not, see <https://www.gnu.org/licenses/>.
19 additional uses of the libraries contained in this release of SANE.
22 to produce an executable, this does not by itself cause the
33 those changes may be distributed with this exception intact.
36 whether to permit this exception to apply to your modifications.
37 If you do not wish that, delete this exception notice.
85 The program is aborted, all handles and resources are freed (this
91 int SetError(TInstance *this, int nError, const char *szFormat, ...) in SetError() argument
94 if (this->nErrorState) return 0; /* do not overwrite error state */ in SetError()
95 this in SetError()
144 FreeState(TInstance *this, TState nReturn) FreeState() argument
171 EndScan(TInstance *this) EndScan() argument
188 CancelScan(TInstance *this) CancelScan() argument
221 ReadChunk(TInstance *this, unsigned char *achOut, int cchMax, int *pcchRead) ReadChunk() argument
281 GetAreaSize(TInstance *this) GetAreaSize() argument
310 ResetCalibration(TInstance *this) ResetCalibration() argument
339 InitGammaTables(TInstance *this, int nBrightness, int nContrast) InitGammaTables() argument
373 DoScanFile(TInstance *this) DoScanFile() argument
[all...]
H A Dhp-handle.c16 along with this program. If not, see <https://www.gnu.org/licenses/>.
19 additional uses of the libraries contained in this release of SANE.
22 to produce an executable, this does not by itself cause the
33 those changes may be distributed with this exception intact.
36 whether to permit this exception to apply to your modifications.
37 If you do not wish that, delete this exception notice.
91 hp_handle_isScanning (HpHandle this) in hp_handle_isScanning() argument
93 return this->reader_pid != 0; in hp_handle_isScanning()
102 struct hp_handle_s *this = (struct hp_handle_s *) data; in reader_thread() local
108 (long) this in reader_thread()
130 struct hp_handle_s *this = (struct hp_handle_s *) data; reader_process() local
155 hp_handle_startReader(HpHandle this, HpScsi scsi) hp_handle_startReader() argument
217 hp_handle_stopScan(HpHandle this) hp_handle_stopScan() argument
258 hp_handle_uploadParameters(HpHandle this, HpScsi scsi, int *scan_depth, hp_bool_t *soft_invert, hp_bool_t *out8) hp_handle_uploadParameters() argument
365 sanei_hp_handle_destroy(HpHandle this) sanei_hp_handle_destroy() argument
383 sanei_hp_handle_saneoption(HpHandle this, SANE_Int optnum) sanei_hp_handle_saneoption() argument
394 sanei_hp_handle_control(HpHandle this, SANE_Int optnum, SANE_Action action, void *valp, SANE_Int *info) sanei_hp_handle_control() argument
423 sanei_hp_handle_getParameters(HpHandle this, SANE_Parameters *params) sanei_hp_handle_getParameters() argument
463 sanei_hp_handle_startScan(HpHandle this) sanei_hp_handle_startScan() argument
655 sanei_hp_handle_read(HpHandle this, void * buf, size_t *lengthp) sanei_hp_handle_read() argument
728 sanei_hp_handle_cancel(HpHandle this) sanei_hp_handle_cancel() argument
745 sanei_hp_handle_setNonblocking(HpHandle this, hp_bool_t non_blocking) sanei_hp_handle_setNonblocking() argument
764 sanei_hp_handle_getPipefd(HpHandle this, SANE_Int *fd) sanei_hp_handle_getPipefd() argument
[all...]
H A Dhp-accessor.c16 along with this program. If not, see <https://www.gnu.org/licenses/>.
19 additional uses of the libraries contained in this release of SANE.
22 to produce an executable, this does not by itself cause the
33 those changes may be distributed with this exception intact.
36 whether to permit this exception to apply to your modifications.
37 If you do not wish that, delete this exception notice.
75 hp_data_resize (HpData this, size_t newsize) in hp_data_resize() argument
78 if (this->bufsiz != newsize) in hp_data_resize()
80 assert(!this->frozen); in hp_data_resize()
81 this in hp_data_resize()
88 hp_data_freeze(HpData this) hp_data_freeze() argument
95 hp_data_alloc(HpData this, size_t sz) hp_data_alloc() argument
121 hp_data_data(HpData this, size_t offset) hp_data_data() argument
150 sanei_hp_data_destroy(HpData this) sanei_hp_data_destroy() argument
180 sanei_hp_accessor_get(HpAccessor this, HpData data, void * valp) sanei_hp_accessor_get() argument
188 sanei_hp_accessor_set(HpAccessor this, HpData data, void * valp) sanei_hp_accessor_set() argument
196 sanei_hp_accessor_getint(HpAccessor this, HpData data) sanei_hp_accessor_getint() argument
203 sanei_hp_accessor_setint(HpAccessor this, HpData data, int val) sanei_hp_accessor_setint() argument
210 sanei_hp_accessor_data(HpAccessor this, HpData data) sanei_hp_accessor_data() argument
216 sanei__hp_accessor_data(HpAccessor this, HpData data) sanei__hp_accessor_data() argument
222 sanei_hp_accessor_size(HpAccessor this) sanei_hp_accessor_size() argument
250 hp_accessor_int_get(HpAccessor this, HpData data, void * valp) hp_accessor_int_get() argument
257 hp_accessor_int_set(HpAccessor this, HpData data, void * valp) hp_accessor_int_set() argument
264 hp_accessor_int_getint(HpAccessor this, HpData data) hp_accessor_int_getint() argument
270 hp_accessor_int_setint(HpAccessor this, HpData data, int val) hp_accessor_int_setint() argument
299 hp_accessor_bool_get(HpAccessor this, HpData data, void * valp) hp_accessor_bool_get() argument
307 hp_accessor_bool_set(HpAccessor this, HpData data, void * valp) hp_accessor_bool_set() argument
338 hp_accessor_fixed_get(HpAccessor this, HpData data, void * valp) hp_accessor_fixed_get() argument
345 hp_accessor_fixed_set(HpAccessor this, HpData data, void * valp) hp_accessor_fixed_set() argument
381 hp_accessor_choice_get(HpAccessor this, HpData data, void * valp) hp_accessor_choice_get() argument
391 HpAccessorChoice this = (HpAccessorChoice)_this; hp_accessor_choice_set() local
413 hp_accessor_choice_getint(HpAccessor this, HpData data) hp_accessor_choice_getint() argument
422 HpAccessorChoice this = (HpAccessorChoice)_this; hp_accessor_choice_setint() local
451 sanei_hp_accessor_choice_maxsize(HpAccessorChoice this) sanei_hp_accessor_choice_maxsize() argument
463 sanei_hp_accessor_choice_strlist(HpAccessorChoice this, HpOptSet optset, HpData data, const HpDeviceInfo *info) sanei_hp_accessor_choice_strlist() argument
494 _HpAccessorChoice this; sanei_hp_accessor_choice_new() local
543 sanei_hp_accessor_vector_length(HpAccessorVector this) sanei_hp_accessor_vector_length() argument
549 sanei_hp_accessor_vector_minval(HpAccessorVector this) sanei_hp_accessor_vector_minval() argument
555 sanei_hp_accessor_vector_maxval(HpAccessorVector this) sanei_hp_accessor_vector_maxval() argument
561 _v_get(HpAccessorVector this, const unsigned char * data) _v_get() argument
578 _v_set(HpAccessorVector this, unsigned char * data, unsigned short val) _v_set() argument
601 HpAccessorVector this = (HpAccessorVector)_this; hp_accessor_vector_get() local
619 HpAccessorVector this = (HpAccessorVector)_this; hp_accessor_vector_set() local
641 _vector_unscale(HpAccessorVector this, SANE_Fixed fval) _vector_unscale() argument
648 _vector_scale(HpAccessorVector this, unsigned short val) _vector_scale() argument
688 _gamma_vector_unscale(HpAccessorVector __sane_unused__ this, SANE_Fixed fval) _gamma_vector_unscale() argument
698 _gamma_vector_scale(HpAccessorVector __sane_unused__ this, unsigned short val) _gamma_vector_scale() argument
711 _HpAccessorVector this = sanei_hp_accessor_gamma_vector_new() local
731 _matrix_vector_unscale(HpAccessorVector this, SANE_Fixed fval) _matrix_vector_unscale() argument
749 _matrix_vector_scale(HpAccessorVector this, unsigned short val) _matrix_vector_scale() argument
770 _HpAccessorVector this = sanei_hp_accessor_matrix_vector_new() local
791 _HpAccessorVector this = sanei_hp_memdup(super, sizeof(*this)); sanei_hp_accessor_subvector_new() local
824 HpAccessor this; global() member
834 HpAccessorGeometry this = (HpAccessorGeometry)_this; hp_accessor_geometry_set() local
854 HpAccessorGeometry this = (HpAccessorGeometry)_this; hp_accessor_geometry_getint() local
[all...]
H A Dsm3600-gray.c16 along with this program. If not, see <https://www.gnu.org/licenses/>.
19 additional uses of the libraries contained in this release of SANE.
22 to produce an executable, this does not by itself cause the
33 those changes may be distributed with this exception intact.
36 whether to permit this exception to apply to your modifications.
37 If you do not wish that, delete this exception notice.
201 static TState ReadNextGrayLine(PTInstance this) in ReadNextGrayLine() argument
211 while (iWrite<this->state.cxMax) /* max 1 time in reality */ in ReadNextGrayLine()
213 while (iWrite<this->state.cxMax && in ReadNextGrayLine()
214 this in ReadNextGrayLine()
307 StartScanGray(TInstance *this) StartScanGray() argument
[all...]
H A Dsm3600.c17 along with this program. If not, see <https://www.gnu.org/licenses/>.
20 additional uses of the libraries contained in this release of SANE.
23 to produce an executable, this does not by itself cause the
34 those changes may be distributed with this exception intact.
37 whether to permit this exception to apply to your modifications.
38 If you do not wish that, delete this exception notice.
144 InitOptions(TInstance *this) in InitOptions() argument
152 memset(this->aoptDesc,0,sizeof(this->aoptDesc)); in InitOptions()
153 memset(this in InitOptions()
456 TInstance *this; sane_open() local
493 TInstance *this,*pParent,*p; sane_close() local
538 TInstance *this=(TInstance*)handle; sane_get_option_descriptor() local
551 TInstance *this; sane_control_option() local
642 SetupInternalParameters(TInstance *this) SetupInternalParameters() argument
674 TInstance *this; sane_get_parameters() local
708 TInstance *this; sane_start() local
735 TInstance *this; sane_read() local
761 TInstance *this; sane_cancel() local
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DFileOptions.php19 * Sets the Java package where classes generated from this .proto will be
20 * placed. By default, the proto package is used, but this is often
70 * Sets the Go package where structs generated from this .proto will be
106 * Is this file deprecated?
107 * Depending on the target platform, this can emit Deprecated annotations
109 * least, this is a formalization for deprecating files.
115 * Enables the use of arenas for the proto messages in this file. This applies
123 * generated classes from this .proto. There is no default.
137 * defined. When this options is provided, they will use this valu
[all...]
H A DFieldDescriptorProto.php33 * If type_name is set, this need not be set. If both this and type_name
34 * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
40 * For message and enum types, this is the name of the type. If the name
42 * rules are used to find the type (i.e. first the nested types within this
50 * For extensions, this is the name of the type being extended. It is
74 * JSON name of this field. The value is set by protocol compiler. If the
75 * user has set a "json_name" option on this field, that option's value
87 * If true, this is a proto3 "optional". When a proto3 field is optional, it
89 * When proto3_optional is true, this fiel
[all...]
H A DCodedInputStream.php12 // notice, this list of conditions and the following disclaimer.
14 // copyright notice, this list of conditions and the following disclaimer
19 // this software without specific prior written permission.
59 $this->buffer = $buffer;
60 $this->buffer_size_after_limit = 0;
61 $this->buffer_end = $end;
62 $this->current = $start;
63 $this->current_limit = $end;
64 $this->legitimate_message_end = false;
65 $this
[all...]
H A DFileDescriptorProto.php33 * Names of files imported by this file.
52 * All top-level definitions in this file.
75 * You may safely remove this entire field without harming runtime
101 * Names of files imported by this file.
108 * All top-level definitions in this file.
115 * You may safely remove this entire field without harming runtime
136 return isset($this->name) ? $this->name : '';
141 return isset($this->name);
146 unset($this
[all...]
H A DUninterpretedOption.php85 return $this->name;
91 * @return $this
96 $this->name = $arr;
98 return $this;
110 return isset($this->identifier_value) ? $this->identifier_value : '';
115 return isset($this->identifier_value);
120 unset($this->identifier_value);
129 * @return $this
134 $this
[all...]
H A DFieldOptions.php53 * Should this field be parsed lazily? Lazy applies only to message-type
58 * eager or lazy parsing regardless of the value of this option. However,
59 * setting this option true suggests that the protocol author believes that
60 * using lazy parsing on this field is worth the additional bookkeeping
64 * interface is not affected by this option; const methods remain safe to
82 * Is this field deprecated?
83 * Depending on the target platform, this can emit Deprecated annotations
84 * for accessors, or it will be completely ignored; in the very least, this
132 * Should this field be parsed lazily? Lazy applies only to message-type
137 * eager or lazy parsing regardless of the value of this optio
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DSmallVector.h85 /// Return true if this is a smallvector which has not had dynamic
91 /// Put this vector in a state of being small.
96 void setEnd(T *P) { this->EndX = P; } in setEnd()
115 iterator begin() { return (iterator)this->BeginX; } in begin()
117 const_iterator begin() const { return (const_iterator)this->BeginX; } in begin()
119 iterator end() { return (iterator)this->EndX; } in end()
121 const_iterator end() const { return (const_iterator)this->EndX; } in end()
124 iterator capacity_ptr() { return (iterator)this->CapacityX; } in capacity_ptr()
125 const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;} in capacity_ptr()
212 if (LLVM_UNLIKELY(this
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DSmallVector.h62 /// Clients can use this in conjunction with capacity() to write past the end
83 /// Find the address of the first element. For this pointer math to be valid
88 reinterpret_cast<const char *>(this) + in getFirstEl()
101 /// Return true if this is a smallvector which has not had dynamic
105 /// Put this vector in a state of being small.
127 iterator begin() { return (iterator)this->BeginX; } in begin()
128 const_iterator begin() const { return (const_iterator)this->BeginX; } in begin()
212 if (LLVM_UNLIKELY(this->size() >= this->capacity()))
213 this
[all...]
/third_party/ffmpeg/libavdevice/
H A Ddshow_filter.c29 long WINAPI ff_dshow_filter_GetClassID(DShowFilter *this, CLSID *id) in DECLARE_ADDREF()
31 dshowdebug("ff_dshow_filter_GetClassID(%p)\n", this); in DECLARE_ADDREF()
32 /* I'm not creating a ClassID just for this. */ in DECLARE_ADDREF()
35 long WINAPI ff_dshow_filter_Stop(DShowFilter *this) in ff_dshow_filter_Stop() argument
37 dshowdebug("ff_dshow_filter_Stop(%p)\n", this); in ff_dshow_filter_Stop()
38 this->state = State_Stopped; in ff_dshow_filter_Stop()
41 long WINAPI ff_dshow_filter_Pause(DShowFilter *this) in ff_dshow_filter_Pause() argument
43 dshowdebug("ff_dshow_filter_Pause(%p)\n", this); in ff_dshow_filter_Pause()
44 this->state = State_Paused; in ff_dshow_filter_Pause()
47 long WINAPI ff_dshow_filter_Run(DShowFilter *this, REFERENCE_TIM in ff_dshow_filter_Pause() argument
54 ff_dshow_filter_GetState(DShowFilter *this, DWORD ms, FILTER_STATE *state) ff_dshow_filter_GetState() argument
62 ff_dshow_filter_SetSyncSource(DShowFilter *this, IReferenceClock *clock) ff_dshow_filter_SetSyncSource() argument
76 ff_dshow_filter_GetSyncSource(DShowFilter *this, IReferenceClock **clock) ff_dshow_filter_GetSyncSource() argument
88 ff_dshow_filter_EnumPins(DShowFilter *this, IEnumPins **enumpin) ff_dshow_filter_EnumPins() argument
102 ff_dshow_filter_FindPin(DShowFilter *this, const wchar_t *id, IPin **pin) ff_dshow_filter_FindPin() argument
119 ff_dshow_filter_QueryFilterInfo(DShowFilter *this, FILTER_INFO *info) ff_dshow_filter_QueryFilterInfo() argument
131 ff_dshow_filter_JoinFilterGraph(DShowFilter *this, IFilterGraph *graph, const wchar_t *name) ff_dshow_filter_JoinFilterGraph() argument
142 ff_dshow_filter_QueryVendorInfo(DShowFilter *this, wchar_t **info) ff_dshow_filter_QueryVendorInfo() argument
152 ff_dshow_filter_Setup(DShowFilter *this, void *priv_data, void *callback, enum dshowDeviceType type) ff_dshow_filter_Setup() argument
180 ff_dshow_filter_Cleanup(DShowFilter *this) ff_dshow_filter_Cleanup() argument
[all...]
/third_party/skia/src/utils/
H A DSkJSONWriter.h4 * Use of this source code is governed by a BSD-style license that can be
24 * created with this class must have a top-level object or array. Free-floating values of other
61 this->flush(); in ~SkJSONWriter()
86 SkASSERT(Scope::kObject == this->scope()); in appendName()
89 this->write(",", 1); in appendName()
91 this->separator(this->multiline()); in appendName()
92 this->write("\"", 1); in appendName()
93 this->write(name, strlen(name)); in appendName()
94 this in appendName()
[all...]
/third_party/skia/src/opts/
H A DSk4px_none.h4 * Use of this source code is governed by a BSD-style license that can be
13 return Sk16h((*this)[ 0], (*this)[ 1], (*this)[ 2], (*this)[ 3], in widen()
14 (*this)[ 4], (*this)[ 5], (*this)[ 6], (*this)[ 7], in widen()
15 (*this)[ in widen()
[all...]

Completed in 15 milliseconds

12345678910>>...109