/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | SerialQueueTests.cpp | 30 for (int value : queue.IterateAll()) { in TEST() 31 DAWN_UNUSED(value); in TEST() 42 for (int value : queue.IterateAll()) { in TEST() 43 EXPECT_EQ(expectedValues.front(), value); in TEST() 53 for (int value : queue.IterateAll()) { in TEST() 54 DAWN_UNUSED(value); in TEST() 72 for (int value : queue.IterateAll()) { in TEST() 73 EXPECT_EQ(expectedValues.front(), value); in TEST() 93 for (int value : queue.IterateUpTo(1)) { in TEST() 94 EXPECT_EQ(expectedValues.front(), value); in TEST() [all...] |
/third_party/vulkan-loader/loader/ |
H A D | asm_offset.c | 51 // MSVC will print the name of the value and the value in hex 77 size_t value; member 98 { .name = "VULKAN_LOADER_ERROR_BIT", .value = (size_t) VULKAN_LOADER_ERROR_BIT, in main() 99 .comment = "The numerical value of the enum value 'VULKAN_LOADER_ERROR_BIT'" }, in main() 100 { .name = "PTR_SIZE", .value = sizeof(void*), in main() 102 { .name = "CHAR_PTR_SIZE", .value = sizeof(char *), in main() 104 { .name = "FUNCTION_OFFSET_INSTANCE", .value = offsetof(struct loader_instance, phys_dev_ext_disp_functions), in main() 106 { .name = "PHYS_DEV_OFFSET_INST_DISPATCH", .value in main() [all...] |
H A D | cJSON.c | 446 static const char *parse_value(cJSON *item, const char *value, bool *out_of_memory); 448 static const char *parse_array(cJSON *item, const char *value, bool *out_of_memory); 450 static const char *parse_object(cJSON *item, const char *value, bool *out_of_memory); 460 static cJSON *cJSON_ParseWithOpts(const VkAllocationCallbacks *pAllocator, const char *value, const char **return_parse_end, in cJSON_ParseWithOpts() argument 470 end = parse_value(c, skip(value), out_of_memory); in cJSON_ParseWithOpts() 490 static cJSON *cJSON_Parse(const VkAllocationCallbacks *pAllocator, const char *value, bool *out_of_memory) { in cJSON_Parse() argument 491 return cJSON_ParseWithOpts(pAllocator, value, 0, 0, out_of_memory); in cJSON_Parse() 499 static const char *parse_value(cJSON *item, const char *value, bool *out_of_memory) { in parse_value() argument 500 if (!value) return 0; /* Fail on null. */ in parse_value() 501 if (!strncmp(value, "nul in parse_value() 594 parse_array(cJSON *item, const char *value, bool *out_of_memory) parse_array() argument 733 parse_object(cJSON *item, const char *value, bool *out_of_memory) parse_object() argument [all...] |
/third_party/backends/backend/ |
H A D | pnm.c | 642 SANE_Action action, void *value, SANE_Int * info) in sane_control_option() 650 handle, option, action, value, (void *) info); in sane_control_option() 698 status = sanei_constrain_value (sod + option, value, &myinfo); in sane_control_option() 704 if ((strlen (value) + 1) > sizeof (filename)) in sane_control_option() 706 strcpy (filename, value); in sane_control_option() 710 res = *(SANE_Word *) value; in sane_control_option() 713 bright = *(SANE_Word *) value; in sane_control_option() 716 contr = *(SANE_Word *) value; in sane_control_option() 719 gray = !!*(SANE_Word *) value; in sane_control_option() 747 three_pass = !!*(SANE_Word *) value; in sane_control_option() 641 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *value, SANE_Int * info) sane_control_option() argument [all...] |
/third_party/jerryscript/jerry-core/parser/regexp/ |
H A D | re-parser.c | 190 * Parse a max 3 digit long octal number from the input string, with a decimal value less than 256. 192 * @return value of the octal number 200 uint32_t value = (uint32_t) (*re_ctx_p->input_curr_p++) - LIT_CHAR_0; in re_parse_octal() local 205 value = value * 8 + (*re_ctx_p->input_curr_p++) - LIT_CHAR_0; in re_parse_octal() 211 const uint32_t new_value = value * 8 + (*re_ctx_p->input_curr_p) - LIT_CHAR_0; in re_parse_octal() 215 value = new_value; in re_parse_octal() 220 return value; in re_parse_octal() 444 re_ctx_p->token.value = LIT_UNICODE_CODE_POINT_NULL; in re_parse_char_escape() 458 re_ctx_p->token.value in re_parse_char_escape() 719 const uint32_t value = lit_parse_decimal (&digits_p, re_ctx_p->input_end_p); re_parse_next_token() local [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_lower_packed_varyings.c | 348 c_idx->value[0].u32 = vertex_index; in get_packed_varying_deref() 358 i2u(struct lower_packed_varyings_state *state, nir_ssa_def *value) in i2u() argument 360 value = in i2u() 364 value, NULL, NULL, NULL); in i2u() 365 return value; in i2u() 369 u2i(struct lower_packed_varyings_state *state, nir_ssa_def *value) in u2i() argument 371 value = in u2i() 375 value, NULL, NULL, NULL); in u2i() 376 return value; in u2i() 397 nir_ssa_def *value, in bitwise_assign_pack() 393 bitwise_assign_pack(struct lower_packed_varyings_state *state, nir_deref_instr *packed_deref, nir_deref_instr *unpacked_deref, const struct glsl_type *unpacked_type, nir_ssa_def *value, unsigned writemask) bitwise_assign_pack() argument 480 bitwise_assign_unpack(struct lower_packed_varyings_state *state, nir_deref_instr *unpacked_deref, nir_deref_instr *packed_deref, const struct glsl_type *unpacked_type, nir_ssa_def *value, unsigned writemask) bitwise_assign_unpack() argument 565 create_store_deref(struct lower_packed_varyings_state *state, nir_deref_instr *deref, nir_ssa_def *value, unsigned writemask, bool is_64bit) create_store_deref() argument 853 nir_ssa_def *value = rhs_swizzle ? rhs_swizzle : lower_varying() local [all...] |
/third_party/python/Lib/email/ |
H A D | message.py | 25 # existence of which force quoting of the parameter value. 39 def _formatparam(param, value=None, quote=True): 40 """Convenience function to format and return a key=value pair. 42 This will quote the value if needed or if quote is true. If value is a 43 three tuple (charset, language, value), it will be encoded according 48 if value is not None and len(value) > 0: 50 # are (charset, language, value). charset is a string, not a Charset 52 if isinstance(value, tupl [all...] |
/third_party/python/Objects/ |
H A D | funcobject.c | 366 func_set_code(PyFunctionObject *op, PyObject *value, void *Py_UNUSED(ignored)) in func_set_code() argument 373 if (value == NULL || !PyCode_Check(value)) { in func_set_code() 380 op, "__code__", value) < 0) { in func_set_code() 384 nfree = ((PyCodeObject *)value)->co_nfreevars; in func_set_code() 396 Py_INCREF(value); in func_set_code() 397 Py_XSETREF(op->func_code, value); in func_set_code() 409 func_set_name(PyFunctionObject *op, PyObject *value, void *Py_UNUSED(ignored)) in func_set_name() argument 413 if (value == NULL || !PyUnicode_Check(value)) { in func_set_name() 431 func_set_qualname(PyFunctionObject *op, PyObject *value, void *Py_UNUSED(ignored)) func_set_qualname() argument 459 func_set_defaults(PyFunctionObject *op, PyObject *value, void *Py_UNUSED(ignored)) func_set_defaults() argument 501 func_set_kwdefaults(PyFunctionObject *op, PyObject *value, void *Py_UNUSED(ignored)) func_set_kwdefaults() argument 544 func_set_annotations(PyFunctionObject *op, PyObject *value, void *Py_UNUSED(ignored)) func_set_annotations() argument 804 PyObject *value = PyObject_GetAttr(wrapped, name); functools_copy_attr() local [all...] |
/third_party/python/Lib/ |
H A D | cgi.py | 19 ValueError being raised during parsing. The default value of this variable is 0, 141 A true value indicates that blanks should be retained as 142 blank strings. The default false value indicates that 209 value is a list of values for that field. For non-file fields, the value 251 value = p[i+1:].strip() 252 if len(value) >= 2 and value[0] == value[-1] == '"': 253 value [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | code-assembler.h | 146 static const ObjectType value = ObjectType::k##Name; \ 151 static const ObjectType value = ObjectType::k##Name; \ 156 static const ObjectType value = ObjectType::k##Name; \ 435 !std::is_same<A, MaybeObject>::value, in operator TNode() 438 static_assert(types_have_common_values<A, PreviousType>::value, in operator TNode() 440 static_assert(std::is_convertible<TNode<A>, TNode<Object>>::value, in operator TNode() 445 !std::is_convertible<TNode<PreviousType>, TNode<A>>::value, in operator TNode() 449 if (std::is_same<PreviousType, MaybeObject>::value) { in operator TNode() 460 static_cast<int>(ObjectTypeOf<A>::value))), in operator TNode() 479 TNode<T> UncheckedCast(Node* value) { in UncheckedCast() argument 483 UncheckedCast(TNode<U> value) UncheckedCast() argument 492 ReinterpretCast(Node* value) ReinterpretCast() argument 496 Cast(Node* value, const char* location = �) Cast() argument 501 Cast(TNode<T> value, const char* location = �) Cast() argument 525 Uint64Constant(uint64_t value) Uint64Constant() argument 529 Uint32Constant(uint32_t value) Uint32Constant() argument 532 UintPtrConstant(uintptr_t value) UintPtrConstant() argument 536 PointerConstant(void* value) PointerConstant() argument 544 SmiConstant(E value) SmiConstant() argument 564 BoolConstant(bool value) BoolConstant() argument 596 Parameter( int value, cppgc::SourceLocation loc = cppgc::SourceLocation::Current()) Parameter() argument 602 message << "Parameter " << value; Parameter() local 614 UncheckedParameter(int value) UncheckedParameter() argument 938 Word64Not(TNode<Int64T> value) Word64Not() argument 941 Word64Not(TNode<Uint64T> value) Word64Not() argument 1080 WordShr(TNode<IntPtrT> value, int shift) WordShr() argument 1083 WordSar(TNode<IntPtrT> value, int shift) WordSar() argument 1140 Projection(TNode<PairT<T1, T2>> value) Projection() argument 1462 TNode<T> value() const { value() function in v8::internal::compiler::TypedCodeAssemblerVariable 1466 operator =(TNode<T> value) operator =() argument [all...] |
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl.cc | 367 auto gv = global_variable_decl(decos.value); in expect_global_decl() 374 builder_.AST().AddGlobalVariable(gv.value); in expect_global_decl() 378 auto gc = global_constant_decl(decos.value); in expect_global_decl() 386 builder_.AST().AddGlobalVariable(gc.value); in expect_global_decl() 398 builder_.AST().AddTypeDecl(ta.value); in expect_global_decl() 402 auto str = struct_decl(decos.value); in expect_global_decl() 410 builder_.AST().AddTypeDecl(str.value); in expect_global_decl() 421 return expect_decorations_consumed(decos.value); in expect_global_decl() 424 auto func = function_decl(decos.value); in expect_global_decl() 429 builder_.AST().AddFunction(func.value); in expect_global_decl() [all...] |
/third_party/node/deps/v8/src/baseline/ppc/ |
H A D | baseline-assembler-ppc-inl.h | 177 void BaselineAssembler::JumpIfRoot(Register value, RootIndex index, in JumpIfRoot() argument 180 __ JumpIfRoot(value, index, target); in JumpIfRoot() 183 void BaselineAssembler::JumpIfNotRoot(Register value, RootIndex index, in JumpIfNotRoot() argument 186 __ JumpIfNotRoot(value, index, target); in JumpIfNotRoot() 189 void BaselineAssembler::JumpIfSmi(Register value, Label* target, in JumpIfSmi() argument 192 __ JumpIfSmi(value, target); in JumpIfSmi() 202 void BaselineAssembler::JumpIfNotSmi(Register value, Label* target, in JumpIfNotSmi() argument 205 __ JumpIfNotSmi(value, target); in JumpIfNotSmi() 236 void BaselineAssembler::TestAndBranch(Register value, int mask, Condition cc, in TestAndBranch() argument 239 __ AndU64(r0, value, Operan in TestAndBranch() 281 JumpIfPointer(Condition cc, Register value, MemOperand operand, Label* target, Label::Distance) JumpIfPointer() argument 291 JumpIfSmi(Condition cc, Register value, Smi smi, Label* target, Label::Distance) JumpIfSmi() argument 307 JumpIfTagged(Condition cc, Register value, MemOperand operand, Label* target, Label::Distance) JumpIfTagged() argument 315 JumpIfTagged(Condition cc, MemOperand operand, Register value, Label* target, Label::Distance) JumpIfTagged() argument 323 JumpIfByte(Condition cc, Register value, int32_t byte, Label* target, Label::Distance) JumpIfByte() argument 334 Move(Register output, TaggedIndex value) Move() argument 349 Move(Register output, Handle<HeapObject> value) Move() argument 354 Move(Register output, int32_t value) Move() argument 509 StoreTaggedSignedField(Register target, int offset, Smi value) StoreTaggedSignedField() argument 518 StoreTaggedFieldWithWriteBarrier(Register target, int offset, Register value) StoreTaggedFieldWithWriteBarrier() argument 528 StoreTaggedFieldNoWriteBarrier(Register target, int offset, Register value) StoreTaggedFieldNoWriteBarrier() argument [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_config_parser.cpp | 148 const char* value = attributes[i + 1]; 151 size_t valueLen = strlen(value); 153 axisTag = SkSetFourByteTag(value[0], value[1], value[2], value[3]); 166 SK_FONTCONFIGPARSER_WARNING("'%s' is an invalid axis tag", value); 169 if (parse_fixed<16>(value, &axisStyleValue)) { 172 SK_FONTCONFIGPARSER_WARNING("'%s' is an invalid axis stylevalue", value); 179 coordinate.value 461 xml_entity_decl_handler(void *data, const XML_Char *entityName, int is_parameter_entity, const XML_Char *value, int value_length, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId, const XML_Char *notationName) xml_entity_decl_handler() argument [all...] |
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | default_value_objectwriter.cc | 47 // Helper function to convert string value to given data type by calling the 48 // passed converter function on the DataPiece created from "value" argument. 49 // If value is empty or if conversion fails, the default_value is returned. 51 T ConvertTo(StringPiece value, in ConvertTo() argument 53 if (value.empty()) return default_value; in ConvertTo() 54 StatusOr<T> result = (DataPiece(value, true).*converter_fn)(); in ConvertTo() 55 return result.ok() ? result.value() : default_value; in ConvertTo() 79 StringPiece name, bool value) { in RenderBool() 81 ow_->RenderBool(name, value); in RenderBool() 83 RenderDataPiece(name, DataPiece(value)); in RenderBool() 78 RenderBool( StringPiece name, bool value) RenderBool() argument 88 RenderInt32( StringPiece name, int32 value) RenderInt32() argument 98 RenderUint32( StringPiece name, uint32 value) RenderUint32() argument 108 RenderInt64( StringPiece name, int64 value) RenderInt64() argument 118 RenderUint64( StringPiece name, uint64 value) RenderUint64() argument 128 RenderDouble( StringPiece name, double value) RenderDouble() argument 138 RenderFloat( StringPiece name, float value) RenderFloat() argument 148 RenderString( StringPiece name, StringPiece value) RenderString() argument 161 RenderBytes( StringPiece name, StringPiece value) RenderBytes() argument [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDefaultVertexAttributeTests.cpp | 83 // returns the value loaded 103 tcu::Vector<TYPE, COMPONENTS> value; \ 104 value = convertToTypeVec<Type, COMPONENTS>(v); \ 107 return convertToTypeVec<float, 4>(value); \ 137 tcu::Vector<TYPE, COMPONENTS> value; \ 138 value = convertToTypeVec<Type, COMPONENTS>(v); \ 140 gl.glVertexAttrib ##COMPS ##TYPECODE (index, value.getPtr()); \ 141 return convertToTypeVec<float, 4>(value); \ 171 tcu::Vector<TYPE, COMPONENTS> value; \ 172 value 478 computeColor(const tcu::Vec4& value) computeColor() argument [all...] |
/third_party/googletest/googletest/test/ |
H A D | gtest_json_test_utils.py | 45 def _normalize(key, value): 47 return re.sub(r'^\d+(\.\d+)?s$', '*', value) 49 return re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$', '*', value) 51 value = re.sub(r'^.*[/\\](.*:)\d+\n', '\\1*\n', value) 52 return re.sub(r'Stack trace:\n(.|\n)*', 'Stack trace:\n*', value) 54 return re.sub(r'^.*[/\\](.*)', '\\1', value) 56 return normalize(value)
|
/third_party/musl/src/linux/ |
H A D | eventfd.c | 18 int eventfd_read(int fd, eventfd_t *value) in eventfd_read() argument 20 return (sizeof(*value) == read(fd, value, sizeof(*value))) ? 0 : -1; in eventfd_read() 23 int eventfd_write(int fd, eventfd_t value) in eventfd_write() argument 25 return (sizeof(value) == write(fd, &value, sizeof(value))) ? 0 : -1; in eventfd_write()
|
/third_party/skia/src/core/ |
H A D | SkSafeRange.h | 25 // checks 0 <= value <= max. 26 // On success, returns value 28 template <typename T> T checkLE(uint64_t value, T max) { in checkLE() argument 30 if (value > static_cast<uint64_t>(max)) { in checkLE() 32 value = 0; in checkLE() 34 return static_cast<T>(value); in checkLE() 37 int checkGE(int value, int min) { in checkGE() argument 38 if (value < min) { in checkGE() 40 value = min; in checkGE() 42 return value; in checkGE() [all...] |
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 35 values represented by 24 uppercase hexadecimal characters. Each value in the 52 the "objects" dictionary, named "rootObject". The value of rootObject is a 210 property_type: The type to use as the value of the property, 212 element of the value's list. property_type must 217 as parent, to the property value (or, if is_list is 226 to provide a default value for objects that do not supply 227 their own value. If is_required is True and default 229 value for the property. 240 character to transform; each value is a string 254 hashable value int [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 35 values represented by 24 uppercase hexadecimal characters. Each value in the 52 the "objects" dictionary, named "rootObject". The value of rootObject is a 210 property_type: The type to use as the value of the property, 212 element of the value's list. property_type must 217 as parent, to the property value (or, if is_list is 226 to provide a default value for objects that do not supply 227 their own value. If is_required is True and default 229 value for the property. 240 character to transform; each value is a string 254 hashable value int [all...] |
/third_party/icu/icu4c/source/extra/scrptrun/ |
H A D | scrptrun.cpp | 50 int8_t ScriptRun::highBit(int32_t value) in highBit() argument 52 if (value <= 0) { in highBit() 58 if (value >= 1 << 16) { in highBit() 59 value >>= 16; in highBit() 63 if (value >= 1 << 8) { in highBit() 64 value >>= 8; in highBit() 68 if (value >= 1 << 4) { in highBit() 69 value >>= 4; in highBit() 73 if (value >= 1 << 2) { in highBit() 74 value >> in highBit() [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | set-iterators.js | 70 assert(next.value === i); 75 assert(next.value[0] === i); 76 assert(next.value[1] === i); 82 assert(next.value === undefined); 87 assert(next.value === undefined); 98 assert(next.value === i); 103 assert(next.value[0] === i); 104 assert(next.value[1] === i); 131 for (var value of s) { 137 assert(value [all...] |
/third_party/json/tests/src/ |
H A D | unit-noexcept.cpp | 63 CHECK(std::is_nothrow_copy_constructible<json::exception>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 64 CHECK(std::is_nothrow_copy_constructible<json::parse_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 65 CHECK(std::is_nothrow_copy_constructible<json::invalid_iterator>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 66 CHECK(std::is_nothrow_copy_constructible<json::type_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); 67 CHECK(std::is_nothrow_copy_constructible<json::out_of_range>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value); [all...] |
/third_party/node/deps/npm/node_modules/jsonparse/test/ |
H A D | boundary.js | 8 p.onValue = function (value) { 9 t.equal(value, 'д'); 24 p.onValue = function (value) { 25 t.equal(value, '我'); 38 p.onValue = function (value) { 39 t.equal(value, '?'); 52 p.onValue = function (value) { 53 t.equal(value, '我'); 68 p.onValue = function (value) { 69 t.equal(value, '?'); [all...] |
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | utils-arm64.h | 31 int float16classify(float16 value); 34 int CountLeadingZeros(uint64_t value, int width); 35 int CountLeadingSignBits(int64_t value, int width); 36 V8_EXPORT_PRIVATE int CountSetBits(uint64_t value, int width); 37 int LowestSetBitPosition(uint64_t value); 38 int HighestSetBitPosition(uint64_t value); 39 uint64_t LargestPowerOf2Divisor(uint64_t value); 43 T ReverseBytes(T value, int block_bytes_log2) { in ReverseBytes() argument 44 DCHECK((sizeof(value) == 4) || (sizeof(value) in ReverseBytes() [all...] |