/third_party/skia/src/core/ |
H A D | SkBlitter.cpp | 38 const SkPixmap* SkBlitter::justAnOpaqueColor(uint32_t* value) { in justAnOpaqueColor() argument 319 const SkPixmap* SkNullBlitter::justAnOpaqueColor(uint32_t* value) { in justAnOpaqueColor() argument 480 const SkPixmap* SkRectClipBlitter::justAnOpaqueColor(uint32_t* value) { 481 return fBlitter->justAnOpaqueColor(value); 616 const SkPixmap* SkRgnClipBlitter::justAnOpaqueColor(uint32_t* value) { 617 return fBlitter->justAnOpaqueColor(value); 668 mode.value() > SkBlendMode::kLastCoeffMode || 711 if (mode.value() != SkBlendMode::kSrcOver) { 724 if (mode.value() == SkBlendMode::kClear) { 885 const SkPixmap* SkRectClipCheckBlitter::justAnOpaqueColor(uint32_t* value) { [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLFunctionCall.cpp | 64 double value[]) { in assemble_compound() 69 array.push_back(Literal::Make(line, value[index], &returnType.componentType())); in assemble_compound() 92 // of scalars and vectors, the scalars is interpreted as a vector containing the same value for in coalesce_n_way_vector() 103 double value = startingState; in coalesce_n_way_vector() local 118 value = coalesce(value, *arg0Value, *arg1Value); in coalesce_n_way_vector() 120 // If coalescing the intrinsic yields a non-finite value, do not optimize. in coalesce_n_way_vector() 121 if (!std::isfinite(value)) { in coalesce_n_way_vector() 127 value = finalize(value); in coalesce_n_way_vector() 61 assemble_compound(const Context& context, int line, const Type& returnType, double value[]) assemble_compound() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_fractions.py | 22 def __init__(self, value): 23 if not isinstance(value, float): 25 self.value = value 29 return op(F.from_float(self.value), other) 31 return op(self.value, other.value) 437 def __init__(self, value): 438 self.value = value [all...] |
H A D | test_time.py | 226 # value forced into range by a ``% 7`` calculation. 227 # Start check at -2 since gettmarg() increments value before taking 260 # not change output based on its value and no test for year 456 # than OverflowError is raised for an extreme value. 555 self.skipTest("unable to find an invalid time_t value") 619 # Issue 13305: For years < 1000, the value is not always 636 # Check that we can return the zero padded value. 808 for value in values: 809 ns = value * unit 855 for value i [all...] |
/third_party/python/Modules/ |
H A D | _functoolsmodule.c | 362 PyObject *key, *value; in partial_repr() local 386 for (i = 0; PyDict_Next(pto->kw, &i, &key, &value);) { in partial_repr() 387 /* Prevent key.__str__ from deleting the value. */ in partial_repr() 388 Py_INCREF(value); in partial_repr() 390 key, value)); in partial_repr() 391 Py_DECREF(value); in partial_repr() 715 "reduce() of empty iterable with no initial value"); in functools_reduce() 728 "reduce(function, iterable[, initial]) -> value\n\ 732 value. For example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates\n\ 815 PyObject *key, *keyword, *value; in lru_cache_make_key() local [all...] |
/third_party/skia/third_party/externals/zlib/ |
H A D | trees.c | 152 local unsigned bi_reverse OF((unsigned value, int length)); 180 * Send a value on a given number of bits. 181 * IN assertion: length <= 16 and value fits in length bits. 184 local void send_bits OF((deflate_state *s, int value, int length)); 186 local void send_bits(s, value, length) in send_bits() 188 int value; /* value to send */ 191 Tracevv((stderr," l %2d v %4x ", length, value)); 196 * (16 - bi_valid) bits from value, leaving (width - (16-bi_valid)) 197 * unused bits in value [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | CodedInputStreamTest.java | 188 * matches the given value. 190 private void assertReadVarint(byte[] data, long value) throws Exception { in assertReadVarint() argument 195 assertEquals(inputType.name(), (int) value, input.readRawVarint32()); in assertReadVarint() 199 assertEquals(inputType.name(), value, input.readRawVarint64()); in assertReadVarint() 203 assertEquals(inputType.name(), value, input.readRawVarint64SlowPath()); in assertReadVarint() 218 assertEquals((int) value, CodedInputStream.readRawVarint32(rawInput)); in assertReadVarint() 305 * given value. 307 private void assertReadLittleEndian32(byte[] data, int value) throws Exception { in assertReadLittleEndian32() argument 312 assertEquals(inputType.name(), value, input.readRawLittleEndian32()); in assertReadLittleEndian32() 320 * given value 322 assertReadLittleEndian64(byte[] data, long value) assertReadLittleEndian64() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ap_config.c | 235 /* Set to invalid value means do not add Power Constraint IE */ in hostapd_config_defaults() 316 char *value; in hostapd_config_read_wpa_psk() local 358 value = str_token(token, "", &context2); in hostapd_config_read_wpa_psk() 359 if (!value) in hostapd_config_read_wpa_psk() 360 value = ""; in hostapd_config_read_wpa_psk() 362 keyid = value; in hostapd_config_read_wpa_psk() 364 wps = atoi(value); in hostapd_config_read_wpa_psk() 366 vlan_id = atoi(value); in hostapd_config_read_wpa_psk() 370 name, value, line, fname); in hostapd_config_read_wpa_psk() 561 struct hostapd_radius_attr * hostapd_parse_radius_attr(const char *value) in hostapd_parse_radius_attr() argument [all...] |
/third_party/json/tests/thirdparty/doctest/ |
H A D | doctest.h | 790 template<class T> struct is_lvalue_reference { const static bool value=false; }; member 791 template<class T> struct is_lvalue_reference<T&> { const static bool value=true; }; member 802 static_assert(!is_lvalue_reference<T>::value, 814 template<class T> struct is_enum { constexpr static bool value = __is_enum(T); }; member 822 { static const bool value = false; }; member 831 static constexpr bool value = false; member 836 static constexpr bool value = true; 881 struct StringMaker : public detail::StringMakerBase<detail::has_insertion_operator<T>::value> 905 template <typename T, typename detail::enable_if<!detail::is_enum<T>::value, bool>::type = true> 906 String toString(const DOCTEST_REF_WRAP(T) value) { [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | da7218.c | 435 * If ALC in operation and value of control has been updated, in da7218_mixin_gain_put() 451 unsigned int lvalue = ucontrol->value.integer.value[0]; in da7218_alc_sw_put() 452 unsigned int rvalue = ucontrol->value.integer.value[1]; in da7218_alc_sw_put() 481 * Frequency value spans two 8-bit registers, lower then upper byte. in da7218_tonegen_freq_get() 488 ucontrol->value.integer.value[0] = le16_to_cpu(val); in da7218_tonegen_freq_get() 504 * Frequency value spans two 8-bit registers, lower then upper byte. in da7218_tonegen_freq_put() 508 val = cpu_to_le16(ucontrol->value in da7218_tonegen_freq_put() [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | firmware_if.c | 345 int hl_fw_send_pci_access_msg(struct hl_device *hdev, u32 opcode, u64 value) in hl_fw_send_pci_access_msg() argument 350 pkt.value = cpu_to_le64(value); in hl_fw_send_pci_access_msg() 388 /* set fence to a non valid value */ in hl_fw_send_cpu_message() 473 * previous PI value written during packet submission. in hl_fw_send_cpu_message() 474 * We must do this or else F/W can read an old value upon queue wraparound. in hl_fw_send_cpu_message() 498 pkt.value = cpu_to_le64(event_type); in hl_fw_unmask_irq() 558 test_pkt.value = cpu_to_le64(CPUCP_PACKET_FENCE_VAL); in hl_fw_test_cpu_queue() 615 pkt.value = cpu_to_le64(open); in hl_fw_send_device_activity() 632 hb_pkt.value in hl_fw_send_heartbeat() 3090 long value; hl_fw_get_clk_rate() local [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | da7218.c | 435 * If ALC in operation and value of control has been updated, in da7218_mixin_gain_put() 451 unsigned int lvalue = ucontrol->value.integer.value[0]; in da7218_alc_sw_put() 452 unsigned int rvalue = ucontrol->value.integer.value[1]; in da7218_alc_sw_put() 481 * Frequency value spans two 8-bit registers, lower then upper byte. in da7218_tonegen_freq_get() 488 ucontrol->value.integer.value[0] = le16_to_cpu(val); in da7218_tonegen_freq_get() 504 * Frequency value spans two 8-bit registers, lower then upper byte. in da7218_tonegen_freq_put() 508 val = cpu_to_le16(ucontrol->value in da7218_tonegen_freq_put() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_params.c | 40 fprintf(stderr, " value = "); in dump_hw_params() 127 /* Return the value for field PAR if it's fixed in configuration space 156 /* Return the minimum value for field PAR. */ 181 /* Return the maximum value for field PAR. */ 806 /* Inside configuration space defined by PARAMS set PAR to the available value 810 Return the value found. 881 /* Inside configuration space defined by PARAMS set PAR to the available value 887 Return the value found. 1295 int value, int *dir, 1314 int value, in [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | dtfmtsym.cpp | 1548 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) override { 1554 ResourceTable calendarData = value.getTable(errorCode); 1558 for (int i = 0; calendarData.getKeyAndValue(i, key, value); i++) { 1562 AliasType aliasType = processAliasFromValue(keyUString, value, errorCode); 1605 ResourceArray resourceArray = value.getArray(errorCode); 1608 value.getStringArray(stringArray.getAlias(), arraySize, errorCode); 1620 processResource(keyUString, key, value, errorCode); 1672 void processResource(UnicodeString &path, const char *key, ResourceValue &value, UErrorCode &errorCode) { in processResource() 1675 ResourceTable table = value.getTable(errorCode); in processResource() 1680 for (int i = 0; table.getKeyAndValue(i, key, value); in processResource() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | shaderapi.c | 946 /* If the program has not been linked, return initial value 0. */ in get_programiv() 2495 * Since any value of binaryFormat passed "is not one of those specified as in _mesa_ProgramBinary() 2508 GLuint pname, GLint value, bool no_error) in program_parameteri() 2522 * "An INVALID_VALUE error is generated if the <value> argument to in program_parameteri() 2525 if (!no_error && value != GL_TRUE && value != GL_FALSE) { in program_parameteri() 2536 * PROGRAM_BINARY_RETRIEVABLE_HINT and <value> TRUE. This setting in program_parameteri() 2549 shProg->BinaryRetrievableHintPending = value; in program_parameteri() 2556 if (!no_error && value != GL_TRUE && value ! in program_parameteri() 2507 program_parameteri(struct gl_context *ctx, struct gl_shader_program *shProg, GLuint pname, GLint value, bool no_error) program_parameteri() argument 2580 _mesa_ProgramParameteri_no_error(GLuint program, GLenum pname, GLint value) _mesa_ProgramParameteri_no_error() argument 2590 _mesa_ProgramParameteri(GLuint program, GLenum pname, GLint value) _mesa_ProgramParameteri() argument 2731 set_patch_vertices(struct gl_context *ctx, GLint value) set_patch_vertices() argument 2744 _mesa_PatchParameteri_no_error(GLenum pname, GLint value) _mesa_PatchParameteri_no_error() argument 2753 _mesa_PatchParameteri(GLenum pname, GLint value) _mesa_PatchParameteri() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | dtfmtsym.cpp | 1556 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) override { 1562 ResourceTable calendarData = value.getTable(errorCode); 1566 for (int i = 0; calendarData.getKeyAndValue(i, key, value); i++) { 1570 AliasType aliasType = processAliasFromValue(keyUString, value, errorCode); 1613 ResourceArray resourceArray = value.getArray(errorCode); 1616 value.getStringArray(stringArray.getAlias(), arraySize, errorCode); 1628 processResource(keyUString, key, value, errorCode); 1680 void processResource(UnicodeString &path, const char *key, ResourceValue &value, UErrorCode &errorCode) { in processResource() 1683 ResourceTable table = value.getTable(errorCode); in processResource() 1688 for (int i = 0; table.getKeyAndValue(i, key, value); in processResource() [all...] |
/third_party/lz4/lib/ |
H A D | lz4.c | 49 * Select "acceleration" for LZ4_compress_fast() when parameter value <= 0 54 * Any "acceleration" value higher than this threshold 169 # define expect(expr,value) (__builtin_expect ((expr),(value)) ) 171 # define expect(expr,value) (expr) 375 static void LZ4_write16(void* memPtr, U16 value) { *(U16*)memPtr = value; } in LZ4_write16() argument 376 static void LZ4_write32(void* memPtr, U32 value) { *(U32*)memPtr = value; } in LZ4_write32() argument 388 static void LZ4_write16(void* memPtr, U16 value) { ((LZ4_unalig argument 389 LZ4_write32(void* memPtr, U32 value) LZ4_write32() argument 408 LZ4_write16(void* memPtr, U16 value) LZ4_write16() argument 413 LZ4_write32(void* memPtr, U32 value) LZ4_write32() argument 431 LZ4_writeLE16(void* memPtr, U16 value) LZ4_writeLE16() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustBufferAccessWithVariablePointersTests.cpp | 411 // Each read of value bumps counter up. 416 :value(0u) in Autocounter() 420 return ++value; in incrementAndGetValue() 423 deUint32 value; member in vkt::robustness::__anon28603::Autocounter 434 : value(autoincrement.incrementAndGetValue()) in Variable() 437 deUint32 value; member in vkt::robustness::__anon28603::Variable 442 return a.value < b.value; in operator <() 452 : value(text) in Operation() 457 return value; in getValue() 462 const std::string value; global() member in vkt::robustness::__anon28603::Operation 1917 const VkFormat value; createBufferAccessWithVariablePointersTests() member 1941 const ShaderType value; createBufferAccessWithVariablePointersTests() member [all...] |
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngfix.c | 91 # define voidcast(type, value) static_cast<type>(value) 92 # define constcast(type, value) const_cast<type>(value) 93 # define aligncast(type, value) \ 94 static_cast<type>(static_cast<void*>(value)) 95 # define aligncastconst(type, value) \ 96 static_cast<type>(static_cast<const void*>(value)) 98 # define voidcast(type, value) (value) 557 crc_init_4(png_uint_32 value) crc_init_4() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | dtfmtsym.cpp | 1544 virtual void put(const char *key, ResourceValue &value, UBool, UErrorCode &errorCode) { in put() 1550 ResourceTable calendarData = value.getTable(errorCode); in put() 1554 for (int i = 0; calendarData.getKeyAndValue(i, key, value); i++) { in put() 1558 AliasType aliasType = processAliasFromValue(keyUString, value, errorCode); in put() 1607 ResourceArray resourceArray = value.getArray(errorCode); in put() 1610 value.getStringArray(stringArray.getAlias(), arraySize, errorCode); in put() 1622 processResource(keyUString, key, value, errorCode); in put() 1674 void processResource(UnicodeString &path, const char *key, ResourceValue &value, UErrorCode &errorCode) { in processResource() 1677 ResourceTable table = value.getTable(errorCode); in processResource() 1682 for (int i = 0; table.getKeyAndValue(i, key, value); in processResource() [all...] |
/third_party/python/Lib/ |
H A D | typing.py | 178 We append the repr() of the actual value (truncated to 100 chars). 706 """Special typing form to define literal types (a.k.a. value types). 709 variable or function parameter has a value equivalent to the provided 722 Literal[...] cannot be subclassed. At runtime, an arbitrary value 801 1. The return value is a boolean. 802 2. If the return value is ``True``, the type of its argument 2247 """Cast a value to a type. 2249 This returns the value unchanged. To the type checker this 2250 signals that the return value has the designated type, but at 2258 """Ask a static type checker to confirm that the value i [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustBufferAccessWithVariablePointersTests.cpp | 415 // Each read of value bumps counter up. 420 :value(0u) in Autocounter() 424 return ++value; in incrementAndGetValue() 427 deUint32 value; member in vkt::robustness::__anon29782::Autocounter 438 : value(autoincrement.incrementAndGetValue()) in Variable() 441 deUint32 value; member in vkt::robustness::__anon29782::Variable 446 return a.value < b.value; in operator <() 456 : value(text) in Operation() 461 return value; in getValue() 466 const std::string value; global() member in vkt::robustness::__anon29782::Operation 1923 const VkFormat value; createBufferAccessWithVariablePointersTests() member 1947 const ShaderType value; createBufferAccessWithVariablePointersTests() member [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | MessageSchema.java | 117 * [44 - 63] field offset / oneof value field offset 124 * value for non-presence. This is not validated at runtime, we simply assume message layouts 137 * objects[pos + 1] = EnumVerifier if map value is enum, or message class reference if map 138 * value is message. 1496 Object value = unsafe.getObject(message, offset); in getSerializedSizeProto2() 1497 if (value instanceof ByteString) { in getSerializedSizeProto2() 1498 size += CodedOutputStream.computeBytesSize(number, (ByteString) value); in getSerializedSizeProto2() 1500 size += CodedOutputStream.computeStringSize(number, (String) value); in getSerializedSizeProto2() 1506 Object value = unsafe.getObject(message, offset); in getSerializedSizeProto2() 1507 size += SchemaUtil.computeSizeMessage(number, value, getMessageFieldSchem in getSerializedSizeProto2() 5664 writeString(int fieldNumber, Object value, Writer writer) writeString() argument 5731 type(int value) type() argument 5735 isRequired(int value) isRequired() argument 5739 isEnforceUtf8(int value) isEnforceUtf8() argument 5743 offset(int value) offset() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | ov519.c | 482 /*jfm: this value does not work for 800x600 - see isoc_init */ 524 #define OV7670_R10_AECH 0x10 /* More bits of AEC value */ 1989 static void reg_w(struct sd *sd, u16 index, u16 value) in reg_w() argument 2010 req, value, index); in reg_w() 2015 value, index, NULL, 0, 500); in reg_w() 2022 req, index, value); in reg_w() 2023 sd->gspca_dev.usb_buf[0] = value; in reg_w() 2121 * the same position as 1's in "mask" are cleared and set to "value". Bits 2123 * of their respective state in "value". 2127 u8 value, in reg_w_mask() 2125 reg_w_mask(struct sd *sd, u16 index, u8 value, u8 mask) reg_w_mask() argument 2149 ov518_reg_w32(struct sd *sd, u16 index, u32 value, int n) ov518_reg_w32() argument 2173 ov511_i2c_w(struct sd *sd, u8 reg, u8 value) ov511_i2c_w() argument 2210 int rc, value, retries; ov511_i2c_r() local 2278 ov518_i2c_w(struct sd *sd, u8 reg, u8 value) ov518_i2c_w() argument 2310 int value; ov518_i2c_r() local 2328 ovfx2_i2c_w(struct sd *sd, u8 reg, u8 value) ovfx2_i2c_w() argument 2376 i2c_w(struct sd *sd, u8 reg, u8 value) i2c_w() argument 2445 i2c_w_mask(struct sd *sd, u8 reg, u8 value, u8 mask) i2c_w_mask() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | ov519.c | 482 /*jfm: this value does not work for 800x600 - see isoc_init */ 524 #define OV7670_R10_AECH 0x10 /* More bits of AEC value */ 1989 static void reg_w(struct sd *sd, u16 index, u16 value) in reg_w() argument 2010 req, value, index); in reg_w() 2015 value, index, NULL, 0, 500); in reg_w() 2022 req, index, value); in reg_w() 2023 sd->gspca_dev.usb_buf[0] = value; in reg_w() 2121 * the same position as 1's in "mask" are cleared and set to "value". Bits 2123 * of their respective state in "value". 2127 u8 value, in reg_w_mask() 2125 reg_w_mask(struct sd *sd, u16 index, u8 value, u8 mask) reg_w_mask() argument 2149 ov518_reg_w32(struct sd *sd, u16 index, u32 value, int n) ov518_reg_w32() argument 2173 ov511_i2c_w(struct sd *sd, u8 reg, u8 value) ov511_i2c_w() argument 2210 int rc, value, retries; ov511_i2c_r() local 2278 ov518_i2c_w(struct sd *sd, u8 reg, u8 value) ov518_i2c_w() argument 2310 int value; ov518_i2c_r() local 2328 ovfx2_i2c_w(struct sd *sd, u8 reg, u8 value) ovfx2_i2c_w() argument 2376 i2c_w(struct sd *sd, u8 reg, u8 value) i2c_w() argument 2445 i2c_w_mask(struct sd *sd, u8 reg, u8 value, u8 mask) i2c_w_mask() argument [all...] |