Home
last modified time | relevance | path

Searched refs:wordCount (Results 1 – 25 of 70) sorted by relevance

123

/external/icu/icu4c/source/common/
Ddictionarydata.cpp51 int32_t wordCount = 0; in matches() local
59 if (wordCount < limit) { in matches()
61 values[wordCount] = uct.getValue(); in matches()
64 lengths[wordCount] = lengthMatched; in matches()
67 cpLengths[wordCount] = codePointsMatched; in matches()
69 ++wordCount; in matches()
86 return wordCount; in matches()
118 int32_t wordCount = 0; in matches() local
126 if (wordCount < limit) { in matches()
128 values[wordCount] = bt.getValue(); in matches()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dc_interface_test.cpp46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
81 binary->code[binary->wordCount - 1] = 0xffffffff; in TEST()
85 spvBinaryToText(context, binary->code, binary->wordCount, 0, &text, in TEST()
102 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
161 binary->code[binary->wordCount - 1] = 0xffffffff; in TEST()
165 spvBinaryToText(context, binary->code, binary->wordCount, 0, &text, in TEST()
203 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
252 binary->code[binary->wordCount - 1] = 0xffffffff; in TEST()
257 spvBinaryToText(context, binary->code, binary->wordCount, 0, &text, in TEST()
[all …]
Dopcode_split_test.cpp22 uint16_t wordCount = 0; in TEST() local
24 spvOpcodeSplit(word, &wordCount, &opcode); in TEST()
25 ASSERT_EQ(42, wordCount); in TEST()
Dopcode_make_test.cpp33 for (auto wordCount : kSampleWordCounts) { in TEST() local
37 word |= uint32_t(wordCount) << 16; in TEST()
38 EXPECT_EQ(word, spvOpcodeMake(wordCount, SpvOp(opcode))); in TEST()
Dbinary_header_get_test.cpp34 binary.wordCount = 6; in SetUp()
37 return spv_const_binary_t{binary.code, binary.wordCount}; in get_const_binary()
76 binary.wordCount = i; in TEST_F()
Dext_inst.glsl_test.cpp85 EXPECT_NE(binary->code + binary->wordCount, in TEST_P()
86 std::search(binary->code, binary->code + binary->wordCount, in TEST_P()
94 error = spvBinaryToText(context, binary->code, binary->wordCount, in TEST_P()
Dtext_destroy_test.cpp52 EXPECT_NE(0u, binary->wordCount); in TEST()
60 spvBinaryToText(context, binary->code, binary->wordCount, 0, in TEST()
/external/deqp-deps/SPIRV-Tools/test/
Dc_interface_test.cpp46 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
52 binary->wordCount, 0, &text, nullptr)); in TEST()
81 binary->code[binary->wordCount - 1] = 0xffffffff; in TEST()
85 spvBinaryToText(context, binary->code, binary->wordCount, 0, &text, in TEST()
102 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
161 binary->code[binary->wordCount - 1] = 0xffffffff; in TEST()
165 spvBinaryToText(context, binary->code, binary->wordCount, 0, &text, in TEST()
203 spv_const_binary_t b{binary->code, binary->wordCount}; in TEST()
252 binary->code[binary->wordCount - 1] = 0xffffffff; in TEST()
257 spvBinaryToText(context, binary->code, binary->wordCount, 0, &text, in TEST()
[all …]
Dopcode_split_test.cpp22 uint16_t wordCount = 0; in TEST() local
24 spvOpcodeSplit(word, &wordCount, &opcode); in TEST()
25 ASSERT_EQ(42, wordCount); in TEST()
Dopcode_make_test.cpp33 for (auto wordCount : kSampleWordCounts) { in TEST() local
37 word |= uint32_t(wordCount) << 16; in TEST()
38 EXPECT_EQ(word, spvOpcodeMake(wordCount, SpvOp(opcode))); in TEST()
Dbinary_header_get_test.cpp34 binary.wordCount = 6; in SetUp()
37 return spv_const_binary_t{binary.code, binary.wordCount}; in get_const_binary()
76 binary.wordCount = i; in TEST_F()
Dext_inst.glsl_test.cpp85 EXPECT_NE(binary->code + binary->wordCount, in TEST_P()
86 std::search(binary->code, binary->code + binary->wordCount, in TEST_P()
94 error = spvBinaryToText(context, binary->code, binary->wordCount, in TEST_P()
Dtext_destroy_test.cpp52 EXPECT_NE(0u, binary->wordCount); in TEST()
60 spvBinaryToText(context, binary->code, binary->wordCount, 0, in TEST()
/external/icu/icu4c/source/test/intltest/
Dthcoll.cpp100 int32_t wordCount = 0; in TestNamesList() local
104 ++wordCount; in TestNamesList()
105 if (wordCount <= 8) { in TestNamesList()
107 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestNamesList()
119 logln((UnicodeString)"Words checked: " + wordCount); in TestNamesList()
147 int32_t wordCount = 0; in TestDictionary() local
151 ++wordCount; in TestDictionary()
152 if (wordCount <= 8) { in TestDictionary()
154 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestDictionary()
199 logln((UnicodeString)"Words checked: " + wordCount); in TestDictionary()
/external/deqp-deps/glslang/SPIRV/
DSPVRemapper.cpp518 const unsigned wordCount = asWordCount(instructionStart); in processInstruction() local
519 const int nextInst = word++ + wordCount; in processInstruction()
528 unsigned numOperands = wordCount - 1; in processInstruction()
917 const int wordCount = asWordCount(start); in optLoadStore() local
946 if (wordCount > 4 && (spv[start+4] & spv::MemoryAccessVolatileMask)) { in optLoadStore()
974 if (wordCount > 3 && (spv[start+3] & spv::MemoryAccessVolatileMask)) { in optLoadStore()
1118 const int wordCount = asWordCount(start); in dceVars() local
1119 for (int i = 4; i < wordCount; i++) { in dceVars()
1210 const int wordCount = asWordCount(typeStart); in matchType() local
1214 if (opCode != opOpCode(gdata[0]) || wordCount != opWordCount(gdata[0])) in matchType()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationThaiTest.java140 int wordCount = 0; in TestDictionary() local
162 ++wordCount; in TestDictionary()
163 if (wordCount <= 8) { in TestDictionary()
164 logln("Word " + wordCount + ": " + word); in TestDictionary()
214 logln("Words checked: " + wordCount); in TestDictionary()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationThaiTest.java137 int wordCount = 0; in TestDictionary() local
159 ++wordCount; in TestDictionary()
160 if (wordCount <= 8) { in TestDictionary()
161 logln("Word " + wordCount + ": " + word); in TestDictionary()
211 logln("Words checked: " + wordCount); in TestDictionary()
/external/swiftshader/src/Pipeline/
DSpirvShader.hpp47 uint32_t wordCount() const in wordCount() function in sw::SpirvShader::InsnIterator
54 ASSERT(n < wordCount()); in word()
70 iter += wordCount(); in operator ++()
77 iter += wordCount(); in operator ++()
DSpirvShader.cpp47 insn.wordCount() > 3 ? insn.word(3) : 0);
60 insn.wordCount() > 4 ? insn.word(4) : 0);
73 for (auto i = 2u; i < insn.wordCount(); i++)
84 for (auto i = 2u; i < insn.wordCount(); i += 2)
147 if (insn.wordCount() > 4)
317 for (uint32_t i = 2u; i < insn.wordCount(); i++) in ComputeTypeSize()
397 for (auto i = 0u; i < obj.definition.wordCount() - 2; i++) in PopulateInterfaceInner()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dopcode.cpp65 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
66 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
166 const uint16_t wordCount, const spv_endianness_t endian, in spvInstructionCopy() argument
169 pInst->words.resize(wordCount); in spvInstructionCopy()
170 for (uint16_t wordIndex = 0; wordIndex < wordCount; ++wordIndex) { in spvInstructionCopy()
177 wordCount == thisWordCount && "Endianness failed!"); in spvInstructionCopy()
Ddisassemble.cpp407 const uint32_t* code, const size_t wordCount, in spvBinaryToText() argument
424 &hijack_context, code, wordCount); in spvBinaryToText()
431 wordCount, DisassembleHeader, in spvBinaryToText()
443 const size_t wordCount, in spvInstructionBinaryToText() argument
457 context, code, wordCount); in spvInstructionBinaryToText()
464 spvBinaryParse(context, &wrapped, code, wordCount, DisassembleTargetHeader, in spvInstructionBinaryToText()
/external/deqp-deps/SPIRV-Tools/source/
Dopcode.cpp65 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
66 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
166 const uint16_t wordCount, const spv_endianness_t endian, in spvInstructionCopy() argument
169 pInst->words.resize(wordCount); in spvInstructionCopy()
170 for (uint16_t wordIndex = 0; wordIndex < wordCount; ++wordIndex) { in spvInstructionCopy()
177 wordCount == thisWordCount && "Endianness failed!"); in spvInstructionCopy()
Ddisassemble.cpp407 const uint32_t* code, const size_t wordCount, in spvBinaryToText() argument
424 &hijack_context, code, wordCount); in spvBinaryToText()
431 wordCount, DisassembleHeader, in spvBinaryToText()
443 const size_t wordCount, in spvInstructionBinaryToText() argument
457 context, code, wordCount); in spvInstructionBinaryToText()
464 spvBinaryParse(context, &wrapped, code, wordCount, DisassembleTargetHeader, in spvInstructionBinaryToText()
/external/swiftshader/src/Vulkan/
DVkShaderModule.hpp39 std::vector<uint32_t> getCode() const { return std::vector<uint32_t>{ code, code + wordCount };} in getCode()
43 uint32_t wordCount = 0; member in vk::ShaderModule
/external/deqp/external/vulkancts/framework/vulkan/
DvkSpirVAsm.cpp94 DE_ASSERT(binary->wordCount > 0); in assembleSpirV()
95 dst->resize(binary->wordCount); in assembleSpirV()
96 std::copy(&binary->code[0], &binary->code[0] + binary->wordCount, dst->begin()); in assembleSpirV()

123