Lines Matching refs:inputFileName

145  * Before: inputFileName: 1. /data/storage/el1/bundle/moduleName@namespace/ets/xxx/xxx.abc
153 void ModulePathHelper::ParseAbcPathAndOhmUrl(EcmaVM *vm, const CString &inputFileName,
157 if (inputFileName.length() > BUNDLE_INSTALL_PATH_LEN &&
158 inputFileName.compare(0, BUNDLE_INSTALL_PATH_LEN, BUNDLE_INSTALL_PATH) == 0) {
162 // inputFileName: /data/storage/el1/bundle/moduleName@namespace/ets/xxx/xxx.abc
163 pos = inputFileName.find(PathHelper::SLASH_TAG, BUNDLE_INSTALL_PATH_LEN);
167 CString moduleName = inputFileName.substr(BUNDLE_INSTALL_PATH_LEN, pos - BUNDLE_INSTALL_PATH_LEN);
170 outEntryPoint = vm->GetBundleName() + PathHelper::SLASH_TAG + inputFileName.substr(BUNDLE_INSTALL_PATH_LEN);
173 // inputFileName: @bundle:bundleName/moduleName/ets/xxx/xxx.abc
174 if (StringHelper::StringStartWith(inputFileName, PREFIX_BUNDLE)) {
175 outEntryPoint = inputFileName.substr(PREFIX_BUNDLE_LEN);
179 // inputFileName: moduleName/ets/xxx/xxx.abc
180 outEntryPoint = vm->GetBundleName() + PathHelper::SLASH_TAG + inputFileName;
182 // if the inputFileName starts with '.test', the preview test page is started.
184 // inputFileName: .test/xxx/xxx.abc
185 if (StringHelper::StringStartWith(inputFileName, PREVIER_TEST_DIR)) {
187 PathHelper::SLASH_TAG + inputFileName;
189 // inputFileName: xxx/xxx.abc
191 MODULE_DEFAULE_ETS + inputFileName;
200 outEntryPoint = TransformToNormalizedOhmUrl(vm, inputFileName, outBaseFileName, outEntryPoint);
244 CString ModulePathHelper::TransformToNormalizedOhmUrl(EcmaVM *vm, const CString &inputFileName,
253 LOG_ECMA(DEBUG) << "TransformToNormalizedOhmUrl inputFileName: " << inputFileName << " oldEntryPoint: " <<