/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | ucnv_u32.cpp | 54 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE() 58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE() 59 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE() 60 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE() 62 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE() 63 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE() 79 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE() 80 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE() 101 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE() 102 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_BE() [all …]
|
D | ucnv_cb.cpp | 48 args->converter, in ucnv_cbFromUWriteBytes() 83 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 117 errBuffLen = args->converter->charErrorBufferLength; in ucnv_cbFromUWriteUChars() 120 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen); in ucnv_cbFromUWriteUChars() 122 newTargetLimit = (char *)(args->converter->charErrorBuffer + in ucnv_cbFromUWriteUChars() 123 sizeof(args->converter->charErrorBuffer)); in ucnv_cbFromUWriteUChars() 136 args->converter->charErrorBufferLength = 0; in ucnv_cbFromUWriteUChars() 138 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 150 args->converter->charErrorBufferLength = (int8_t)( in ucnv_cbFromUWriteUChars() 151 newTarget - (char*)args->converter->charErrorBuffer); in ucnv_cbFromUWriteUChars() [all …]
|
D | ucnvhz.cpp | 51 …args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) … 164 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 180 if(args->converter->mode == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 182 args->converter->mode=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 200 args->converter->toUCallbackReason = UCNV_IRREGULAR; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 201 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 203 args->converter->toULength = 2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 222 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 228 args->converter->toULength = 1; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() [all …]
|
D | ucnv.cpp | 310 toUArgs.converter = fromUArgs.converter = localConverter; in ucnv_safeClone() 326 ucnv_close (UConverter * converter) in ucnv_close() argument 332 if (converter == NULL) in ucnv_close() 339 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal); in ucnv_close() 345 if (converter->fromCharErrorBehaviour != UCNV_TO_U_DEFAULT_CALLBACK) { in ucnv_close() 357 toUArgs.converter = converter; in ucnv_close() 359 …converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_CLOSE, &errorCode… in ucnv_close() 361 if (converter->fromUCharErrorBehaviour != UCNV_FROM_U_DEFAULT_CALLBACK) { in ucnv_close() 372 fromUArgs.converter = converter; in ucnv_close() 374 …converter->fromUCharErrorBehaviour(converter->fromUContext, &fromUArgs, NULL, 0, 0, UCNV_CLOSE, &e… in ucnv_close() [all …]
|
D | ustr_cnv.cpp | 40 UConverter *converter = NULL; in u_getDefaultConverter() local 47 converter = gDefaultConverter; in u_getDefaultConverter() 54 if(converter == NULL) { in u_getDefaultConverter() 55 converter = ucnv_open(NULL, status); in u_getDefaultConverter() 57 ucnv_close(converter); in u_getDefaultConverter() 58 converter = NULL; in u_getDefaultConverter() 62 return converter; in u_getDefaultConverter() 66 u_releaseDefaultConverter(UConverter *converter) in u_releaseDefaultConverter() argument 69 if (converter != NULL) { in u_releaseDefaultConverter() 70 ucnv_reset(converter); in u_releaseDefaultConverter() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ucnv_u32.cpp | 54 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE() 58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE() 59 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE() 60 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE() 62 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE() 63 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE() 79 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE() 80 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE() 101 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE() 102 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_BE() [all …]
|
D | ucnv_cb.cpp | 48 args->converter, in ucnv_cbFromUWriteBytes() 83 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 117 errBuffLen = args->converter->charErrorBufferLength; in ucnv_cbFromUWriteUChars() 120 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen); in ucnv_cbFromUWriteUChars() 122 newTargetLimit = (char *)(args->converter->charErrorBuffer + in ucnv_cbFromUWriteUChars() 123 sizeof(args->converter->charErrorBuffer)); in ucnv_cbFromUWriteUChars() 136 args->converter->charErrorBufferLength = 0; in ucnv_cbFromUWriteUChars() 138 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 150 args->converter->charErrorBufferLength = (int8_t)( in ucnv_cbFromUWriteUChars() 151 newTarget - (char*)args->converter->charErrorBuffer); in ucnv_cbFromUWriteUChars() [all …]
|
D | ucnvhz.cpp | 51 …args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) … 164 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 180 if(args->converter->mode == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 182 args->converter->mode=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 200 args->converter->toUCallbackReason = UCNV_IRREGULAR; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 201 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 203 args->converter->toULength = 2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 222 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 228 args->converter->toULength = 1; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() [all …]
|
D | ucnv.cpp | 310 toUArgs.converter = fromUArgs.converter = localConverter; in ucnv_safeClone() 326 ucnv_close (UConverter * converter) in ucnv_close() argument 332 if (converter == NULL) in ucnv_close() 339 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal); in ucnv_close() 345 if (converter->fromCharErrorBehaviour != UCNV_TO_U_DEFAULT_CALLBACK) { in ucnv_close() 357 toUArgs.converter = converter; in ucnv_close() 359 …converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_CLOSE, &errorCode… in ucnv_close() 361 if (converter->fromUCharErrorBehaviour != UCNV_FROM_U_DEFAULT_CALLBACK) { in ucnv_close() 372 fromUArgs.converter = converter; in ucnv_close() 374 …converter->fromUCharErrorBehaviour(converter->fromUContext, &fromUArgs, NULL, 0, 0, UCNV_CLOSE, &e… in ucnv_close() [all …]
|
D | ustr_cnv.cpp | 40 UConverter *converter = NULL; in u_getDefaultConverter() local 47 converter = gDefaultConverter; in u_getDefaultConverter() 54 if(converter == NULL) { in u_getDefaultConverter() 55 converter = ucnv_open(NULL, status); in u_getDefaultConverter() 57 ucnv_close(converter); in u_getDefaultConverter() 58 converter = NULL; in u_getDefaultConverter() 62 return converter; in u_getDefaultConverter() 66 u_releaseDefaultConverter(UConverter *converter) in u_releaseDefaultConverter() argument 69 if (converter != NULL) { in u_releaseDefaultConverter() 70 ucnv_reset(converter); in u_releaseDefaultConverter() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | ucnv_u32.cpp | 54 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE() 58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE() 59 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE() 60 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE() 62 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE() 63 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE() 79 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE() 80 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE() 101 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE() 102 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_BE() [all …]
|
D | ucnv_cb.cpp | 48 args->converter, in ucnv_cbFromUWriteBytes() 83 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 117 errBuffLen = args->converter->charErrorBufferLength; in ucnv_cbFromUWriteUChars() 120 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen); in ucnv_cbFromUWriteUChars() 122 newTargetLimit = (char *)(args->converter->charErrorBuffer + in ucnv_cbFromUWriteUChars() 123 sizeof(args->converter->charErrorBuffer)); in ucnv_cbFromUWriteUChars() 136 args->converter->charErrorBufferLength = 0; in ucnv_cbFromUWriteUChars() 138 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 150 args->converter->charErrorBufferLength = (int8_t)( in ucnv_cbFromUWriteUChars() 151 newTarget - (char*)args->converter->charErrorBuffer); in ucnv_cbFromUWriteUChars() [all …]
|
D | ucnvhz.cpp | 51 …args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) … 164 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 180 if(args->converter->mode == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 182 args->converter->mode=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 200 args->converter->toUCallbackReason = UCNV_IRREGULAR; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 201 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 203 args->converter->toULength = 2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 222 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 228 args->converter->toULength = 1; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() [all …]
|
D | ucnv.cpp | 310 toUArgs.converter = fromUArgs.converter = localConverter; in ucnv_safeClone() 326 ucnv_close (UConverter * converter) in ucnv_close() argument 332 if (converter == NULL) in ucnv_close() 339 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal); in ucnv_close() 345 if (converter->fromCharErrorBehaviour != UCNV_TO_U_DEFAULT_CALLBACK) { in ucnv_close() 357 toUArgs.converter = converter; in ucnv_close() 359 …converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_CLOSE, &errorCode… in ucnv_close() 361 if (converter->fromUCharErrorBehaviour != UCNV_FROM_U_DEFAULT_CALLBACK) { in ucnv_close() 372 fromUArgs.converter = converter; in ucnv_close() 374 …converter->fromUCharErrorBehaviour(converter->fromUContext, &fromUArgs, NULL, 0, 0, UCNV_CLOSE, &e… in ucnv_close() [all …]
|
D | ustr_cnv.cpp | 40 UConverter *converter = NULL; in u_getDefaultConverter() local 47 converter = gDefaultConverter; in u_getDefaultConverter() 54 if(converter == NULL) { in u_getDefaultConverter() 55 converter = ucnv_open(NULL, status); in u_getDefaultConverter() 57 ucnv_close(converter); in u_getDefaultConverter() 58 converter = NULL; in u_getDefaultConverter() 62 return converter; in u_getDefaultConverter() 66 u_releaseDefaultConverter(UConverter *converter) in u_releaseDefaultConverter() argument 69 if (converter != NULL) { in u_releaseDefaultConverter() 70 ucnv_reset(converter); in u_releaseDefaultConverter() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | ucnv_u32.cpp | 54 unsigned char *toUBytes = args->converter->toUBytes; in T_UConverter_toUnicode_UTF32_BE() 58 if (args->converter->toULength > 0 && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE() 59 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE() 60 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE() 62 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE() 63 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE() 79 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE() 80 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE() 101 args->converter->UCharErrorBuffer[0] = (UChar) ch; in T_UConverter_toUnicode_UTF32_BE() 102 args->converter->UCharErrorBufferLength = 1; in T_UConverter_toUnicode_UTF32_BE() [all …]
|
D | ucnv_cb.cpp | 48 args->converter, in ucnv_cbFromUWriteBytes() 83 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 117 errBuffLen = args->converter->charErrorBufferLength; in ucnv_cbFromUWriteUChars() 120 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen); in ucnv_cbFromUWriteUChars() 122 newTargetLimit = (char *)(args->converter->charErrorBuffer + in ucnv_cbFromUWriteUChars() 123 sizeof(args->converter->charErrorBuffer)); in ucnv_cbFromUWriteUChars() 136 args->converter->charErrorBufferLength = 0; in ucnv_cbFromUWriteUChars() 138 ucnv_fromUnicode(args->converter, in ucnv_cbFromUWriteUChars() 150 args->converter->charErrorBufferLength = (int8_t)( in ucnv_cbFromUWriteUChars() 151 newTarget - (char*)args->converter->charErrorBuffer); in ucnv_cbFromUWriteUChars() [all …]
|
D | ucnvhz.cpp | 51 …args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) … 164 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 180 if(args->converter->mode == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 182 args->converter->mode=0; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 200 args->converter->toUCallbackReason = UCNV_IRREGULAR; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 201 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 203 args->converter->toULength = 2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 222 args->converter->toUBytes[0] = UCNV_TILDE; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() 228 args->converter->toULength = 1; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() [all …]
|
D | ucnv.cpp | 310 toUArgs.converter = fromUArgs.converter = localConverter; in ucnv_safeClone() 326 ucnv_close (UConverter * converter) in ucnv_close() argument 332 if (converter == NULL) in ucnv_close() 339 ucnv_getName(converter, &errorCode), converter, converter->isCopyLocal); in ucnv_close() 345 if (converter->fromCharErrorBehaviour != UCNV_TO_U_DEFAULT_CALLBACK) { in ucnv_close() 357 toUArgs.converter = converter; in ucnv_close() 359 …converter->fromCharErrorBehaviour(converter->toUContext, &toUArgs, NULL, 0, UCNV_CLOSE, &errorCode… in ucnv_close() 361 if (converter->fromUCharErrorBehaviour != UCNV_FROM_U_DEFAULT_CALLBACK) { in ucnv_close() 372 fromUArgs.converter = converter; in ucnv_close() 374 …converter->fromUCharErrorBehaviour(converter->fromUContext, &fromUArgs, NULL, 0, 0, UCNV_CLOSE, &e… in ucnv_close() [all …]
|
D | ustr_cnv.cpp | 40 UConverter *converter = NULL; in u_getDefaultConverter() local 47 converter = gDefaultConverter; in u_getDefaultConverter() 54 if(converter == NULL) { in u_getDefaultConverter() 55 converter = ucnv_open(NULL, status); in u_getDefaultConverter() 57 ucnv_close(converter); in u_getDefaultConverter() 58 converter = NULL; in u_getDefaultConverter() 62 return converter; in u_getDefaultConverter() 66 u_releaseDefaultConverter(UConverter *converter) in u_releaseDefaultConverter() argument 69 if (converter != NULL) { in u_releaseDefaultConverter() 70 ucnv_reset(converter); in u_releaseDefaultConverter() [all …]
|
/third_party/grpc/third_party/upb/cmake/ |
D | make_cmakelists.py | 23 def __init__(self, converter): argument 24 self.converter = converter 29 self.converter.toplevel += "target_link_libraries(%s%s\n %s)\n" % ( 57 self.converter.toplevel += "add_library(%s\n %s)\n" % ( 66 self.converter.toplevel += "add_library(%s INTERFACE)\n" % ( 167 def __init__(self, converter): argument 168 self.converter = converter 174 self.converter.prelude += "project(%s)\n" % (kwargs["name"]) 175 self.converter.prelude += "set(CMAKE_C_STANDARD 99)\n" 201 "prelude": converter.prelude, [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11converter.cpp | 1792 gst_d3d11_converter_set_config (GstD3D11Converter * converter, in gst_d3d11_converter_set_config() argument 1796 converter); in gst_d3d11_converter_set_config() 1811 GstD3D11Converter *converter = NULL; in gst_d3d11_converter_new() local 1839 converter = g_new0 (GstD3D11Converter, 1); in gst_d3d11_converter_new() 1840 converter->device = (GstD3D11Device *) gst_object_ref (device); in gst_d3d11_converter_new() 1841 converter->config = gst_structure_new_empty ("GstD3D11Converter-Config"); in gst_d3d11_converter_new() 1843 gst_d3d11_converter_set_config (converter, config); in gst_d3d11_converter_new() 1845 converter->alpha = GET_OPT_ALPHA_VALUE (converter); in gst_d3d11_converter_new() 1850 setup_convert_info_rgb_to_rgb (converter, in_info, out_info); in gst_d3d11_converter_new() 1853 setup_convert_info_rgb_to_yuv (converter, in_info, out_info); in gst_d3d11_converter_new() [all …]
|
/third_party/grpc/third_party/upb/tools/ |
D | make_cmakelists.py | 23 def __init__(self, converter): argument 24 self.converter = converter 29 self.converter.toplevel += "target_link_libraries(%s%s\n %s)\n" % ( 57 self.converter.toplevel += "add_library(%s\n %s)\n" % ( 66 self.converter.toplevel += "add_library(%s INTERFACE)\n" % ( 158 def __init__(self, converter): argument 159 self.converter = converter 165 self.converter.prelude += "project(%s)\n" % (kwargs["name"]) 188 "prelude": converter.prelude, 189 "toplevel": converter.toplevel, [all …]
|
/third_party/boost/boost/python/ |
D | override.hpp | 45 converter::return_from_python<T> converter; in operator T() local 46 return converter(m_obj.release()); in operator T() 53 converter::return_from_python<T*> converter; in operator T*() local 54 return converter(m_obj.release()); in operator T*() 65 converter::return_from_python<T&> converter; in operator T&() local 66 return converter(const_cast<handle<>&>(m_obj).release()); in operator T&() 73 converter::return_from_python<T> converter; in as() local 74 return converter(m_obj.release()); in as() 108 , converter::arg_to_python<A##n>(a##n).get()
|
/third_party/mindspore/tests/ut/cpp/transform/ |
D | convert_test.cc | 62 DfGraphConvertor converter(func_graph); in TEST_F() local 63 converter.ConvertAllNode().GetComputeGraph(); in TEST_F() 64 ASSERT_NE(converter.ErrCode(), SUCCESS); in TEST_F() 75 DfGraphConvertor converter(anf_graph); in MakeDfGraph() local 76 auto df_graph = converter.ConvertAllNode().BuildGraph().GetComputeGraph(); in MakeDfGraph() 77 if (converter.ErrCode() != 0) { in MakeDfGraph() 78 …<< "DfGraphConvertor convert " << prim->name() << " error, error code is: " << converter.ErrCode(); in MakeDfGraph() 98 DfGraphConvertor converter(anf_graph); in TEST_F() local 99 auto df_graph = converter.ConvertAllNode().BuildGraph().GetComputeGraph(); in TEST_F() 100 ASSERT_EQ(converter.ErrCode(), 0); in TEST_F() [all …]
|