Home
last modified time | relevance | path

Searched refs:Mid (Results 1 – 25 of 72) sorted by relevance

123

/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring_unittest.cpp421 EXPECT_EQ(null_string, null_string.Mid(0, 1)); in TEST()
422 EXPECT_EQ(null_string, null_string.Mid(1, 1)); in TEST()
425 EXPECT_EQ(empty_string, empty_string.Mid(0, 1)); in TEST()
426 EXPECT_EQ(empty_string, empty_string.Mid(1, 1)); in TEST()
429 EXPECT_EQ(empty_string, single_character.Mid(0, 0)); in TEST()
430 EXPECT_EQ(single_character, single_character.Mid(0, 1)); in TEST()
431 EXPECT_EQ(empty_string, single_character.Mid(1, 0)); in TEST()
432 EXPECT_EQ(empty_string, single_character.Mid(1, 1)); in TEST()
435 EXPECT_EQ(longer_string, longer_string.Mid(0, 6)); in TEST()
436 EXPECT_EQ(longer_string, longer_string.Mid(0, 187)); in TEST()
[all …]
Dfx_basic_bstring.cpp445 CFX_ByteString CFX_ByteString::Mid(FX_STRSIZE nFirst) const in Mid() function in CFX_ByteString
450 return Mid(nFirst, m_pData->m_nDataLength - nFirst); in Mid()
452 CFX_ByteString CFX_ByteString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const in Mid() function in CFX_ByteString
Dfx_basic_wstring.cpp431 CFX_WideString CFX_WideString::Mid(FX_STRSIZE nFirst) const in Mid() function in CFX_WideString
433 return Mid(nFirst, m_pData->m_nDataLength - nFirst); in Mid()
435 CFX_WideString CFX_WideString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const in Mid() function in CFX_WideString
/external/llvm/tools/bugpoint/
DListReducer.h115 unsigned Mid = MidTop / 2; in reduceList() local
116 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin()+Mid); in reduceList()
117 std::vector<ElTy> Suffix(TheList.begin()+Mid, TheList.end()); in reduceList()
140 MidTop = Mid; in reduceList()
/external/lzma/CPP/Common/
DCommandLineParser.cpp20 dest2 = src.Mid(i + 1); in SplitCommandLine()
174 matchedSwitch.PostStrings.Add(s.Mid(pos)); in ParseString()
178 UString stringSwitch = s.Mid(pos, minLen); in ParseString()
215 postString = commandString.Mid(id.Length()); in ParseCommand()
DMyString.h313 CStringBase Mid(int startIndex) const in Mid() function
314 { return Mid(startIndex, _length - startIndex); } in Mid()
315 CStringBase Mid(int startIndex, int count) const in Mid() function
333 { return Mid(0, count); } in Left()
338 return Mid(_length - count, count); in Right()
DListFileUtils.cpp17 s = s.Mid(1, s.Length() - 2); in RemoveQuote()
DWildcard.cpp115 name = path.Mid(i + 1); in SplitPathToParts()
133 return path.Mid(i + 1); in ExtractFileNameFromPath()
/external/lzma/CPP/7zip/UI/Common/
DUpdate.h43 if (BaseExtension.CompareNoCase(Name.Mid(dotPos + 1)) == 0) in ParseFromPath()
45 BaseExtension = Name.Mid(dotPos + 1); in ParseFromPath()
DArchiveCommandLine.cpp308 AddToCensorFromListFile(wildcardCensor, s.Mid(1), true, type, codePage); in AddToCensorFromNonSwitchesStrings()
324 UString switchParam2 = switchParam.Mid(splitPos + 1); in ParseMapWithPaths()
330 UString eventName = switchParam2.Mid(splitPos + 1); in ParseMapWithPaths()
401 UString tail = name.Mid(pos + 1); in AddSwitchWildCardsToCensor()
511 postString = command.Mid(i); in ParseUpdateCommandString2()
561 UString archivePath = postString.Mid(1); in ParseUpdateCommandString()
684 property.Value = postString.Mid(index + 1); in SetMethodOptions()
1030 options.Method = postString.Mid(2); in Parse2()
DDefaultName.cpp16 if (extension.CompareNoCase(fileName.Mid(dotPos + 1)) == 0) in GetDefaultName3()
DExtract.cpp171 UString s = arcPath.Mid(pos + 1); in DecompressArchives()
179 int index2 = codecs->FindFormatForExtension(s.Mid(pos + 1)); in DecompressArchives()
DOpenArchive.cpp120 extension = fileName.Mid(dotPos + 1); in OpenStream()
479 fullName.Mid(fileNamePartStartIndex)); in SetCallback()
501 name = fullName.Mid(fileNamePartStartIndex); in Open2()
DLoadCodecs.cpp310 UString num = s.Mid(pos + 1); in LoadIcons()
463 UString ext = arcPath.Mid(dotPos + 1); in FindFormatForArchiveName()
501 const UString name = arcType.Mid(pos, pos2 - pos); in FindFormatForArchiveType()
/external/lzma/CPP/7zip/Archive/Common/
DHandlerOut.cpp315 value = param.Mid(eqPos + 1); in SplitParam()
324 value = param.Mid(i); in SplitParam()
536 UString realName = name.Mid(index); in SetProperty()
542 RINOK(ParseMtProp(name.Mid(2), value, numProcessors, _numThreads)); in SetProperty()
603 RINOK(ParsePropDictionaryValue(realName.Mid(MyStringLen(nameToPropID.Name)), value, dicSize)); in SetProperty()
/external/lzma/CPP/Windows/
DFileName.cpp46 extension = fullName.Mid(index + 1); in SplitNameToPureNameAndExtension()
DFileDir.cpp462 resultName = resultName.Mid(index); in GetOnlyName()
592 UString resultPath2 = GetUnicodePath(sysPath.Mid(fileNamePartStartIndex)); in MyGetFullPathName()
621 resultName = resultName.Mid(index); in GetOnlyName()
701 UString resultPath2 = GetUnicodePath(sysPath.Mid(filePart)); in MySearchPath()
/external/pdfium/core/include/fxcrt/
Dfx_string.h129 CFX_ByteStringC Mid(FX_STRSIZE index, FX_STRSIZE count = -1) const
308 CFX_ByteString Mid(FX_STRSIZE first) const;
310 CFX_ByteString Mid(FX_STRSIZE first, FX_STRSIZE count) const;
564 CFX_WideStringC Mid(FX_STRSIZE index, FX_STRSIZE count = -1) const
732 CFX_WideString Mid(FX_STRSIZE first) const;
734 CFX_WideString Mid(FX_STRSIZE first, FX_STRSIZE count) const;
/external/llvm/lib/Transforms/Utils/
DLowerSwitch.cpp220 unsigned Mid = Size / 2; in switchConvert() local
221 std::vector<CaseRange> LHS(Begin, Begin + Mid); in switchConvert()
223 std::vector<CaseRange> RHS(Begin + Mid, End); in switchConvert()
226 CaseRange &Pivot = *(Begin + Mid); in switchConvert()
/external/lzma/CPP/7zip/Common/
DFilePathAutoRename.cpp40 extension = fullProcessedPath.Mid(dotPos); in AutoRenamePath()
/external/pdfium/fpdfsdk/src/
Dfpdfppo.cpp377 cbMidRange = rangstring.Mid(nStringFrom,nStringTo-nStringFrom); in ParserPageRangeString()
389 int nStartPageNum = atol(cbMidRange.Mid(0,nMid)); in ParserPageRangeString()
402 int nEndPageNum = atol(cbMidRange.Mid(nMid,nEnd)); in ParserPageRangeString()
/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp1016 template<int N> struct Mid : Base {}; struct
1017 struct Derived : Mid<0>, Mid<1> {};
1018 static_assert(&Mid<0>::n == &Mid<1>::n, "");
1019 static_assert((int Derived::*)(int Mid<0>::*)&Mid<0>::n !=
1020 (int Derived::*)(int Mid<1>::*)&Mid<1>::n, "");
1021 static_assert(&Mid<0>::n == (int Mid<0>::*)&Base::n, "");
Dconditional-expr.cpp32 struct Mid : Base {}; struct
33 struct Fin : Mid, Derived {};
/external/llvm/lib/CodeGen/
DLiveInterval.cpp312 size_t Mid = Len >> 1; in find() local
313 if (Pos < I[Mid].end) in find()
314 Len = Mid; in find()
316 I += Mid + 1, Len -= Mid + 1; in find()
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_CBA_Fontmap.cpp262 sAlias = PDF_NameDecode(sFontName).Mid(1); in GetAnnotDefaultFont()

123