Home
last modified time | relevance | path

Searched refs:value (Results 14776 - 14800 of 31473) sorted by relevance

1...<<591592593594595596597598599600>>...1259

/third_party/skia/src/sfnt/
H A DSkOTTable_name.cpp225 * Note that these are sorted by value for quick binary lookup, and not logically by lsb.
496 switch (nameRecord.platformID.value) {
499 != nameRecord.encodingID.windows.value
501 != nameRecord.encodingID.windows.value
503 != nameRecord.encodingID.windows.value)
517 != nameRecord.encodingID.macintosh.value)
/third_party/skia/src/sksl/ir/
H A DSkSLSwizzle.cpp288 line, "cannot swizzle value of type '" + baseType.displayName() + "'"); in Convert()
404 Literal::MakeInt(context, line, /*value=*/0))); in Convert()
414 Literal::MakeInt(context, line, /*value=*/1))); in Convert()
453 // Replace swizzles with equivalent splat constructors (`scalar.xxx` --> `half3(value)`). in Make()
488 // If we are swizzling a constant expression, we can use its value instead here (so that in Make()
490 const Expression* value = ConstantFolder::GetConstantValueForVariable(*expr); in Make() local
494 // in a splat constructor holds the same value. in Make()
495 if (value->is<ConstructorSplat>()) { in Make()
496 const ConstructorSplat& splat = value->as<ConstructorSplat>(); in Make()
504 if (value in Make()
[all...]
/third_party/skia/tests/
H A DBitmapTest.cpp336 static float unit_discretize(float value, float scale) { in unit_discretize() argument
337 SkASSERT(value >= 0 && value <= 1); in unit_discretize()
338 if (value == 1) { in unit_discretize()
341 return sk_float_floor(value * scale + 0.5f) / scale; in unit_discretize()
/third_party/skia/src/ports/
H A DSkFontConfigInterface_direct.cpp352 int value; in get_int() local
353 if (FcPatternGetInteger(pattern, object, 0, &value) != FcResultMatch) { in get_int()
356 return value; in get_int()
359 static int map_range(SkScalar value, in map_range() argument
365 return new_min + ((value - old_min) * (new_max - new_min) / (old_max - old_min)); in map_range()
/third_party/skia/third_party/externals/angle2/src/tests/
H A Drun_perf_tests.py35 from tracing.value import histogram
36 from tracing.value import histogram_set
37 from tracing.value import merge_histograms
119 # name_backend.result: story= value units.
127 return [float(value) for value in m]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DNonzeroTextureCreationTests.cpp54 T value = *actual; variable
55 if (value == T(0)) {
57 << "Expected data to be non-zero, was " << value << std::endl;
60 if (actual[i] != value) {
62 << "Expected data[" << i << "] to match non-zero value " << value
274 // Test that texture clears to a non-zero value because toggle is enabled.
279 // Test that texture clears to a non-zero value because toggle is enabled.
284 // Test that texture clears to a non-zero value because toggle is enabled.
289 // Test that texture clears to a non-zero value becaus
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DLinkedListTests.cpp70 EXPECT_EQ(node_ids[index_of_id], node->value()->id()); in ExpectListContentsForDirection()
280 EXPECT_EQ(&node, node.value()); in TEST()
316 EXPECT_EQ(list2.head()->value(), &n); in TEST()
426 node->value()->set_id(node->value()->id() + 1); in TEST()
/third_party/openssl/test/
H A Dcmp_msg_test.c397 if ((cresp->certifiedKeyPair->certOrEncCert->value.certificate = in execute_certrep_create()
446 if (!TEST_ptr(ossl_cmp_revrepcontent_get_CertId(rpmsg->body->value.rp, 0))) in execute_rp_create()
449 if (!TEST_ptr(ossl_cmp_revrepcontent_get_pkisi(rpmsg->body->value.rp, 0))) in execute_rp_create()
478 value.pollRep, 77))) in execute_pollrep_create()
481 value.pollRep, 88))) in execute_pollrep_create()
/third_party/python/Modules/_multiprocessing/
H A Dsemaphore.c61 _GetSemaphoreValue(HANDLE handle, long *value) in _GetSemaphoreValue() argument
69 *value = previous + 1; in _GetSemaphoreValue()
72 *value = 0; in _GetSemaphoreValue()
165 "value %u", res); in _multiprocessing_SemLock_acquire_impl()
474 value: int
482 _multiprocessing_SemLock_impl(PyTypeObject *type, int kind, int value, in _multiprocessing_SemLock_impl() argument
504 handle = SEM_CREATE(name, value, maxvalue); in _multiprocessing_SemLock_impl()
607 Get the value of the semaphore.
632 Return whether semaphore has value zero.
/third_party/skia/third_party/externals/icu/source/common/
H A Dcaniter.cpp129 *@return the next string that is canonically equivalent. The value null is returned when
143 // construct return value in next()
150 // find next value for next time in next()
325 UnicodeString *permRes = (UnicodeString *)(ne->value.pointer); in permute()
332 chStr->append(*permRes); //*((UnicodeString *)(ne->value.pointer)); in permute()
370 UnicodeString item = *((UnicodeString *)(ne->value.pointer)); in getEquivalents()
381 //UnicodeString *possible = new UnicodeString(*((UnicodeString *)(ne2->value.pointer))); in getEquivalents()
382 UnicodeString possible(*((UnicodeString *)(ne2->value.pointer))); in getEquivalents()
424 finalResult[result_len++] = *((UnicodeString *)(ne->value.pointer)); in getEquivalents()
471 UnicodeString item = *((UnicodeString *)(ne->value in getEquivalents2()
[all...]
H A Dpropsvec.cpp72 /* set the all-Unicode row and the special-value rows */ in upvec_open()
157 uint32_t value, uint32_t mask, in upvec_setValue()
184 value&=mask; in upvec_setValue()
195 * and if their value differs from the input value. in upvec_setValue()
197 splitFirstRow= (UBool)(start!=(UChar32)firstRow[0] && value!=(firstRow[column]&mask)); in upvec_setValue()
198 splitLastRow= (UBool)(limit!=(UChar32)lastRow[1] && value!=(lastRow[column]&mask)); in upvec_setValue()
266 /* set the input value in all remaining rows */ in upvec_setValue()
271 *firstRow=(*firstRow&mask)|value; in upvec_setValue()
371 * to find the indexes where the special-value row in upvec_compact()
154 upvec_setValue(UPropsVectors *pv, UChar32 start, UChar32 end, int32_t column, uint32_t value, uint32_t mask, UErrorCode *pErrorCode) upvec_setValue() argument
[all...]
H A Dutrie2.h50 * - For the last single-value code point range (ending with U+10ffff),
51 * the starting code point ("highStart") and the value are stored.
71 * Selectors for the width of a UTrie2 data value.
74 /** 16 bits per UTrie2 data value. */
76 /** 32 bits per UTrie2 data value. */
120 * @param initialValue the initial value that is set for all code points
121 * @param errorValue the value for out-of-range code points and illegal UTF-8
134 * Get a value from a code point as stored in the trie.
141 * @return the value
149 * Callback from utrie2_enum(), extracts a uint32_t value fro
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DArrayRef.h39 /// value.
120 std::is_convertible<U *const *, T const *>::value>::type * = nullptr) in ArrayRef()
130 std::is_convertible<U *const *, T const *>::value>::type * = nullptr) in ArrayRef()
139 std::is_convertible<U *const *, T const *>::value>::type* = 0) in ArrayRef()
259 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
267 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
298 /// value.
/third_party/vixl/test/aarch64/
H A Dtest-utils-aarch64.h71 void SetLane(int lane, T value) { in SetLane()
72 size_t lane_size = sizeof(value); in SetLane()
74 memcpy(bytes + (lane * lane_size), &value, lane_size); in SetLane()
333 // Some tests want to check that a value is _not_ equal to a reference value.
337 // The Equal* methods return true if the result matches the reference value.
403 // Check that each SVE lane matches the corresponding expected[] value. The
431 // Check that each SVE lanes matches the `expected` value.
488 // The return value is a RegList indicating which registers were allocated.
514 uint64_t const value
[all...]
/third_party/skia/third_party/externals/egl-registry/api/EGL/
H A Degl.h129 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
138 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
140 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
165 EGLAPI EGLBoolean EGLAPIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
290 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *value);
/third_party/python/Modules/
H A D_testinternalcapi.c173 int value = (int)FROM_PTR(value_ptr); in hashtable_cb() local
174 assert(value == VALUE(key)); in hashtable_cb()
197 int value = VALUE(key); in test_hashtable() local
198 if (_Py_hashtable_set(table, TO_PTR(key), TO_PTR(value)) < 0) { in test_hashtable()
211 assert(entry->value == TO_PTR(VALUE(key))); in test_hashtable()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
H A DFieldMaskTreeTest.java163 TestRequired value = TestRequired.newBuilder().setA(4321).setB(8765).setC(233333).build(); in testMergeRequire()
164 TestRequiredMessage source = TestRequiredMessage.newBuilder().setRequiredMessage(value).build(); in testMergeRequire()
192 TestAllTypes value = in testMergeImpl()
201 .setPayload(value) in testMergeImpl()
202 .setChild(NestedTestAllTypes.newBuilder().setPayload(value)) in testMergeImpl()
/third_party/protobuf/php/tests/
H A DMapFieldTest.php453 array_walk($values, function (&$value) {});
459 array_walk($values, function (&$value) {});
465 array_walk($values, function (&$value) {});
471 array_walk($values, function (&$value) {});
477 array_walk($values, function (&$value) {});
/third_party/python/Lib/xml/sax/
H A Dexpatreader.py190 def setProperty(self, name, value):
192 self._lex_handler_prop = value
196 self._interning = value
351 for (aname, value) in attrs.items():
366 newattrs[apair] = value
/third_party/python/Objects/
H A Dstructseq.c291 PyObject *value = PyStructSequence_GET_ITEM(obj, i); in structseq_repr() local
292 assert(value != NULL); in structseq_repr()
293 PyObject *repr = PyObject_Repr(value); in structseq_repr()
383 #define SET_DICT_FROM_SIZE(key, value) \ in initialize_structseq_dict()
385 v = PyLong_FromSsize_t(value); \ in initialize_structseq_dict()
/third_party/skia/include/core/
H A DSkStream.h244 bool write8(U8CPU value) { in write8() argument
245 uint8_t v = SkToU8(value); in write8()
248 bool write16(U16CPU value) { in write16() argument
249 uint16_t v = SkToU16(value); in write16()
276 * 'value'.
278 static int SizeOfPackedUInt(size_t value);
/third_party/skia/bench/
H A DMathBench.cpp142 static inline uint32_t QMul64(uint32_t value, U8CPU alpha) { in QMul64() argument
146 uint64_t tmp = value; in QMul64()
247 float value = r.fLeft * 0 + r.fTop * 0 + r.fRight * 0 + r.fBottom * 0; in isFinite() local
249 // value is either NaN or it is finite (zero). in isFinite()
250 // value==value will be true iff value is not NaN in isFinite()
251 return value == value; in isFinite()
/third_party/rust/crates/quote/tests/
H A Dtest.rs122 let value = quote!(self.x); in test_advanced()
126 value: &'a #field_ty, in test_advanced()
134 #path(self.value, s) in test_advanced()
139 value: #value, in test_advanced()
146 "value : & 'a String , ", in test_advanced()
153 "SomeTrait :: serialize_with (self . value , s) ", in test_advanced()
157 "value : self . x , ", in test_advanced()
/third_party/spirv-tools/source/fuzz/
H A Dfuzzer_util.h280 // to have an OpConstantNull value. This may depend on the capabilities declared
481 // |int_type_id| and value |value|, or 0 if no such constant exists in the
485 uint32_t value,
497 // Returns the id of a boolean constant with value |value| if it exists in the
502 const TransformationContext& transformation_context, bool value,
505 // Returns a vector of words representing the integer |value|, only considering
506 // the last |width| bits. The last |width| bits are sign-extended if the value
509 // If |width| <= 32, returns a vector containing one value
517 FloatToWord(float value) FloatToWord() argument
[all...]
/third_party/spirv-tools/source/opt/
H A Ddesc_sroa.cpp352 Instruction* value) { in ReplaceLoadedValue()
354 // |value| is the OpLoad instruction that has loaded |var|. in ReplaceLoadedValue()
355 // The function expects all users of |value| to be OpCompositeExtract in ReplaceLoadedValue()
357 assert(value->opcode() == spv::Op::OpLoad); in ReplaceLoadedValue()
358 assert(value->GetSingleWordInOperand(0) == var->result_id()); in ReplaceLoadedValue()
361 value->result_id(), [this, &work_list](Instruction* use) { in ReplaceLoadedValue()
381 // All usages of the loaded value have been killed. We can kill the OpLoad. in ReplaceLoadedValue()
382 context()->KillInst(value); in ReplaceLoadedValue()
351 ReplaceLoadedValue(Instruction* var, Instruction* value) ReplaceLoadedValue() argument

Completed in 31 milliseconds

1...<<591592593594595596597598599600>>...1259