Home
last modified time | relevance | path

Searched refs:OverwriteMode (Results 1 – 21 of 21) sorted by relevance

/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/testing/
DTestNumberingScheme.java52 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
184 csvRanges.assign(RangesTableSchema.TYPE, checkNotNull(type), ranges, OverwriteMode.NEVER); in addRanges()
185 csvRanges.assign(RangesTableSchema.TARIFF, checkNotNull(tariff), ranges, OverwriteMode.NEVER); in addRanges()
187 regionMap.values().forEach(c -> csvRanges.assign(c, true, ranges, OverwriteMode.NEVER)); in addRanges()
230 table.assign(ShortcodesTableSchema.TYPE, checkNotNull(type), ranges, OverwriteMode.NEVER); in addShortcodes()
231 table.assign(ShortcodesTableSchema.TARIFF, checkNotNull(tariff), ranges, OverwriteMode.NEVER); in addShortcodes()
312 csvRanges.assign(c, regionsToSet.contains(r), ranges, OverwriteMode.ALWAYS)); in setRegions()
318 csvRanges.assign(RangesTableSchema.NATIONAL_ONLY, nationalOnly, ranges, OverwriteMode.ALWAYS); in setNationalOnly()
324 csvRanges.assign(RangesTableSchema.AREA_CODE_LENGTH, n, ranges, OverwriteMode.ALWAYS); in setAreaCodeLength()
332 csvRanges.assign(RangesTableSchema.FORMAT, id, ranges, OverwriteMode.ALWAYS); in setFormat()
[all …]
/third_party/lzma/CPP/7zip/UI/GUI/
DExtractDialog.cpp167 OverwriteMode = NExtract::NOverwriteMode::kAsk; in OnInit()
179 OverwriteMode = _info.OverwriteMode; in OnInit()
231 …Mode, kOverwriteMode_IDs, Z7_ARRAY_SIZE(kOverwriteMode_IDs), kOverwriteButtonsVals, OverwriteMode); in OnInit()
308OverwriteMode = (NExtract::NOverwriteMode::EEnum)kOverwriteButtonsVals[_overwriteMode.GetCurSel()]; in OnOK()
340 if (!OverwriteMode_Force && _info.OverwriteMode != OverwriteMode) in OnOK()
342 _info.OverwriteMode = OverwriteMode; in OnOK()
DExtractGUI.cpp217 dialog.OverwriteMode = options.OverwriteMode; in ExtractGUI()
238 options.OverwriteMode = dialog.OverwriteMode; in ExtractGUI()
DExtractDialog.h85 NExtract::NOverwriteMode::EEnum OverwriteMode; variable
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DDisjointRangeMap.java26 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
77 T checkAssign(@Nullable Object value, RangeTree ranges, OverwriteMode mode) { in checkAssign()
80 if (mode != OverwriteMode.ALWAYS) { in checkAssign()
84 if (mode == OverwriteMode.SAME) { in checkAssign()
107 void assign(@Nullable Object value, RangeTree ranges, OverwriteMode mode) { in assign()
111 if (mode == OverwriteMode.ALWAYS) { in assign()
DRangeException.java23 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
31 Column<T> column, T value, RangeTree existing, RangeTree ranges, OverwriteMode mode) { in checkDisjoint()
44 OverwriteMode mode) { in RangeException()
54 OverwriteMode mode) { in explain()
DRangeTable.java99 public enum OverwriteMode { enum in RangeTable
213 public Builder assign(Assignment<?> assignment, RangeTree ranges, OverwriteMode mode) { in assign()
227 Column<?> column, @Nullable Object value, RangeTree ranges, OverwriteMode mode) { in assign()
244 assign(column, value, table.getRanges(column, value), OverwriteMode.ALWAYS); in add()
274 rangeMap.assign(null, ranges, OverwriteMode.ALWAYS); in remove()
294 Column<T> column, RangeTable src, OverwriteMode mode) { in copyNonDefaultValues()
311 return apply(change, OverwriteMode.ALWAYS); in apply()
321 public Builder apply(Change change, OverwriteMode mode) { in apply()
326 if (mode != OverwriteMode.ALWAYS) { in apply()
679 simplified.assign(a, simplifiedRange, OverwriteMode.NEVER); in simplify()
[all …]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
DRangeTableTest.java40 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
82 table.assign(TYPE, MOBILE, ranges("1[234]xxxx"), OverwriteMode.ALWAYS); in testBasicAssign()
85 table.assign(TYPE, null, ranges("13xxxx"), OverwriteMode.ALWAYS); in testBasicAssign()
91 table.assign(fixedLine, ranges("14xxxx"), OverwriteMode.ALWAYS); in testBasicAssign()
96 table.assign(fixedLine, ranges("1[34]xxxx"), OverwriteMode.SAME); in testBasicAssign()
102 () -> table.assign(fixedLine, ranges("1[23]xxxx"), OverwriteMode.SAME)); in testBasicAssign()
105 table.assign(fixedLine, ranges("15xxxx"), OverwriteMode.NEVER); in testBasicAssign()
111 () -> table.assign(fixedLine, ranges("15xxxx"), OverwriteMode.NEVER)); in testBasicAssign()
116 () -> table.assign(TYPE, null, ranges("123"), OverwriteMode.SAME)); in testBasicAssign()
118 () -> table.assign(TYPE, null, ranges("123"), OverwriteMode.NEVER)); in testBasicAssign()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/
DXmlRangesSchema.java21 import static com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode.NEVER;
31 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
120 dst.assign(TYPE, t.get(), ranges, OverwriteMode.NEVER); in fromExternalTable()
136 .ifPresent(t -> dst.assign(TYPE, t, ranges, OverwriteMode.ALWAYS)); in fromExternalTable()
DShortcodesTableSchema.java39 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
222 table.apply(change.build(), OverwriteMode.NEVER); in toShortcodeTables()
DNumberingScheme.java54 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
389 allFormats.copyNonDefaultValues(AREA_CODE_LENGTH, table, OverwriteMode.ALWAYS); in checkFormatConsistency()
390 allFormats.copyNonDefaultValues(FORMAT, table, OverwriteMode.ALWAYS); in checkFormatConsistency()
393 .forEach(t -> allFormats.copyNonDefaultValues(FORMAT, t, OverwriteMode.SAME)); in checkFormatConsistency()
DRangesTableSchema.java48 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
342 out.apply(change.build(), OverwriteMode.NEVER); in toRangeTable()
/third_party/lzma/CPP/7zip/UI/Common/
DExtract.h27 NExtract::NOverwriteMode::EEnum OverwriteMode; member
40 OverwriteMode(NExtract::NOverwriteMode::kAsk), in CExtractOptionsBase()
DZipRegistry.h28 NOverwriteMode::EEnum OverwriteMode; member
DArchiveCommandLine.cpp1532 eo.OverwriteMode = NExtract::NOverwriteMode::kAsk; in Parse2()
1535 eo.OverwriteMode = k_OverwriteModes[(unsigned)parser[NKey::kOverwrite].PostCharIndex]; in Parse2()
1540 eo.OverwriteMode = NExtract::NOverwriteMode::kOverwrite; in Parse2()
DExtract.cpp324 options.OverwriteMode, in Extract()
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/
DRecipesTableSchema.java29 import com.google.i18n.phonenumbers.metadata.table.RangeTable.OverwriteMode;
138 out.apply(change.build(), OverwriteMode.NEVER); in toRangeTable()
/third_party/lzma/CPP/7zip/UI/FileManager/
DExtractCallback.h256 NExtract::NOverwriteMode::EEnum OverwriteMode;
281 OverwriteMode(NExtract::NOverwriteMode::kAsk),
DExtractCallback.cpp733 switch ((int)OverwriteMode) in Z7_COM7F_IMF()
756 … case NOverwriteAnswer::kNoToAll: OverwriteMode = NExtract::NOverwriteMode::kSkip; return S_OK; in Z7_COM7F_IMF()
758 … case NOverwriteAnswer::kYesToAll: OverwriteMode = NExtract::NOverwriteMode::kOverwrite; break; in Z7_COM7F_IMF()
759 … case NOverwriteAnswer::kAutoRename: OverwriteMode = NExtract::NOverwriteMode::kRename; break; in Z7_COM7F_IMF()
769 if (OverwriteMode == NExtract::NOverwriteMode::kRename) in Z7_COM7F_IMF()
/third_party/lzma/CPP/7zip/Bundles/SFXWin/
DSfxWin.cpp182 eo.OverwriteMode = assumeYes ? in WinMain2()
/third_party/lzma/CPP/7zip/Bundles/SFXCon/
DSfxCon.cpp447 eo.OverwriteMode = yesToAll ? in Main2()