/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
H A D | UnicodeSetStringSpanTest.java | 42 errln(String.format("FAIL: UnicodeSet(%s).spanBack(%s) returns the wrong value pos %d (!= 1)", in TestSimpleStringSpan() 47 errln(String.format("FAIL: UnicodeSet(%s).span(%s) returns the wrong value pos %d (!= 3)", in TestSimpleStringSpan() 52 errln(String.format("FAIL: UnicodeSet(%s).span(%s, 1) returns the wrong value pos %d (!= 3)", in TestSimpleStringSpan() 68 errln(String.format("FAIL: UnicodeSet(%s) containsSpanBackUTF16(%s) returns the wrong value length %d (!= 1)", in TestSimpleStringSpanSlow() 73 errln(String.format("FAIL: UnicodeSet(%s) containsSpanUTF16(%s) returns the wrong value length %d (!= 3)", in TestSimpleStringSpanSlow() 78 errln(String.format("FAIL: UnicodeSet(%s) containsSpanUTF16(%s) returns the wrong value length %d (!= 2)", in TestSimpleStringSpanSlow() 110 errln("FAIL: UnicodeSet(" + pattern + ").span(while not) returns the wrong value"); in TestSimpleStringSpanAndFreeze() 119 errln("FAIL: UnicodeSet(" + pattern + ").span(while longest match) returns the wrong value"); in TestSimpleStringSpanAndFreeze() 125 errln("FAIL: UnicodeSet(" + pattern + ").span(while longest match) returns the wrong value"); in TestSimpleStringSpanAndFreeze() 135 errln("FAIL: UnicodeSet(" + pattern + ").spanBack(while longest match) returns the wrong value"); in TestSimpleStringSpanAndFreeze() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | ICUResourceBundleTest.java | 218 errln("Did not get the expected int value for key onehundredtwentythree in bundle testtypes"); in TestBasicTypes() 223 errln("Did not get the expected int value for key emptyint in bundle testtypes"); in TestBasicTypes() 230 errln("Did not get the expected int value for key one in bundle testtypes"); in TestBasicTypes() 238 errln("Did not get the expected int value for key minusone in bundle testtypes"); in TestBasicTypes() 243 errln("Did not get the expected int value for key minusone in bundle testtypes"); in TestBasicTypes() 250 errln("Did not get the expected int value for key minusone in bundle testtypes"); in TestBasicTypes() 258 errln("Did not get the expected int vector value for key integerarray in bundle testtypes"); in TestBasicTypes() 263 errln("Did not get the expected int vector value for key emptyintv in bundle testtypes"); in TestBasicTypes() 276 errln("Did not get the expected value for binary buffer at index: "+i); in TestBasicTypes() 312 String value in TestBasicTypes() 356 int value; global() field in ICUResourceBundleTest.TestCase 357 TestCase(String key, int value) TestCase() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UnicodeSetStringSpanTest.java | 39 errln(String.format("FAIL: UnicodeSet(%s).spanBack(%s) returns the wrong value pos %d (!= 1)", in TestSimpleStringSpan() 44 errln(String.format("FAIL: UnicodeSet(%s).span(%s) returns the wrong value pos %d (!= 3)", in TestSimpleStringSpan() 49 errln(String.format("FAIL: UnicodeSet(%s).span(%s, 1) returns the wrong value pos %d (!= 3)", in TestSimpleStringSpan() 65 errln(String.format("FAIL: UnicodeSet(%s) containsSpanBackUTF16(%s) returns the wrong value length %d (!= 1)", in TestSimpleStringSpanSlow() 70 errln(String.format("FAIL: UnicodeSet(%s) containsSpanUTF16(%s) returns the wrong value length %d (!= 3)", in TestSimpleStringSpanSlow() 75 errln(String.format("FAIL: UnicodeSet(%s) containsSpanUTF16(%s) returns the wrong value length %d (!= 2)", in TestSimpleStringSpanSlow() 107 errln("FAIL: UnicodeSet(" + pattern + ").span(while not) returns the wrong value"); in TestSimpleStringSpanAndFreeze() 116 errln("FAIL: UnicodeSet(" + pattern + ").span(while longest match) returns the wrong value"); in TestSimpleStringSpanAndFreeze() 122 errln("FAIL: UnicodeSet(" + pattern + ").span(while longest match) returns the wrong value"); in TestSimpleStringSpanAndFreeze() 132 errln("FAIL: UnicodeSet(" + pattern + ").spanBack(while longest match) returns the wrong value"); in TestSimpleStringSpanAndFreeze() [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/ |
H A D | XLIFF2ICUConverter.java | 173 sourceDir = options[SOURCEDIR].value; in processArgs() 177 destDir = options[DESTDIR].value; in processArgs() 182 targetFileName = options[TARGETONLY].value; in processArgs() 187 sourceFileName = options[SOURCEONLY].value; in processArgs() 426 // get the value of source-language attribute in createRB() 428 // get the value of target-language attribute in createRB() 437 // the source-language value should be the same as xml:lang values in createRB() 442 // the target-language value should be the same as xml:lang values in createRB() 558 System.out.println("WARNING: The id value != language name. " + in getLanguageName() 638 public void write(OutputStream writer, String value){ in write() argument [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | LoadCodecs.cpp | 91 static bool ReadPathFromRegistry(HKEY baseKey, LPCWSTR value, FString &path)
in ReadPathFromRegistry() argument 97 if (key.QueryValue(value, pathU) == ERROR_SUCCESS)
in ReadPathFromRegistry() 954 STDAPI GetMethodProperty(UInt32 codecIndex, PROPID propID, PROPVARIANT *value);
959 STDAPI GetHasherProp(UInt32 codecIndex, PROPID propID, PROPVARIANT *value);
979 Z7_COM7F_IMF(CCodecs::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *value))
in GetProperty() argument 983 return GetMethodProperty(index, propID, value);
in GetProperty() 996 prop.Detach(value);
in GetProperty() 1004 prop.Detach(value);
in GetProperty() 1009 return lib.GetMethodProperty(ci.CodecIndex, propID, value);
in GetProperty() 1071 Z7_COM7F_IMF(CCodecs::GetHasherProp(UInt32 index, PROPID propID, PROPVARIANT *value))
in GetHasherProp() argument [all...] |
/third_party/lzma/CPP/7zip/UI/Console/ |
H A D | List.cpp | 523 static inline char GetHex(Byte value)
in GetHex() argument 525 return (char)((value < 10) ? ('0' + value) : ('a' + (value - 10)));
in GetHex() 728 static void PrintNumber(EAdjustment adj, unsigned width, const CListUInt64Def &value)
in PrintNumber() argument 732 if (value.Def)
in PrintNumber() 733 ConvertUInt64ToString(value.Val, s);
in PrintNumber() 786 static HRESULT GetUInt64Value(IInArchive *archive, UInt32 index, PROPID propID, CListUInt64Def &value)
in GetUInt64Value() argument 788 value.Val = 0;
in GetUInt64Value() 789 value in GetUInt64Value() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir.h | 50 * Each concrete class derived from \c ir_instruction has a value in this 51 * enumerant. The value for the type is stored in \c ir_instruction::ir_type 191 * return the same value as this one. 241 * Get the variable that is ultimately referenced by an r-value 250 * If an r-value is a reference to a whole variable, get that variable 253 * Pointer to a variable that is completely dereferenced by the r-value. If 254 * the r-value is not a dereference or the dereference does not access the 264 * Determine if an r-value has the value zero 268 * for vector and scalar types that have all elements set to the value 1725 ir_return(ir_rvalue *value) ir_return() argument 1744 ir_rvalue *value; global() member in ir_return 2361 union ir_constant_data value; global() member in ir_constant [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-module-builder.cc | 146 void WasmFunctionBuilder::EmitI32Const(int32_t value) { in EmitI32Const() argument 147 EmitWithI32V(kExprI32Const, value); in EmitI32Const() 150 void WasmFunctionBuilder::EmitI64Const(int64_t value) { in EmitI64Const() argument 152 body_.write_i64v(value); in EmitI64Const() 155 void WasmFunctionBuilder::EmitF32Const(float value) { in EmitF32Const() argument 157 body_.write_f32(value); in EmitF32Const() 160 void WasmFunctionBuilder::EmitF64Const(double value) { in EmitF64Const() argument 162 body_.write_f64(value); in EmitF64Const() 439 void WasmModuleBuilder::SetMinMemorySize(uint32_t value) { in SetMinMemorySize() argument 440 min_memory_size_ = value; in SetMinMemorySize() 443 SetMaxMemorySize(uint32_t value) SetMaxMemorySize() argument [all...] |
/third_party/node/deps/icu-small/source/tools/icuexportdata/ |
H A D | icuexportdata.cpp | 124 const char *getName(uint32_t value) override { 125 return u_getPropertyValueName(property, value, U_SHORT_PROPERTY_NAME); 172 // If the value exists, dump an indented entry of the format 260 * Note: the data will store 0 for code points without a value defined for 280 // Therefore, when the value is undefined for a code point, keep a 0 in the trie in dumpBidiMirroringGlyph() 281 // instead of the ICU API behavior of returning the code point value. Using 0 in dumpBidiMirroringGlyph() 313 // After printing property value `v`, print `mask` if and only if `mask` comes immediately 386 // Get the Script value in dumpScriptExtensions() 388 // Get the Script_Extensions value (array of Script codes) in dumpScriptExtensions() 401 // Copy the Script value int in dumpScriptExtensions() [all...] |
/third_party/icu/icu4c/source/tools/icuexportdata/ |
H A D | icuexportdata.cpp | 124 const char *getName(uint32_t value) override { 125 return u_getPropertyValueName(property, value, U_SHORT_PROPERTY_NAME); 209 // Get the Script value in dumpScriptExtensions() 211 // Get the Script_Extensions value (array of Script codes) in dumpScriptExtensions() 224 // Copy the Script value into the first position of the scx array only in dumpScriptExtensions() 225 // if we have the "other" case (Script value is not Common nor Inherited). in dumpScriptExtensions() 226 // This offers faster access when users want only the Script value. in dumpScriptExtensions() 231 // See if there is already an scx value array matching the newly built one. in dumpScriptExtensions() 233 // If not, then append the new value array. in dumpScriptExtensions() 248 // We must update the value i in dumpScriptExtensions() [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | instruction.cc | 26 #include "src/wasm/value-type.h" 316 // destination, implying its value is no longer live. 548 value_ = info.value(); 554 Handle<HeapObject> value( 556 return value; 561 Handle<CodeT> value( 563 DCHECK(value->IsCodeT(GetPtrComprCageBaseSlow(*value))); 564 return value; 569 const StringConstantBase* value [all...] |
/third_party/node/deps/v8/base/trace_event/common/ |
H A D | trace_event_common.h | 401 // all match. |id| must either be a pointer or an integer value up to 64 bits. 494 // all match. |id| must either be a pointer or an integer value up to 64 bits. 523 // Records the value of a counter called "name" immediately. Value 527 #define TRACE_COUNTER1(category_group, name, value) \ 529 TRACE_EVENT_FLAG_NONE, "value", \ 530 static_cast<int>(value)) 531 #define TRACE_COUNTER_WITH_FLAG1(category_group, name, flag, value) \ 533 flag, "value", static_cast<int>(value)) 534 #define TRACE_COPY_COUNTER1(category_group, name, value) \ [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | factory.h | 425 Handle<Cell> NewCell(Handle<Object> value); 428 Handle<Name> name, PropertyDetails details, Handle<Object> value, 432 Handle<FeedbackCell> NewNoClosuresCell(Handle<HeapObject> value); 433 Handle<FeedbackCell> NewOneClosureCell(Handle<HeapObject> value); 434 Handle<FeedbackCell> NewManyClosuresCell(Handle<HeapObject> value); 503 Handle<HeapNumber> NewHeapNumberForCodeAssembler(double value); 668 Handle<JSIteratorResult> NewJSIteratorResult(Handle<Object> value, bool done); 697 Handle<JSObject> NewExternal(void* value); 746 Handle<HeapNumber> number, double value, 749 Handle<String> SizeToString(size_t value, boo 750 Uint32ToString(uint32_t value, bool check_cache = true) Uint32ToString() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_format.c | 419 * Ordered by increasing SVGA3dSurfaceFormat value, but with gaps. 1485 * Return string name of an SVGA3dDevCapIndex value. 1693 caps->value = result.u; in svga_get_format_cap() 1696 caps->value = entry->defaultOperations; in svga_get_format_cap() 2275 (caps.value & SVGA3DFORMAT_OP_NOALPHABLEND)) { in svga_is_format_supported() 2280 mask.value = 0; in svga_is_format_supported() 2282 mask.value |= SVGA3DFORMAT_OP_OFFSCREEN_RENDERTARGET; in svga_is_format_supported() 2285 mask.value |= SVGA3DFORMAT_OP_ZSTENCIL; in svga_is_format_supported() 2288 mask.value |= SVGA3DFORMAT_OP_TEXTURE; in svga_is_format_supported() 2291 mask.value | in svga_is_format_supported() [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | pkcs12.c | 1130 /* Generalised x509 attribute value print */ 1134 char *value; in print_attribute() local 1138 value = OPENSSL_uni2asc(av->value.bmpstring->data, in print_attribute() 1139 av->value.bmpstring->length); in print_attribute() 1140 BIO_printf(out, "%s\n", value); in print_attribute() 1141 OPENSSL_free(value); in print_attribute() 1145 BIO_printf(out, "%.*s\n", av->value.utf8string->length, in print_attribute() 1146 av->value.utf8string->data); in print_attribute() 1150 hex_prin(out, av->value in print_attribute() [all...] |
/third_party/rust/crates/bitflags/src/ |
H A D | lib.rs | 146 //! implemented by displaying the bits value of the internal struct. 164 //! - `bits`: the raw value of the flags currently stored 181 //! - `set`: inserts or removes the specified flags depending on the passed value 199 //! If your default value is equal to `0` (which is the same value as calling `empty()` 206 //! // Results in default value with bits: 0 221 //! If your default value is not equal to `0` you need to implement `Default` yourself: 249 //! Flags with a value equal to zero will have some strange behavior that one should be aware of. 276 //! Users should generally avoid defining a flag with a value of zero. 356 const $Flag:ident = $value 1638 pub fn value() -> u8 { test_pub_in_module() functions [all...] |
/third_party/openssl/apps/ |
H A D | pkcs12.c | 1134 /* Generalised x509 attribute value print */ 1138 char *value; in print_attribute() local 1142 value = OPENSSL_uni2asc(av->value.bmpstring->data, in print_attribute() 1143 av->value.bmpstring->length); in print_attribute() 1144 BIO_printf(out, "%s\n", value); in print_attribute() 1145 OPENSSL_free(value); in print_attribute() 1149 BIO_printf(out, "%.*s\n", av->value.utf8string->length, in print_attribute() 1150 av->value.utf8string->data); in print_attribute() 1154 hex_prin(out, av->value in print_attribute() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 301 float value; in getNormalFPValue() local 303 value = rnd.getFloat(); in getNormalFPValue() 304 } while (tcu::Float32(value).isDenorm()); in getNormalFPValue() 305 return value; in getNormalFPValue() 311 double value; in getNormalFPValue() local 313 value = rnd.getDouble(); in getNormalFPValue() 314 } while (tcu::Float64(value).isDenorm()); in getNormalFPValue() 315 return value; in getNormalFPValue() 321 tcu::Float16 value; in getNormalFPValue() local 323 value in getNormalFPValue() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustnessVertexAccessTests.cpp | 143 bool isValueWithinVertexBufferOrZero (void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* value, deUint32 valueIndexa); 146 static bool isExpectedValueFromVertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* value); 828 return tcu::TestStatus::fail("Invalid value(s) found"); in iterate() 902 // Log value information in verifyResult() 910 // Result index and value in verifyResult() 937 // or the maximum representable positive integer value (if the format is integer-based). in verifyResult() 952 logMsg << ", Failed: expected a value within the buffer range or 0"; in verifyResult() 963 logMsg << ", Failed: unexpected value"; in verifyResult() 972 bool VertexAccessInstance::isValueWithinVertexBufferOrZero(void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* value, deUint32 valueIndex) in isValueWithinVertexBufferOrZero() argument 976 const float normValue = *reinterpret_cast<const float*>(value); in isValueWithinVertexBufferOrZero() 1011 isExpectedValueFromVertexBuffer(const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* value) isExpectedValueFromVertexBuffer() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | picture_csp_enc.c | 80 #define kGamma 0.80 // for now we use a different gamma value than kGammaF 123 // Convert a linear value 'v' to YUV_FIX+2 fixed-point precision 124 // U/V value, suitable for RGBToU/V calls. 126 const int y = Interpolate(base_value << shift); // final uplifted value in LinearToGamma() 196 double value; in WEBP_DSP_INIT_FUNC() local 198 value = g / 4.5; in WEBP_DSP_INIT_FUNC() 201 value = pow(a_rec * (g + a), kGammaF); in WEBP_DSP_INIT_FUNC() 203 kGammaToLinearTabS[v] = (uint32_t)(value * final_scale + .5); in WEBP_DSP_INIT_FUNC() 207 double value; in WEBP_DSP_INIT_FUNC() local 209 value in WEBP_DSP_INIT_FUNC() 228 LinearToGammaS(uint32_t value) LinearToGammaS() argument 249 LinearToGammaS(uint32_t value) LinearToGammaS() argument [all...] |
/third_party/skia/src/sksl/dsl/ |
H A D | DSLCore.cpp | 285 static DSLStatement Return(DSLExpression value, PositionInfo pos) { in Return() argument 288 // errors, or coerce the value to the correct type, until the return statement is actually in Return() 290 return SkSL::ReturnStatement::Make(pos.line(), value.releaseIfPossible()); in Return() 336 static DSLPossibleStatement Switch(DSLExpression value, SkTArray<DSLCase> cases, in Switch() argument 348 value.release(), std::move(values), std::move(caseBlocks), in Switch() 398 // Logically, we'd want the variable's initial value to appear on here in Declare, since that 403 // variable's initial value is unknown at the point of reference. There are probably some other 405 // expect its value to be known when it is referenced and will end up asserting, dereferencing a 408 // So, we put the initial value onto the Var itself instead of the Declare to guarantee that it is 478 DSLPossibleStatement PossibleStaticSwitch(DSLExpression value, SkTArra argument 482 StaticSwitch(DSLExpression value, SkTArray<DSLCase> cases, PositionInfo pos) StaticSwitch() argument 486 PossibleSwitch(DSLExpression value, SkTArray<DSLCase> cases) PossibleSwitch() argument 490 Switch(DSLExpression value, SkTArray<DSLCase> cases, PositionInfo pos) Switch() argument [all...] |
/third_party/python/Lib/xml/dom/ |
H A D | expatbuilder.py | 285 value = node.data + data 286 node.data = value 305 def entity_decl_handler(self, entityName, is_parameter_entity, value, 314 if value is not None: 317 child = self.document.createTextNode(value) 361 value = attributes[i+1] 362 a.value = value 473 "startContainer() returned illegal value: " + repr(val)) 493 "acceptNode() returned illegal value [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustnessVertexAccessTests.cpp | 146 bool isValueWithinVertexBufferOrZero (void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* value, deUint32 valueIndexa); 149 static bool isExpectedValueFromVertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* value); 835 return tcu::TestStatus::fail("Invalid value(s) found"); in iterate() 909 // Log value information in verifyResult() 917 // Result index and value in verifyResult() 944 // or the maximum representable positive integer value (if the format is integer-based). in verifyResult() 959 logMsg << ", Failed: expected a value within the buffer range or 0"; in verifyResult() 970 logMsg << ", Failed: unexpected value"; in verifyResult() 979 bool VertexAccessInstance::isValueWithinVertexBufferOrZero(void* vertexBuffer, VkDeviceSize vertexBufferSize, const void* value, deUint32 valueIndex) in isValueWithinVertexBufferOrZero() argument 983 const float normValue = *reinterpret_cast<const float*>(value); in isValueWithinVertexBufferOrZero() 1018 isExpectedValueFromVertexBuffer(const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, const void* value) isExpectedValueFromVertexBuffer() argument [all...] |
/third_party/vk-gl-cts/framework/qphelper/ |
H A D | qpTestLog.c | 204 /* Sample value tag to string mapping. */ 298 DE_INLINE void floatToString (float value, char* buf, size_t bufSize) in floatToString() argument 300 deSprintf(buf, bufSize, "%f", value); in floatToString() 303 DE_INLINE void doubleToString (double value, char* buf, size_t bufSize) in doubleToString() argument 305 deSprintf(buf, bufSize, "%f", value); in doubleToString() 650 * \brief Write key-value-pair into log 655 * \param value Value of the key-value-pair 665 * \brief Write key-value-pair into log 670 * \param value Valu 673 qpTestLog_writeInteger(qpTestLog* log, const char* name, const char* description, const char* unit, qpKeyValueTag tag, deInt64 value) qpTestLog_writeInteger() argument 691 qpTestLog_writeFloat(qpTestLog* log, const char* name, const char* description, const char* unit, qpKeyValueTag tag, float value) qpTestLog_writeFloat() argument 1488 qpTestLog_writeValueFloat(qpTestLog* log, double value) qpTestLog_writeValueFloat() argument 1508 qpTestLog_writeValueInteger(qpTestLog* log, deInt64 value) qpTestLog_writeValueInteger() argument [all...] |
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_adapter_interface/src/ |
H A D | audio_adapter_interface_impl_test.cpp | 323 std::string value = "world"; in HWTEST_F() local 324 EXPECT_EQ(HDF_ERR_INVALID_PARAM, AdapterTest_->SetExtraParams(key, condition, value)); in HWTEST_F() 326 EXPECT_EQ(HDF_SUCCESS, AdapterTest_->SetExtraParams(key, condition, value)); in HWTEST_F() 328 EXPECT_NE(HDF_SUCCESS, AdapterTest_->SetExtraParams(key, condition, value)); in HWTEST_F() 344 std::string value = "world"; in HWTEST_F() local 345 EXPECT_EQ(HDF_ERR_INVALID_PARAM, AdapterTest_->GetExtraParams(key, condition, value)); in HWTEST_F() 361 std::string value = "1"; in HWTEST_F() local 362 EXPECT_NE(HDF_SUCCESS, AdapterTest_->GetExtraParams(key, condition, value)); in HWTEST_F() 378 std::string value = "1"; in HWTEST_F() local 379 EXPECT_EQ(HDF_FAILURE, AdapterTest_->GetExtraParams(key, condition, value)); in HWTEST_F() 395 std::string value = "world"; HWTEST_F() local 1051 int value = 0; HWTEST_F() local [all...] |