/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/ |
H A D | unittests.cpp | 1243 float value = 1.0f; in TEST_F() local 1244 glUniform1fv(positive_value, 1, &value); in TEST_F() 1245 value = -1.0f; in TEST_F() 1246 glUniform1fv(negative_value, 1, &value); in TEST_F() 2150 void AddIntegerValue(CFMutableDictionaryRef dictionary, const CFStringRef key, int32_t value) in AddIntegerValue() argument 2152 CFNumberRef number = CFNumberCreate(nullptr, kCFNumberSInt32Type, &value); in AddIntegerValue()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | turbojpeg-jni.c | 86 #define setenv(envvar, value, dummy) _putenv_s(envvar, value) 93 if ((value = (*env)->GetStringUTFChars(env, jValue, 0)) != NULL) { \ 94 setenv(envvar, value, 1); \ 95 (*env)->ReleaseStringUTFChars(env, jValue, value); \ 111 const char *value; in ProcessSystemProperties() local
|
/third_party/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 60 // high quality. Raise this value if your shadows have visible JPEG 329 void SkPDFDevice::drawAnnotation(const SkRect& rect, const char key[], SkData* value) { in drawAnnotation() argument 330 if (!value) { in drawAnnotation() 340 if (value->size() != sizeof(nodeID)) { return; } in drawAnnotation() 341 memcpy(&nodeID, value->data(), sizeof(nodeID)); in drawAnnotation() 349 fDocument->fNamedDestinations.push_back(SkPDFNamedDestination{sk_ref_sp(value), p, pg}); in drawAnnotation() 373 linkType, value, transformedRect, fNodeId); in drawAnnotation()
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_widgets.py | 256 'underline', 'value', 'variable', 'width', 'wraplength', 264 self.checkParams(widget, 'value', 1, 2.3, '', 'any string') 494 errmsg='-to value must be greater than -from value') 505 errmsg='-to value must be greater than -from value') 752 errmsg='bad state value "{}": must be normal or disabled') 1012 def check_itemconfigure(self, name, value): 1015 widget.itemconfigure(0, **{name: value}) 1016 self.assertEqual(widget.itemconfigure(0, name)[4], value) [all...] |
H A D | test_geometry_managers.py | 382 for value in 'n', 'ne', 'e', 'se', 's', 'sw', 'w', 'nw', 'center': 383 f.place_configure(anchor=value) 384 self.assertEqual(f.place_info()['anchor'], value) 438 for value in 'inside', 'outside', 'ignore': 439 f.place_configure(bordermode=value) 440 self.assertEqual(f.place_info()['bordermode'], value) 511 with self.assertRaisesRegex(TclError, 'bad column value "-1": ' 519 with self.assertRaisesRegex(TclError, 'bad columnspan value "0": ' 538 with self.assertRaisesRegex(TclError, 'bad ipadx value "-1": ' 549 with self.assertRaisesRegex(TclError, 'bad ipady value " [all...] |
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | builder_constructor_expression_test.cc | 328 auto* value = vec2<f32>(2.0f, 2.0f); in TEST_F() local 329 auto* cast = vec2<f32>(value); in TEST_F() 438 auto* value = vec3<f32>(2.0f, 2.0f, 2.0f); in TEST_F() local 439 auto* cast = vec3<f32>(value); in TEST_F() 640 auto* value = vec4<f32>(2.0f, 2.0f, 2.0f, 2.0f); in TEST_F() local 641 auto* cast = vec4<f32>(value); in TEST_F()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_reference.cpp | 85 uint8 value, in RefSetArea8() 107 *dPtr2 = value; in RefSetArea8() 126 uint16 value, in RefSetArea16() 148 *dPtr2 = value; in RefSetArea16() 167 uint32 value, in RefSetArea32() 189 *dPtr2 = value; in RefSetArea32() 84 RefSetArea8(uint8 *dPtr, uint8 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) RefSetArea8() argument 125 RefSetArea16(uint16 *dPtr, uint16 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) RefSetArea16() argument 166 RefSetArea32(uint32 *dPtr, uint32 value, uint32 rows, uint32 cols, uint32 planes, int32 rowStep, int32 colStep, int32 planeStep) RefSetArea32() argument
|
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | JsonFormatTest.java | 208 + " \"value\": 100\n" in testAllFields() 227 + " \"value\": 100\n" in testAllFields() 229 + " \"value\": 200\n" in testAllFields() 343 private void assertRejects(String name, String value) { in assertRejects() argument 347 mergeFromJson("{\"" + name + "\":" + value + "}", builder); in assertRejects() 354 mergeFromJson("{\"" + name + "\":\"" + value + "\"}", builder); in assertRejects() 361 private void assertAccepts(String name, String value) throws IOException { in assertAccepts() argument 364 mergeFromJson("{\"" + name + "\":" + value + "}", builder); in assertAccepts() 366 mergeFromJson("{\"" + name + "\":\"" + value + "\"}", builder); in assertAccepts() 661 + " \"value\" in testMapFields() [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_configdialog.py | 316 idleConf.SetOption('highlight', 'test1', 'option', 'value') 700 for key, value in new_console.items(): 701 self.assertNotEqual(hs_tag('console', key), value) 705 for key, value in new_console.items(): 706 changes.add_option('highlight', theme, 'console-'+key, value) 708 for key, value in new_console.items(): 709 eq(hs_tag('console', key), value) 723 idleConf.userCfg['highlight'].SetOption(theme_name, 'name', 'value') 727 idleConf.userCfg['highlight'].SetOption(theme_name2, 'name', 'value') 821 idleConf.SetOption('keys', 'test1', 'option', 'value') [all...] |
/third_party/python/Lib/test/ |
H A D | test_dict.py | 309 def __setitem__(self, key, value): 351 d2['key'] = 'value' 558 def __init__(self, value): 559 self.value = value 570 return self.value == other.value 748 # (D) subclass defines __missing__ method returning a value 1228 # by another value. Note this relies on refcounting: the test 1357 d = {S(): 'value'} [all...] |
H A D | test_mailbox.py | 34 for key, value in _sample_headers.items(): 35 self.assertIn(value, msg.get_all(key)) 334 for value in method(): 346 for key, value in method(): 348 returned_values.append(value) 354 for value in returned_values: 355 self.assertEqual(value['from'], 'foo') 356 self.assertLess(int(value.get_payload()), repetitions) 1044 for value in values: 1045 self._box.add(value) [all...] |
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_copy_ast.c | 774 new->value = orig->value; in cil_copy_bool() 794 new->value = orig->value; in cil_copy_tunable() 1663 new->value = orig->value; in cil_copy_mls()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fIntegerStateQueryTests.cpp | 144 const tcu::ScopedLogSection section(m_testCtx.getLog(), "initial", "Initial value"); in iterate() 216 const int value = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) in iterate() local 224 verifyStateIntegerMin(result, gl, m_target, value, m_verifierType); in iterate() 305 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial value"); in iterate() 360 const tcu::ScopedLogSection section(m_testCtx.getLog(), "Initial", "Initial value"); in iterate() 426 const tcu::ScopedLogSection section (m_testCtx.getLog(), "Ties", "The limit is tied to the value of " + de::toString(glu::getGettableStateStr(m_tiedTo))); in iterate() 473 StateQueryMemoryWriteGuard<glw::GLint> value; in iterate() local 474 gl.glGetIntegerv(m_componentTarget, &value); in iterate() 477 if (value.verifyValidity(result)) in iterate() 478 verifyStateInteger(result, gl, m_legacyTarget, ((int)value) / in iterate() [all...] |
H A D | es31fShaderPackingFunctionTests.cpp | 56 const float value; member 57 HexFloat (const float value_) : value(value_) {} in HexFloat() 62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 198 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate() 287 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate() 389 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate() 478 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx << ",\n" in iterate() 585 m_testCtx.getLog() << TestLog::Message << "ERROR: Mismatch in value " << valNdx in iterate() 647 const deUint16 value in iterate() local [all...] |
H A D | es31fTextureBorderClampTests.cpp | 412 // make sure value is representable in the target format and clear channels 758 << "Compare reference value = " << config.compareRef << "\n" 1529 iteration.description = "border value infinity"; 1539 iteration.description = "border value negative infinity"; 1562 const tcu::IVec4 value = maxValue + tcu::IVec4(1); 1567 iteration.borderColor = (isSigned) ? (rr::GenericVec4(value)) : (rr::GenericVec4(value.cast<deUint32>())); 1576 const tcu::IVec4 value = minValue - tcu::IVec4(1); 1581 iteration.borderColor = rr::GenericVec4(value); 1589 const tcu::IVec4 value [all...] |
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrFragmentOperations.cpp | 881 // \note Current value of isAlive is needed for dpPass and dpFail, so it's only updated after them and not right after depth test. in render() 943 m_sampleRegister[regSampleNdx].clampedBlendSrcColor = clamp(frag.value.get<float>(), minClampValue, maxClampValue); in render() 966 const Vec4 srcColor = frag.value.get<float>(); in render() 987 m_sampleRegister[regSampleNdx].blendedRGB = frag.value.get<float>().xyz(); in render() 988 m_sampleRegister[regSampleNdx].blendedA = frag.value.get<float>().w(); in render() 1027 m_sampleRegister[regSampleNdx].signedValue = frag.value.get<deInt32>(); in render() 1043 m_sampleRegister[regSampleNdx].unsignedValue = frag.value.get<deUint32>(); in render()
|
/third_party/python/Objects/ |
H A D | unicodeobject.c | 105 // The value must be the same in fileutils.c. 272 unicode_fill(enum PyUnicode_Kind kind, void *data, Py_UCS4 value, in unicode_fill() argument 279 assert(value <= 0xff); in unicode_fill() 280 Py_UCS1 ch = (unsigned char)value; in unicode_fill() 286 assert(value <= 0xffff); in unicode_fill() 287 Py_UCS2 ch = (Py_UCS2)value; in unicode_fill() 294 assert(value <= MAX_UNICODE); in unicode_fill() 295 Py_UCS4 ch = value; in unicode_fill() 705 /* Subtype -- return genuine unicode string with the same value. */ in unicode_result_unchanged() 1923 references (key and value) whic in unicode_dealloc() 5054 size_t value = *(const size_t *) _p; ascii_decode() local 5077 size_t value = *(const size_t *) _p; ascii_decode() local 8263 long value = PyLong_AS_LONG(item); charmap_decode_mapping() local 8280 Py_UCS4 value = PyUnicode_READ_CHAR(item, 0); charmap_decode_mapping() local 8457 PyObject *key, *value; PyUnicode_BuildEncodingMap() local 8569 long value = PyLong_AS_LONG(x); charmapencode_lookup() local 9004 long value = PyLong_AS_LONG(x); charmaptranslate_lookup() local 13436 PyObject *new = NULL, *key, *value; unicode_maketrans_impl() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | dlist.c | 81 * glBegin()/glEnd() pair, with return value. 84 * \param retval value to return value in case the assertion fails. 122 * glBegin()/glEnd() pair and flush the vertices, with return value. 125 * \param retval value to return value in case the assertion fails. 701 #define ASSIGN_DOUBLE_TO_NODES(n, idx, value) \ 704 tmp.d = value; \ 709 #define ASSIGN_UINT64_TO_NODES(n, idx, value) \ 712 tmp.uint64 = value; \ 1583 save_Accum(GLenum op, GLfloat value) save_Accum() argument 2057 save_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) save_ClearBufferiv() argument 2085 save_ClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) save_ClearBufferuiv() argument 2113 save_ClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) save_ClearBufferfv() argument 3398 save_PatchParameteri(GLenum pname, const GLint value) save_PatchParameteri() argument 5250 save_SampleCoverage(GLclampf value, GLboolean invert) save_SampleCoverage() argument 5672 save_SetFragmentShaderConstantATI(GLuint dst, const GLfloat *value) save_SetFragmentShaderConstantATI() argument 11222 GLint value[4]; execute_list() local 11232 GLuint value[4]; execute_list() local 11242 GLfloat value[4]; execute_list() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cShaderImageLoadStoreTests.cpp | 781 ShortByteData(int size, const T& value, GLenum internalformat, GLenum format) in ShortByteData() argument 782 : data(size * size, value), datas(size * size * 4), datab(size * size * 4) in ShortByteData() 842 << tcu::TestLog::Message << "GL_MAX_IMAGE_UNITS value is invalid." << tcu::TestLog::EndMessage; in Run() 848 << tcu::TestLog::Message << "GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES value is invalid." in Run() 855 << tcu::TestLog::Message << "GL_MAX_VERTEX_IMAGE_UNIFORMS value is invalid." in Run() 862 << tcu::TestLog::Message << "GL_MAX_FRAGMENT_IMAGE_UNIFORMS value is invalid." in Run() 869 << tcu::TestLog::Message << "GL_MAX_COMBINED_IMAGE_UNIFORMS value is invalid." in Run() 876 << tcu::TestLog::Message << "GL_MAX_COMPUTE_IMAGE_UNIFORMS value is invalid." in Run() 1182 std::string GenFS(GLenum internalformat, const T& value) in GenFS() argument 1188 << TypePrefix<T>() << "vec4" << value << ");" N in GenFS() 1193 GenC(const T& value) GenC() argument 1215 GenCS(GLenum internalformat, const T& value) GenCS() argument 1227 GenC(const T& value) GenC() argument 1397 Read(GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument 1539 ReadCS(GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) ReadCS() argument 1639 Read(GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument 1732 GenC(const T& value) GenC() argument 2305 Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument 2522 Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cES31CompatibilityShaderImageLoadStoreTests.cpp | 810 ShortByteData(int size, const T& value, GLenum internalformat, GLenum format) in ShortByteData() argument 811 : data(size * size, value), datas(size * size * 4), datab(size * size * 4) in ShortByteData() 871 << tcu::TestLog::Message << "GL_MAX_IMAGE_UNITS value is invalid." << tcu::TestLog::EndMessage; in Run() 877 << tcu::TestLog::Message << "GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES value is invalid." in Run() 884 << tcu::TestLog::Message << "GL_MAX_VERTEX_IMAGE_UNIFORMS value is invalid." in Run() 891 << tcu::TestLog::Message << "GL_MAX_FRAGMENT_IMAGE_UNIFORMS value is invalid." in Run() 898 << tcu::TestLog::Message << "GL_MAX_COMBINED_IMAGE_UNIFORMS value is invalid." in Run() 905 << tcu::TestLog::Message << "GL_MAX_COMPUTE_IMAGE_UNIFORMS value is invalid." in Run() 1216 std::string GenFS(GLenum internalformat, const T& value) in GenFS() argument 1222 << TypePrefix<T>() << "vec4" << value << ");" N in GenFS() 1227 GenC(const T& value) GenC() argument 1249 GenCS(GLenum internalformat, const T& value) GenCS() argument 1261 GenC(const T& value) GenC() argument 1432 Read(GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument 1574 ReadCS(GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) ReadCS() argument 1675 Read(GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument 1768 GenC(const T& value) GenC() argument 2343 Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument 2560 Read(int target, GLenum internalformat, const T& value, const T& expected_value, GLenum format, GLenum type) Read() argument [all...] |
H A D | gl4cMultiBindTests.cpp | 1369 * @param expected_error Expected error value 1396 * @param expected_value Expected value of binding 1422 * @param expected_value Expected value of binding at <pname> target 1434 GLint value = 0; in checkTextureBinding() local 1441 value = (GLint)expected_value; in checkTextureBinding() 1444 if (binding != value) in checkTextureBinding() 1458 * @param expected_value Expected value of binding 1478 /** Fills MS texture with specified value 1482 * @param value Value for texture 1485 void fillMSTexture(deqp::Context& context, GLuint texture_id, GLuint value, boo argument 4489 const GLfloat value = 1.0f / (GLfloat)max_buffers; iterate() local [all...] |
/third_party/node/src/ |
H A D | node_http2.cc | 199 // terms of MB increments (i.e. the value 1 == 1 MB) in Http2Options() 921 // Called by nghttp2 for each header name/value pair in a HEADERS block. 927 nghttp2_rcbuf* value, in OnHeaderCallback() 940 if (!stream->is_destroyed() && !stream->AddHeader(name, value, flags)) { in OnHeaderCallback() 1077 // Nghttp2 contains header limit of 65536. When this value is exceeded the in OnFrameNotSent() 1151 nghttp2_rcbuf* value, in OnInvalidHeader() 1731 // Returns non-zero value if a write is already in progress. 2413 // Ads a header to the Http2Stream. Note that the header name and value are 2419 nghttp2_rcbuf* value, in AddHeader() 2426 Http2Header header(env(), name, value, flag in AddHeader() 924 OnHeaderCallback(nghttp2_session* handle, const nghttp2_frame* frame, nghttp2_rcbuf* name, nghttp2_rcbuf* value, uint8_t flags, void* user_data) OnHeaderCallback() argument 1148 OnInvalidHeader(nghttp2_session* session, const nghttp2_frame* frame, nghttp2_rcbuf* name, nghttp2_rcbuf* value, uint8_t flags, void* user_data) OnInvalidHeader() argument 2418 AddHeader(nghttp2_rcbuf* name, nghttp2_rcbuf* value, uint8_t flags) AddHeader() argument 2922 AltSvc(int32_t id, uint8_t* origin, size_t origin_len, uint8_t* value, size_t value_len) AltSvc() argument [all...] |
/third_party/openGLES/xml/ |
H A D | readme.tex | 293 means for a parameter or return value to be annotated with this kind. 410 <enum value="0x00000001" name="GL_CURRENT_BIT" /> 411 <enum value="0x00000002" name="GL_POINT_BIT" /> 414 <enum value="0x80E0" name="GL_BGR" /> 437 \item \attr{value} - enumerant value, a legal C constant (usually a 444 \item \attr{type} - legal C suffix for the value to force it to a 447 Separated from the \attr{value} field since this eases parsing and 458 different \attr{name} for the exact same \attr{value}. At present, 957 Group names representing some type of numerical constraint on a value [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftobjs.c | 1905 * too large value causing overflow should be checked in Mac_Read_POST_Resource() 3064 /* the factor 1.2 is a heuristical value */ in ft_synthesize_vertical_metrics() 5187 void* value, in ft_property_do() 5209 if ( !module_name || !property_name || !value ) in ft_property_do() 5261 value, in ft_property_do() 5265 value ); in ft_property_do() 5275 const void* value ) in FT_EXPORT_DEF() 5280 (void*)value, in FT_EXPORT_DEF() 5292 void* value ) in FT_EXPORT_DEF() 5297 value, in FT_EXPORT_DEF() 5184 ft_property_do( FT_Library library, const FT_String* module_name, const FT_String* property_name, void* value, FT_Bool set, FT_Bool value_is_string ) ft_property_do() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmInstructionTests.cpp | 407 // This version is sensitive to the initial value in the output buffer. 758 // Filter is a function that returns true if a value should pass, false otherwise. 763 T value; in fillRandomScalars() local 767 value = de::randomScalar<T>(rnd, minValue, maxValue); in fillRandomScalars() 768 while (!filter(value)); in fillRandomScalars() 770 typedPtr[offset + ndx] = value; in fillRandomScalars() 795 deInt64 value; in fillRandomInt64sLogDistributed() local 797 value = randomInt64LogDistributed(rnd); in fillRandomInt64sLogDistributed() 798 } while (!filter(value)); in fillRandomInt64sLogDistributed() 799 dst[ndx] = value; in fillRandomInt64sLogDistributed() 803 filterNonNegative(const deInt64 value) filterNonNegative() argument 808 filterPositive(const deInt64 value) filterPositive() argument 813 filterNotZero(const deInt64 value) filterNotZero() argument 3599 } value; global() member 4493 generateIntWidth(int value) generateIntWidth() argument 4496 r << value; generateIntWidth() local 4595 std::stack<std::string> value; generateOpPhiCase5() local [all...] |