Home
last modified time | relevance | path

Searched refs:caseFlags (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4c/source/common/
Dpunycode.cpp186 const UBool *caseFlags, in u_strToPunycode() argument
223 caseFlags!=NULL ? in u_strToPunycode()
224 asciiCaseMap((char)c, caseFlags[j]) : in u_strToPunycode()
229 n=(caseFlags!=NULL && caseFlags[j])<<31L; in u_strToPunycode()
256 caseFlags!=NULL ? in u_strToPunycode()
257 asciiCaseMap((char)c, caseFlags[j]) : in u_strToPunycode()
262 n=(caseFlags!=NULL && caseFlags[j])<<31L; in u_strToPunycode()
379 UBool *caseFlags, in u_strFromPunycode() argument
425 if(caseFlags!=NULL) { in u_strFromPunycode()
426 caseFlags[j]=IS_BASIC_UPPERCASE(b); in u_strFromPunycode()
[all …]
Dpunycode.h71 const UBool *caseFlags,
106 UBool *caseFlags,
Duidna.cpp214 UBool* caseFlags = NULL; in _internal_toASCII() local
338 b2Len = u_strToPunycode(b1,b1Len,b2,b2Capacity,caseFlags, status); in _internal_toASCII()
351 b2Len = u_strToPunycode(b1,b1Len,b2,b2Len,caseFlags, status); in _internal_toASCII()
390 uprv_free(caseFlags); in _internal_toASCII()
419 UBool* caseFlags = NULL; in _internal_toUnicode() local
497 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Capacity, caseFlags,status); in _internal_toUnicode()
510 b2Len = u_strFromPunycode(b1Prime, b1PrimeLen, b2, b2Len, caseFlags, status); in _internal_toUnicode()
589 uprv_free(caseFlags); in _internal_toUnicode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPunycode.java132 …public static StringBuilder encode(CharSequence src, boolean[] caseFlags) throws StringPrepParseEx… in encode() argument
148 dest.append(caseFlags!=null ? asciiCaseMap(c, caseFlags[j]) : c); in encode()
150 n=((caseFlags!=null && caseFlags[j])? 1 : 0)<<31L; in encode()
272 public static StringBuilder decode(CharSequence src, boolean[] caseFlags) in decode() argument
302 if(caseFlags!=null && j<caseFlags.length) { in decode()
303 caseFlags[j]=isBasicUpperCase(b); in decode()
413 if(caseFlags!=null && (dest.length()+cpLength)<=caseFlags.length) { in decode()
415 System.arraycopy(caseFlags, codeUnitIndex, in decode()
416 caseFlags, codeUnitIndex+cpLength, in decode()
420 caseFlags[codeUnitIndex]=isBasicUpperCase(src.charAt(in-1)); in decode()
[all …]
DIDNA2003.java157 boolean[] caseFlags = null; in convertToASCII()
239 caseFlags = new boolean[poLen]; in convertToASCII()
241 StringBuilder punyout = Punycode.encode(processOut,caseFlags); in convertToASCII()
296 boolean[] caseFlags = null; in convertToUnicode()
348 decodeOut = new StringBuffer(Punycode.decode(temp,caseFlags)); in convertToUnicode()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPunycode.java134 …public static StringBuilder encode(CharSequence src, boolean[] caseFlags) throws StringPrepParseEx… in encode() argument
150 dest.append(caseFlags!=null ? asciiCaseMap(c, caseFlags[j]) : c); in encode()
152 n=((caseFlags!=null && caseFlags[j])? 1 : 0)<<31L; in encode()
274 public static StringBuilder decode(CharSequence src, boolean[] caseFlags) in decode() argument
304 if(caseFlags!=null && j<caseFlags.length) { in decode()
305 caseFlags[j]=isBasicUpperCase(b); in decode()
415 if(caseFlags!=null && (dest.length()+cpLength)<=caseFlags.length) { in decode()
417 System.arraycopy(caseFlags, codeUnitIndex, in decode()
418 caseFlags, codeUnitIndex+cpLength, in decode()
422 caseFlags[codeUnitIndex]=isBasicUpperCase(src.charAt(in-1)); in decode()
[all …]
DIDNA2003.java158 boolean[] caseFlags = null; in convertToASCII()
240 caseFlags = new boolean[poLen]; in convertToASCII()
242 StringBuilder punyout = Punycode.encode(processOut,caseFlags); in convertToASCII()
297 boolean[] caseFlags = null; in convertToUnicode()
349 decodeOut = new StringBuffer(Punycode.decode(temp,caseFlags)); in convertToUnicode()
/external/icu/icu4c/source/test/intltest/
Didnaref.cpp141 unsigned char* caseFlags = NULL; in convertToPuny() local
163 error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
176 punycode_status error = punycode_encode(b1Len,b1,caseFlags, (uint32_t*)&b2Len, b2); in convertToPuny()
196 uprv_free(caseFlags); in convertToPuny()
213 …unsigned char* caseFlags = NULL; //(unsigned char*) uprv_malloc(srcLength * sizeof(unsigned char*)… in convertFromPuny() local
214 punycode_status error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny()
222 error = punycode_decode(srcLength,b1,(uint32_t*)&b2Len,b2,caseFlags); in convertFromPuny()
239 uprv_free(caseFlags); in convertFromPuny()
271 UBool* caseFlags = NULL; in idnaref_toASCII() local
406 uprv_free(caseFlags); in idnaref_toASCII()
[all …]
Dtestidna.cpp883 UBool caseFlags[MAX_DEST_SIZE];
893 int32_t destLen = u_strToPunycode(dest,destCapacity,start,labelLen,caseFlags, &status);
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPointSizeTests.cpp444 static const Flags caseFlags[] = in createGeometryPointSizeTests() local
455 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(caseFlags); ++ndx) in createGeometryPointSizeTests()
457 const std::string name = getTestCaseName (caseFlags[ndx]); in createGeometryPointSizeTests()
458 const std::string desc = getTestCaseDescription(caseFlags[ndx]); in createGeometryPointSizeTests()
460 addFunctionCaseWithPrograms(group.get(), name, desc, initPrograms, test, caseFlags[ndx]); in createGeometryPointSizeTests()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp2694 …erSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, deUint32 mapFlags, int caseFlags);
2699 static CaseType getBaseCaseType (int caseFlags);
2700 static int getBaseFlags (deUint32 mapFlags, int caseFlags);
2713 …ferSize, int maxBufferSize, int numSamples, deUint32 bufferUsage, deUint32 mapFlags, int caseFlags) in MapBufferRangeCase() argument
2714 …umSamples, bufferUsage, getBaseCaseType(caseFlags), RESULT_MEDIAN_TRANSFER_RATE, getBaseFlags(mapF… in MapBufferRangeCase()
2715 , m_manualInvalidation ((caseFlags&FLAG_MANUAL_INVALIDATION) != 0) in MapBufferRangeCase()
2716 , m_fullUpload ((caseFlags&FLAG_PARTIAL) == 0) in MapBufferRangeCase()
2717 , m_useUnusedUnspecifiedBuffer ((caseFlags&FLAG_USE_UNUSED_UNSPECIFIED_BUFFER) != 0) in MapBufferRangeCase()
2718 , m_useUnusedSpecifiedBuffer ((caseFlags&FLAG_USE_UNUSED_SPECIFIED_BUFFER) != 0) in MapBufferRangeCase()
2752 MapBufferRangeCase::CaseType MapBufferRangeCase::getBaseCaseType (int caseFlags) in getBaseCaseType() argument
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DIDNAReference.java135 char[] caseFlags = null; in convertToASCII() local
217 StringBuffer punyout = PunycodeReference.encode(processOut,caseFlags); in convertToASCII()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DIDNAReference.java132 char[] caseFlags = null; in convertToASCII() local
214 StringBuffer punyout = PunycodeReference.encode(processOut,caseFlags); in convertToASCII()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp1114 …st char* description, const TextureFormat& format, TextureType textureType, deUint32 caseFlags = 0) in ImageStoreCase() argument
1118 , m_singleLayerBind ((caseFlags & CASEFLAG_SINGLE_LAYER_BIND) != 0) in ImageStoreCase()
1279 …st char* description, const TextureFormat& format, TextureType textureType, deUint32 caseFlags = 0) in ImageLoadAndStoreCase() argument
1284 , m_restrictImages ((caseFlags & CASEFLAG_RESTRICT_IMAGES) != 0) in ImageLoadAndStoreCase()
1285 , m_singleLayerBind ((caseFlags & CASEFLAG_SINGLE_LAYER_BIND) != 0) in ImageLoadAndStoreCase()
1289 …& textureFormat, const TextureFormat& imageFormat, TextureType textureType, deUint32 caseFlags = 0) in ImageLoadAndStoreCase() argument
1294 , m_restrictImages ((caseFlags & CASEFLAG_RESTRICT_IMAGES) != 0) in ImageLoadAndStoreCase()
1295 , m_singleLayerBind ((caseFlags & CASEFLAG_SINGLE_LAYER_BIND) != 0) in ImageLoadAndStoreCase()
Des31fTessellationGeometryInteractionTests.cpp3228 static const int caseFlags[] = in init() local
3242 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(caseFlags); ++ndx) in init()
3244 const std::string name = PointSizeCase::genTestCaseName(caseFlags[ndx]); in init()
3245 const std::string desc = PointSizeCase::genTestCaseDescription(caseFlags[ndx]); in init()
3247 …pointSizeGroup->addChild(new PointSizeCase(m_context, name.c_str(), desc.c_str(), caseFlags[ndx])); in init()
Des31fSSBOLayoutTests.cpp1022 const deUint32 caseFlags = layoutFlags[layoutFlagNdx].flags; in init() local
1031 …modeGroup->addChild(new BlockSingleStructCase(m_context, caseName.c_str(), "", caseFlags, bufferMo… in init()
Des31fProgramInterfaceQueryTestCase.cpp176 bool isSelected (deUint32 caseFlags) const;
211 bool PropValidator::isSelected (deUint32 caseFlags) const in isSelected()
213 return (caseFlags & (deUint32)m_validationProp) != 0; in isSelected()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp1383 const deUint32 caseFlags = layoutFlags[layoutFlagNdx].flags; in init() local
1392 …modeGroup->addChild(new BlockSingleStructCase(m_testCtx, caseName.c_str(), "", caseFlags, bu… in init()
1393 …ockSingleStructCase(m_testCtx, (caseName + "_comp_access").c_str(), "", caseFlags, bufferModes[mod… in init()