Home
last modified time | relevance | path

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

1234

/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/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()
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()
Dbinary_header_get_test.cpp34 binary.wordCount = 6; in SetUp()
37 return spv_const_binary_t{binary.code, binary.wordCount}; in get_const_binary()
77 binary.wordCount = i; in TEST_F()
Dtext_destroy_test.cpp52 EXPECT_NE(0u, binary->wordCount); in TEST()
60 spvBinaryToText(context, binary->code, binary->wordCount, 0, in TEST()
/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()
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()
Dbinary_header_get_test.cpp34 binary.wordCount = 6; in SetUp()
37 return spv_const_binary_t{binary.code, binary.wordCount}; in get_const_binary()
77 binary.wordCount = i; in TEST_F()
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/llvm-project/mlir/unittests/Dialect/SPIRV/
DSerializationTest.cpp86 auto wordCount = binary[currOffset] >> 16; in findInstruction() local
87 if (!wordCount || (currOffset + wordCount > binarySize)) { in findInstruction()
95 begin + currOffset + wordCount))) { in findInstruction()
98 currOffset += wordCount; in findInstruction()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DBnConvert.c125 unsigned wordCount; in BnFromHex() local
131 wordCount = BYTES_TO_CRYPT_WORDS((i + 1) / 2); in BnFromHex()
132 if((i == 0) || (wordCount >= BnGetAllocated(bn))) in BnFromHex()
136 bn->d[wordCount - 1] = 0; in BnFromHex()
150 for(i = 0; i < wordCount; i++) in BnFromHex()
153 BnSetTop(bn, wordCount); in BnFromHex()
/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/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSPIRVBinaryUtils.cpp60 uint32_t spirv::getPrefixedOpcode(uint32_t wordCount, spirv::Opcode opcode) { in getPrefixedOpcode() argument
61 assert(((wordCount >> 16) == 0) && "word count out of range!"); in getPrefixedOpcode()
62 return (wordCount << 16) | static_cast<uint32_t>(opcode); in getPrefixedOpcode()
/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()
928 const int wordCount = asWordCount(start); in optLoadStore() local
957 if (wordCount > 4 && (spv[start+4] & spv::MemoryAccessVolatileMask)) { in optLoadStore()
985 if (wordCount > 3 && (spv[start+3] & spv::MemoryAccessVolatileMask)) { in optLoadStore()
1129 const int wordCount = asWordCount(start); in dceVars() local
1130 for (int i = 4; i < wordCount; i++) { in dceVars()
1221 const int wordCount = asWordCount(typeStart); in matchType() local
1225 if (opCode != opOpCode(gdata[0]) || wordCount != opWordCount(gdata[0])) in matchType()
[all …]
/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/Vulkan/
DVkShaderModule.hpp38 std::vector<uint32_t> getCode() const { return std::vector<uint32_t>{ code, code + wordCount }; } in getCode()
48 uint32_t wordCount = 0; member in vk::ShaderModule
DVkShaderModule.cpp30 wordCount = static_cast<uint32_t>(pCreateInfo->codeSize / sizeof(uint32_t)); in ShaderModule()
38 …ASSERT(spirvTools.Validate(code, wordCount, validatorOptions)); // The SPIR-V code passed to vkCr… in ShaderModule()
/external/deqp-deps/SPIRV-Tools/source/
Dopcode.cpp67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
170 const uint16_t wordCount, const spv_endianness_t endian, in spvInstructionCopy() argument
173 pInst->words.resize(wordCount); in spvInstructionCopy()
174 for (uint16_t wordIndex = 0; wordIndex < wordCount; ++wordIndex) { in spvInstructionCopy()
181 wordCount == thisWordCount && "Endianness failed!"); in spvInstructionCopy()
Ddisassemble.cpp464 const uint32_t* code, const size_t wordCount, in spvBinaryToText() argument
481 &hijack_context, code, wordCount); in spvBinaryToText()
488 wordCount, DisassembleHeader, in spvBinaryToText()
500 const size_t wordCount, in spvInstructionBinaryToText() argument
514 context, code, wordCount); in spvInstructionBinaryToText()
521 spvBinaryParse(context, &wrapped, code, wordCount, DisassembleTargetHeader, in spvInstructionBinaryToText()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dopcode.cpp67 uint32_t spvOpcodeMake(uint16_t wordCount, SpvOp opcode) { in spvOpcodeMake() argument
68 return ((uint32_t)opcode) | (((uint32_t)wordCount) << 16); in spvOpcodeMake()
170 const uint16_t wordCount, const spv_endianness_t endian, in spvInstructionCopy() argument
173 pInst->words.resize(wordCount); in spvInstructionCopy()
174 for (uint16_t wordIndex = 0; wordIndex < wordCount; ++wordIndex) { in spvInstructionCopy()
181 wordCount == thisWordCount && "Endianness failed!"); in spvInstructionCopy()

1234