/external/icu/icu4c/source/common/ |
H A D | ucnv_lmb.c | 683 UConverter cnv; member in struct:LMBCSClone 688 _LMBCSSafeClone(const UConverter *cnv, argument 701 extraInfo=(UConverterDataLMBCS *)cnv->extraInfo; 715 newLMBCS->cnv.extraInfo = &newLMBCS->lmbcs; 716 newLMBCS->cnv.isExtraLocal = TRUE; 717 return &newLMBCS->cnv; 1145 UConverterSharedData *cnv; local 1166 if (group > ULMBCS_GRP_LAST || (cnv = extraInfo->OptGrpConverter[group]) == NULL) 1180 uniChar = ucnv_MBCSSimpleGetNextUChar(cnv, args->source, 1, FALSE); 1184 uniChar = ucnv_MBCSSimpleGetNextUChar(cnv, arg [all...] |
H A D | ucnvscsu.c | 157 _SCSUReset(UConverter *cnv, UConverterResetChoice choice) { argument 158 SCSUData *scsu=(SCSUData *)cnv->extraInfo; 169 cnv->toULength=0; 188 cnv->fromUChar32=0; 193 _SCSUOpen(UConverter *cnv, argument 200 cnv->extraInfo=uprv_malloc(sizeof(SCSUData)); 201 if(cnv->extraInfo!=NULL) { 203 ((SCSUData *)cnv->extraInfo)->locale=l_ja; 205 ((SCSUData *)cnv->extraInfo)->locale=lGeneric; 207 _SCSUReset(cnv, UCNV_RESET_BOT 218 _SCSUClose(UConverter *cnv) argument 232 UConverter *cnv; local 586 UConverter *cnv; local 1011 UConverter *cnv; local 1504 UConverter *cnv; local 1925 _SCSUGetName(const UConverter *cnv) argument 1939 UConverter cnv; member in struct:cloneSCSUStruct 1944 _SCSUSafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument [all...] |
H A D | ucnv_bld.cpp | 195 static UMutex cnvCacheMutex = U_MUTEX_INITIALIZER; /* Mutex for synchronizing cnv cache access. */ 222 static const char DATA_TYPE[] = "cnv"; 880 UConverter *cnv; local 904 cnv = ucnv_createConverterFromSharedData( 908 UTRACE_EXIT_PTR_STATUS(cnv, *err); 909 return cnv; 1238 UConverter *cnv = NULL; 1244 cnv = ucnv_open(name, &errorCode); 1245 if(U_SUCCESS(errorCode) && cnv != NULL) { 1246 name = ucnv_getName(cnv, 1289 UConverter *cnv = NULL; local [all...] |
H A D | ucnvisci.c | 188 static void _ISCIIOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode) { argument 193 cnv->extraInfo = uprv_malloc(sizeof(UConverterDataISCII)); 195 if (cnv->extraInfo != NULL) { 198 (UConverterDataISCII *) cnv->extraInfo; 200 cnv->toUnicodeStatus = missingCharMarker; 222 uprv_free(cnv->extraInfo); 223 cnv->extraInfo = NULL; 232 static void _ISCIIClose(UConverter *cnv) { argument 233 if (cnv->extraInfo!=NULL) { 234 if (!cnv 241 _ISCIIgetName(const UConverter* cnv) argument 249 _ISCIIReset(UConverter *cnv, UConverterResetChoice choice) argument 1493 UConverter *cnv = args->converter; local 1519 UConverter cnv; member in struct:cloneISCIIStruct 1524 _ISCII_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument 1552 _ISCIIGetUnicodeSet(const UConverter *cnv, const USetAdder *sa, UConverterUnicodeSet which, UErrorCode *pErrorCode) argument [all...] |
H A D | ucnv.c | 154 ucnv_safeClone(const UConverter* cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status) argument 189 if (cnv == NULL) { 196 ucnv_getName(cnv, status), cnv, stackBuffer); 198 if (cnv->sharedData->impl->safeClone != NULL) { 201 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); 266 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); 270 if (cnv->subChars == (uint8_t *)cnv 472 ucnv_setSubstString(UConverter *cnv, const UChar *s, int32_t length, UErrorCode *err) argument 826 UConverter *cnv; local 1115 ucnv_outputOverflowFromUnicode(UConverter *cnv, char **target, const char *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1168 ucnv_fromUnicode(UConverter *cnv, char **target, const char *targetLimit, const UChar **source, const UChar *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1271 UConverter *cnv; local 1561 ucnv_outputOverflowToUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, int32_t **pOffsets, UErrorCode *err) argument 1614 ucnv_toUnicode(UConverter *cnv, UChar **target, const UChar *targetLimit, const char **source, const char *sourceLimit, int32_t *offsets, UBool flush, UErrorCode *err) argument 1715 ucnv_fromUChars(UConverter *cnv, char *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UErrorCode *pErrorCode) argument 1775 ucnv_toUChars(UConverter *cnv, UChar *dest, int32_t destCapacity, const char *src, int32_t srcLength, UErrorCode *pErrorCode) argument 1839 ucnv_getNextUChar(UConverter *cnv, const char **source, const char *sourceLimit, UErrorCode *err) argument 2525 ucnv_convertAlgorithmic(UBool convertToAlgorithmic, UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2582 ucnv_toAlgorithmic(UConverterType algorithmicType, UConverter *cnv, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2594 ucnv_fromAlgorithmic(UConverter *cnv, UConverterType algorithmicType, char *target, int32_t targetCapacity, const char *source, int32_t sourceLength, UErrorCode *pErrorCode) argument 2633 ucnv_getAmbiguous(const UConverter *cnv) argument 2661 ucnv_fixFileSeparator(const UConverter *cnv, UChar* source, int32_t sourceLength) argument 2682 ucnv_isAmbiguous(const UConverter *cnv) argument 2687 ucnv_setFallback(UConverter *cnv, UBool usesFallback) argument 2693 ucnv_usesFallback(const UConverter *cnv) argument 2842 ucnv_fromUCountPending(const UConverter* cnv, UErrorCode* status) argument 2864 ucnv_toUCountPending(const UConverter* cnv, UErrorCode* status) argument 2885 ucnv_isFixedWidth(UConverter *cnv, UErrorCode *status) argument [all...] |
H A D | ucnv2022.cpp | 387 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode); 396 _ISO2022getName(const UConverter* cnv); 402 _ISO_2022_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status); 425 fromUWriteUInt8(UConverter *cnv, argument 433 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, 442 UConverter *cnv = myConverterData->currentConverter; local 444 cnv->toUnicodeStatus=0; /* offset */ 445 cnv->mode=0; /* state */ 446 cnv->toULength=0; /* byteIndex */ 464 UConverter *cnv local 472 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode) argument 746 _ISO2022getName(const UConverter* cnv) argument 1384 toUnicodeCallback(UConverter *cnv, const uint32_t sourceChar, const uint32_t targetUniChar, UErrorCode* err) argument 1682 UConverter *cnv = args->converter; local 2935 UConverter *cnv = args->converter; local 3383 UConverterSharedData *cnv; local [all...] |
H A D | ucnvmbcs.cpp | 116 * - Added an optional extension table structure at the end of the .cnv file. 388 ucnv_MBCSOpen(UConverter *cnv, 397 ucnv_MBCSGetStarters(const UConverter* cnv, 402 ucnv_MBCSGetName(const UConverter *cnv); 419 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, 1068 ucnv_MBCSGetUnicodeSet(const UConverter *cnv, argument 1072 if(cnv->options&_MBCS_OPTION_GB18030) { 1076 ucnv_MBCSGetUnicodeSetForUnicode(cnv->sharedData, sa, which, pErrorCode); 1094 * @return if(U_FAILURE) return the code point for cnv->fromUChar32 1098 _extFromU(UConverter *cnv, cons argument 1165 _extToU(UConverter *cnv, const UConverterSharedData *sharedData, int8_t length, const uint8_t **source, const uint8_t *sourceLimit, UChar **target, const UChar *targetLimit, int32_t **offsets, int32_t sourceIndex, UBool flush, UErrorCode *pErrorCode) argument 1891 ucnv_MBCSOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode) argument 1982 ucnv_MBCSGetName(const UConverter *cnv) argument 2024 UConverter *cnv; local 2176 UConverter *cnv; local 2456 UConverter *cnv; local 2873 UConverter *cnv; local 2958 UConverter *cnv; local 3397 UConverter *cnv; local 3629 UConverter *cnv; local 3805 UConverter *cnv; local 4062 UConverter *cnv; local 5002 UConverter *utf8, *cnv; local 5308 UConverter *utf8, *cnv; local 5617 ucnv_MBCSGetStarters(const UConverter* cnv, UBool starters[256], UErrorCode *) argument 5643 UConverter *cnv=pArgs->converter; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | custrtst.c | 1442 UConverter *cnv; local 1486 cnv=ucnv_open("UTF-16BE", &errorCode); 1487 length=ucnv_fromUChars(cnv, bytes, sizeof(bytes), text, -1, &errorCode); 1488 ucnv_close(cnv);
|
H A D | ncnvfbts.c | 36 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err) argument 38 if(cnv && cnv[0] == '@') { 39 return ucnv_openPackage("testdata", cnv+1, err); 41 return ucnv_open(cnv, err);
|
H A D | cbiapts.c | 93 UConverter *cnv; local 100 cnv = ucnv_open(NULL, &status); 101 if(U_FAILURE(status) || cnv == NULL) { 104 ucnv_reset(cnv); 105 numUChars = ucnv_toUChars(cnv, 115 ucnv_toUChars(cnv, dest->str, numUChars+1, src, -1, &status); 124 ucnv_reset(cnv); /* be good citizens */ 125 ucnv_close(cnv);
|
H A D | ncnvtst.c | 688 UConverter *cnv=ucnv_open("ibm-424", &err); local 693 c=ucnv_getNextUChar(cnv, &source, source + INPUT_SIZE, &err); 697 ucnv_close(cnv); 1796 UConverter *cnv; local 1805 cnv=ucnv_open(cnvName, &errorCode); 1810 ucnv_setToUCallBack(cnv, UCNV_TO_U_CALLBACK_STOP, NULL, NULL, NULL, &errorCode); 1814 ucnv_close(cnv); 1824 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, FALSE, &errorCode); 1833 ucnv_toUnicode(cnv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &errorCode); 1840 ucnv_resetToUnicode(cnv); 1908 UConverter *cnv; local [all...] |
H A D | ccapitst.c | 400 UConverter *cnv=NULL; local 402 cnv=ucnv_open("ibm-949,Madhu", &err); 406 ucnv_close(cnv); 671 UConverter *cnv=ucnv_open("ISO_2022", &err); local 675 c=ucnv_getNextUChar(cnv, &source, limit, &err); 679 ucnv_reset(cnv); 680 ucnv_close(cnv); 717 log_err("ucnv_getDisplayName(NULL) with cnv == NULL is supposed to return 0\n"); 1179 UConverter *cnv; local 1187 cnv 1691 UConverter * cnv, *cnv2; local 1891 UConverter *cnv; local 2447 getTestChar(UConverter *cnv, const char *converterName, char charUTF8[4], int32_t *pCharUTF8Length, char char0[ARG_CHAR_ARR_SIZE], int32_t *pChar0Length, char char1[ARG_CHAR_ARR_SIZE], int32_t *pChar1Length) argument 2495 testFromTruncatedUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, char charUTF8[4], int32_t charUTF8Length, char char0[8], int32_t char0Length, char char1[8], int32_t char1Length) argument 2561 testFromBadUTF8(UConverter *utf8Cnv, UConverter *cnv, const char *converterName, char charUTF8[4], int32_t charUTF8Length, char char0[8], int32_t char0Length, char char1[8], int32_t char1Length) argument 2622 UConverter *utf8Cnv, *cnv; local 2665 UConverter *utf8Cnv, *cnv; local 2768 UConverter *cnv; local 2923 UConverter *cnv = cnv_open(converter[idx].name, &status); local 2943 UConverter *cnv; local 3050 UConverter *cnv, *swapCnv; local 3203 UConverter* cnv = ucnv_openPackage(loadTestData(&status), "test3", &status); local 3308 UConverter* cnv = ucnv_openPackage(loadTestData(&status), "test3", &status); local 3406 UConverter *cnv; local 3509 UConverter *cnv; local 3595 UConverter *cnv; local 3659 UConverter *cnv = ucnv_open(names[i], &errorCode); local 3702 UConverter *cnv = ucnv_open(names[i], &errorCode); local [all...] |
H A D | nucnvtst.c | 29 static void TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message); 30 static void TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message); 118 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err); 129 static UConverter *my_ucnv_open(const char *cnv, UErrorCode *err) argument 131 if(cnv && cnv[0] == '@') { 132 return ucnv_openPackage(loadTestData(err), cnv+1, err); 134 return ucnv_open(cnv, err); 174 TestNextUChar(UConverter* cnv, const char* source, const char* limit, const int32_t results[], const char* message) argument 184 c=ucnv_getNextUChar(cnv, 204 TestNextUCharError(UConverter* cnv, const char* source, const char* limit, UErrorCode expected, const char* message) argument 1457 TestAmbiguousConverter(UConverter *cnv) argument 1506 UConverter *ascii_cnv = 0, *sjis_cnv = 0, *cnv; local 1834 UConverter *cnv=ucnv_open("UTF-7", &errorCode); local 1877 UConverter *cnv=ucnv_open("IMAP-mailbox-name", &errorCode); local 1939 UConverter *cnv=ucnv_open("UTF-8", &errorCode); local 2010 UConverter *cnv=ucnv_open("CESU-8", &errorCode); local 2062 UConverter *cnv=ucnv_open("UTF-16", &errorCode); local 2110 UConverter *cnv=ucnv_open("utf-16be", &errorCode); local 2164 UConverter *cnv=ucnv_open("utf-16le", &errorCode); local 2230 UConverter *cnv=ucnv_open("UTF-32", &errorCode); local 2306 UConverter *cnv=ucnv_open("UTF-32BE", &errorCode); local 2377 UConverter *cnv=ucnv_open("UTF-32LE", &errorCode); local 2510 UConverter *cnv=ucnv_open("LATIN_1", &errorCode); local 2541 UConverter *cnv=ucnv_open("x-mac-turkish", &errorCode); local 2584 UConverter *cnv=my_ucnv_open("@ibm9027", &errorCode); local 2635 UConverter *cnv=ucnv_open("ibm-1363", &errorCode); local 2670 UConverter *cnv=ucnv_open(cnvName, &status); local 2744 UConverter *cnv; local 2773 TestSmallTargetBuffer(const uint16_t* source, const UChar* sourceLimit,UConverter* cnv) argument 2842 TestToAndFromUChars(const uint16_t* source, const UChar* sourceLimit,UConverter* cnv) argument 2889 TestSmallSourceBuffer(const uint16_t* source, const UChar* sourceLimit,UConverter* cnv) argument 2964 TestGetNextUChar2022(UConverter* cnv, const char* source, const char* limit, const uint16_t results[], const char* message) argument 3095 UConverter *cnv; local 3137 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)/sizeof(in[0])),cnv); local 3314 UConverter *cnv; local 3357 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)/sizeof(in[0])),cnv); local 3380 UConverter *cnv; local 3857 UConverter *cnv; local 3904 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)/sizeof(in[0])),cnv); local 3946 UConverter *cnv; local 3987 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)/sizeof(in[0])),cnv); local 4023 UConverter *cnv; local 4064 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)/sizeof(in[0])),cnv); local 4102 UConverter *cnv; local 4144 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)/sizeof(in[0])),cnv); local 4507 UConverter *cnv; local 4551 TestSmallSourceBuffer(in,(const UChar*)in + (sizeof(in)/sizeof(in[0])),cnv); local 4608 UConverter * cnv = ucnv_open(testPtr->converterName, &err); local 4669 UConverter *cnv=ucnv_open("ibm-930", &errorCode); local 4745 UConverter *cnv=ucnv_open("gb18030", &errorCode); local 4835 UConverter *cnv; local 5323 UConverter *cnv = 0; local 5354 UConverter *cnv = 0; local 5565 UConverter *cnv = NULL; local [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetLMBCS.java | 587 private int LMBCS_SimpleGetNextUChar(UConverterSharedData cnv, ByteBuffer source, int positionOffset, int length) { argument 592 extraInfo.charset.sharedData = cnv; 642 UConverterSharedData cnv; 666 if (group > ULMBCS_GRP_LAST || (cnv = extraInfo.OptGrpConverter[group]) == null) { 681 uniChar = LMBCS_SimpleGetNextUChar(cnv, source, 0, 1); 685 uniChar = LMBCS_SimpleGetNextUChar(cnv, source, 0, 2); 699 uniChar = CharsetMBCS.MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(cnv.mbcs, CurByte); 707 cnv = extraInfo.OptGrpConverter[ULMBCS_GRP_EXCEPT]; 712 uniChar = LMBCS_SimpleGetNextUChar(cnv, ByteBuffer.wrap(bytes), 0, 2); 718 cnv [all...] |
H A D | CharsetISO2022.java | 763 private static CoderResult toUnicodeCallback(CharsetDecoderICU cnv, int sourceChar, int targetUniChar) { argument 766 cnv.toUBytesArray[0] = (byte)(sourceChar>>8); 767 cnv.toUBytesArray[1] = (byte)sourceChar; 768 cnv.toULength = 2; 770 cnv.toUBytesArray[0] = (byte)sourceChar; 771 cnv.toULength = 1; 1202 UConverterSharedData cnv; 1227 cnv = myConverterData.myConverterArray[CNS_11643]; 1233 cnv = myConverterData.myConverterArray[tempState]; 1240 targetUniChar = MBCSSimpleGetNextUChar(cnv, tempBuffe 1444 decodeLoopIBM(CharsetDecoderMBCS cnv, ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) argument 2880 setInitialStateFromUnicodeKR(CharsetEncoderICU cnv) argument [all...] |
/external/icu/icu4c/source/extra/uconv/ |
H A D | uconv.cpp | 490 cnvSigType(UConverter *cnv) { argument 497 ucnv_getUnicodeSet(cnv, set, UCNV_ROUNDTRIP_SET, &err); 516 ucnv_fromUnicode(cnv, 520 ucnv_resetFromUnicode(cnv);
|
/external/icu/icu4c/source/test/intltest/ |
H A D | convtest.cpp | 381 LocalUConverterPointer cnv; local 452 cnv.adoptInstead(cnv_open(charset, errorCode)); 460 ucnv_getUnicodeSet(cnv.getAlias(), cnvSetPtr->toUSet(), (UConverterUnicodeSet)which, &errorCode); 581 LocalUConverterPointer cnv; local 586 cnv.adoptInstead(cnv_open(cnvNames[i], errorCode)); 592 ucnv_setFromUCallBack(cnv.getAlias(), getUnicodeSetCallback, &expected, NULL, NULL, &errorCode); 600 ucnv_setFallback(cnv.getAlias(), TRUE); 608 ucnv_fromUnicode(cnv.getAlias(), &t, buffer+sizeof(buffer), (const UChar **)&s, s0+s0Length, NULL, flush, &errorCode); 619 ucnv_getUnicodeSet(cnv.getAlias(), set.toUSet(), which, &errorCode); 700 UConverter *cnv local 857 stepToUnicode(ConversionCase &cc, UConverter *cnv, UChar *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument 1174 checkToUnicode(ConversionCase &cc, UConverter *cnv, const char *name, const UChar *result, int32_t resultLength, const int32_t *resultOffsets, UErrorCode resultErrorCode) argument 1258 stepFromUTF8(ConversionCase &cc, UConverter *utf8Cnv, UConverter *cnv, char *result, int32_t resultCapacity, int32_t step, UErrorCode *pErrorCode) argument 1364 stepFromUnicode(ConversionCase &cc, UConverter *cnv, char *result, int32_t resultCapacity, int32_t *resultOffsets, int32_t step, UErrorCode *pErrorCode) argument 1452 UConverter *cnv; local 1625 checkFromUnicode(ConversionCase &cc, UConverter *cnv, const char *name, const uint8_t *result, int32_t resultLength, const int32_t *resultOffsets, UErrorCode resultErrorCode) argument [all...] |
H A D | ustrtest.cpp | 218 UConverter *cnv; local 221 cnv=ucnv_open("ISO-8859-1", &errorCode); 222 UnicodeString v(cs, -1, cnv, errorCode); 223 ucnv_close(cnv); 225 errln("UnicodeString(const char *, length, cnv, errorCode) does not work with length==-1"); 580 UConverter *cnv=ucnv_open("UTF-8", &errorCode); local 585 if( (length=s.extract(NULL, 0, cnv, errorCode))!=13 || 592 if( (length=s.extract(buffer, 2, cnv, errorCode))!=13 || 601 if( s.extract(NULL, 2, cnv, errorCode)==13 || U_SUCCESS(errorCode)) { 605 if( s.extract(NULL, 0, cnv, errorCod [all...] |
H A D | intltest.cpp | 1191 UConverter *cnv = NULL; local 1390 cnv = ucnv_open(0, &errorCode); 1391 if(cnv != 0) { 1393 ucnv_close(cnv); 1407 cnv = ucnv_open(TRY_CNV_2, &errorCode); 1408 if(cnv != 0) { 1410 ucnv_close(cnv);
|
/external/icu/icu4c/source/tools/gencnval/ |
H A D | gencnval.c | 421 uint16_t pos=0, start, limit, length, cnv; local 448 cnv=addConverter(converter); 478 addAlias(alias, ALL_TAG_NUM, cnv, TRUE); 482 addAlias(alias, ALL_TAG_NUM, cnv, FALSE); 487 /* addAlias(alias, 0, cnv, FALSE);*/ 507 addAlias(alias, tag, cnv, (UBool)(line[limit-1] == '*')); 522 addAlias(alias, EMPTY_TAG_NUM, cnv, (UBool)(tags[0].aliasList[cnv].aliasCount == 0));
|
/external/v8/test/cctest/compiler/ |
H A D | test-simplified-lowering.cc | 879 Node* cnv = t.graph()->NewNode(t.simplified()->BooleanToNumber(), b); local 880 Node* use = t.Use(cnv, MachineType::Int32()); 891 Node* cnv = t.graph()->NewNode(t.simplified()->BooleanToNumber(), b); local 892 Node* use = t.Use(cnv, MachineType::Int32()); 895 CHECK_EQ(t.machine()->WordEqual()->opcode(), cnv->opcode()); 896 CHECK(b == cnv->InputAt(0) || b == cnv->InputAt(1)); 898 CHECK(c == cnv->InputAt(0) || c == cnv->InputAt(1)); 906 Node* cnv local 919 Node* cnv = t.graph()->NewNode(t.simplified()->BooleanToNumber(), b); local [all...] |