Home
last modified time | relevance | path

Searched refs:arc (Results 1 - 25 of 59) sorted by relevance

123

/third_party/lzma/CPP/7zip/Archive/
H A DArchiveExports.cpp76 const CArcInfo &arc = *g_Arcs[formatIndex]; in CreateArchiver() local
79 *outObject = arc.CreateInArchive(); in CreateArchiver()
84 if (!arc.CreateOutArchive) in CreateArchiver()
86 *outObject = arc.CreateOutArchive(); in CreateArchiver()
101 const CArcInfo &arc = *g_Arcs[formatIndex]; in GetHandlerProperty2() local
105 case NArchive::NHandlerPropID::kName: prop = arc.Name; break; in GetHandlerProperty2()
109 CLS_ARC_ID_ITEM(clsId) = arc.Id; in GetHandlerProperty2()
112 case NArchive::NHandlerPropID::kExtension: if (arc.Ext) prop = arc.Ext; break; in GetHandlerProperty2()
113 case NArchive::NHandlerPropID::kAddExtension: if (arc in GetHandlerProperty2()
[all...]
/third_party/skia/third_party/externals/freetype/src/raster/
H A Dftraster.c332 /* States of each line, arc, and profile */
489 Bool joint; /* signals that the last arc ended */
556 * given y-monotonous Bezier arc that crosses a scanline before in Set_High_Precision()
910 * Subdivide a third-order Bezier arc into two joint sub-arcs in the
1158 * Compute the x-coordinates of an ascending Bezier arc and store
1163 * The degree of the Bezier arc (either 2 or 3).
1179 TPoint* arc, in Bezier_Up()
1192 y1 = arc[degree].y; in Bezier_Up()
1193 y2 = arc[0].y; in Bezier_Up()
1222 *top++ = arc[degre in Bezier_Up()
1178 Bezier_Up( RAS_ARGS Int degree, TPoint* arc, TSplitter splitter, Long miny, Long maxy ) Bezier_Up() argument
1313 Bezier_Down( RAS_ARGS Int degree, TPoint* arc, TSplitter splitter, Long miny, Long maxy ) Bezier_Down() argument
1472 TPoint* arc; /* current Bezier arc pointer */ Conic_To() local
1606 TPoint* arc; /* current Bezier arc pointer */ Cubic_To() local
[all...]
/third_party/skia/third_party/externals/freetype/src/smooth/
H A Dftgrays.c1066 /* short-cut the arc that crosses the current band */ in gray_render_conic()
1107 * The (P0,P1,P2) arc equation, for t in [0,1] range: in gray_render_conic()
1264 FT_Vector* arc = bez_stack; in gray_render_conic() local
1269 arc[0].x = UPSCALE( to->x ); in gray_render_conic()
1270 arc[0].y = UPSCALE( to->y ); in gray_render_conic()
1271 arc[1].x = UPSCALE( control->x ); in gray_render_conic()
1272 arc[1].y = UPSCALE( control->y ); in gray_render_conic()
1273 arc[2].x = ras.x; in gray_render_conic()
1274 arc[2].y = ras.y; in gray_render_conic()
1276 /* short-cut the arc tha in gray_render_conic()
1373 FT_Vector* arc = bez_stack; gray_render_cubic() local
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftstroke.c580 /* add cubic arc */ in ft_stroke_border_arcto()
881 /* create a circular arc at a corner or cap */
1347 FT_Vector* arc; in FT_EXPORT_DEF() local
1369 arc = bez_stack; in FT_EXPORT_DEF()
1370 arc[0] = *to; in FT_EXPORT_DEF()
1371 arc[1] = *control; in FT_EXPORT_DEF()
1372 arc[2] = stroker->center; in FT_EXPORT_DEF()
1374 while ( arc >= bez_stack ) in FT_EXPORT_DEF()
1382 if ( arc < limit && in FT_EXPORT_DEF()
1383 !ft_conic_is_small_enough( arc, in FT_EXPORT_DEF()
1550 FT_Vector* arc; FT_EXPORT_DEF() local
[all...]
/third_party/skia/gm/
H A Dcirculararcs.cpp49 // Use alpha so we see magenta on overlap between arc and its complement. in draw_arcs()
200 for (auto arc : noDrawArcs) { in DEF_SIMPLE_GM()
203 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, false, paint); in DEF_SIMPLE_GM()
204 canvas->drawArc(arc.fOval, arc.fStart, arc.fSweep, true, paint); in DEF_SIMPLE_GM()
218 for (auto arc : arcs) { in DEF_SIMPLE_GM()
219 canvas->drawArc(arc in DEF_SIMPLE_GM()
[all...]
H A Darcofzorro.cpp51 for (float arc = 134.0f; arc < 136.0f; arc += 0.01f) {
58 canvas->drawArc(rect, 0, arc, false, p);
/third_party/lzma/CPP/7zip/UI/Common/
H A DUpdate.cpp352 const CArc *arc, in Compress()
367 if (arc) in Compress()
369 formatIndex = arc->FormatIndex; in Compress()
372 CMyComPtr<IInArchive> archive2 = arc->Archive; in Compress()
505 with folder renaming like: rn arc dir1\ dir2\ in Compress()
525 RINOK(arc->IsItem_Anti(i, up2.IsAnti)) in Compress()
629 if (arc) in Compress()
632 updateCallbackSpec->Archive = arc->Archive; in Compress()
644 updateCallbackSpec->Arc = arc; in Compress()
727 if (arc in Compress()
347 Compress( const CUpdateOptions &options, bool isUpdatingItself, CCodecs *codecs, const CActionSet &actionSet, const CArc *arc, CArchivePath &archivePath, const CObjectVector<CArcItem> &arcItems, Byte *processedItemsStatuses, const CDirItems &dirItems, const CDirItem *parentDirItem, CTempFiles &tempFiles, CMultiOutStream_Bunch &multiStreams, CUpdateErrorInfo &errorInfo, IUpdateCallbackUI *callback, CFinishArchiveStat &st) Compress() argument
981 EnumerateInArchiveItems( const NWildcard::CCensor &censor, const CArc &arc, CObjectVector<CArcItem> &arcItems) EnumerateInArchiveItems() argument
1282 CArc &arc = arcLink.Arcs.Back(); UpdateArchive() local
1540 const CArc *arc = thereIsInArchive ? arcLink.GetArc() : NULL; UpdateArchive() local
[all...]
H A DExtract.cpp51 const CArc &arc = arcLink.Arcs.Back(); in DecompressArchive() local
53 IInArchive *archive = arc.Archive; in DecompressArchive()
59 UString replaceName = arc.DefaultName; in DecompressArchive()
109 RINOK(arc.GetItem(i, item)) in DecompressArchive()
117 if (!options.NtOptions.AltStreams.Val && arc.Ask_AltStream) in DecompressArchive()
119 RINOK(Archive_IsItem_AltStream(arc.Archive, i, item.IsAltStream)) in DecompressArchive()
197 &arc, in DecompressArchive()
520 CArc &arc = arcLink.Arcs.Back(); in Extract() local
521 arc.MTime.Def = !options.StdInMode in Extract()
526 if (arc in Extract()
[all...]
H A DLoadCodecs.cpp789 const CArcInfo &arc = *g_Arcs[i]; in Load() local
792 item.Name = arc.Name; in Load()
793 item.CreateInArchive = arc.CreateInArchive; in Load()
794 item.IsArcFunc = arc.IsArc; in Load()
795 item.Flags = arc.Flags; in Load()
799 if (arc.Ext) in Load()
800 e = arc.Ext; in Load()
801 if (arc.AddExt) in Load()
802 ae = arc.AddExt; in Load()
808 item.CreateOutArchive = arc in Load()
890 const CArcInfoEx &arc = Formats[i]; FindFormatForArchiveName() local
[all...]
H A DOpenArchive.cpp444 HRESULT Archive_GetItemBoolProp(IInArchive *arc, UInt32 index, PROPID propID, bool &result) throw()
448 RINOK(arc->GetProperty(index, propID, &prop))
456 HRESULT Archive_IsItem_Dir(IInArchive *arc, UInt32 index, bool &result) throw()
458 return Archive_GetItemBoolProp(arc, index, kpidIsDir, result);
461 HRESULT Archive_IsItem_Aux(IInArchive *arc, UInt32 index, bool &result) throw()
463 return Archive_GetItemBoolProp(arc, index, kpidIsAux, result);
466 HRESULT Archive_IsItem_AltStream(IInArchive *arc, UInt32 index, bool &result) throw()
468 return Archive_GetItemBoolProp(arc, index, kpidIsAltStream, result);
471 HRESULT Archive_IsItem_Deleted(IInArchive *arc, UInt32 index, bool &result) throw()
473 return Archive_GetItemBoolProp(arc, inde
[all...]
H A DOpenArchive.h19 HRESULT Archive_GetItemBoolProp(IInArchive *arc, UInt32 index, PROPID propID, bool &result) throw();
20 HRESULT Archive_IsItem_Dir(IInArchive *arc, UInt32 index, bool &result) throw();
21 HRESULT Archive_IsItem_Aux(IInArchive *arc, UInt32 index, bool &result) throw();
22 HRESULT Archive_IsItem_AltStream(IInArchive *arc, UInt32 index, bool &result) throw();
23 HRESULT Archive_IsItem_Deleted(IInArchive *arc, UInt32 index, bool &deleted) throw();
/third_party/python/Lib/test/
H A Dtest_tarfile.py3402 with ArchiveMaker() as arc:
3403 arc.add('benign.txt')
3405 with self.check_context(arc.open(), filter):
3411 with ArchiveMaker() as arc:
3412 arc.add(self.outerdir / 'escaped.evil')
3414 with self.check_context(arc.open(), 'fully_trusted'):
3418 with self.check_context(arc.open(), filter):
3437 with ArchiveMaker() as arc:
3438 arc.add('current', symlink_to='.')
3439 arc
[all...]
/third_party/skia/docs/examples/
H A DSkPath_arcTo_example.cpp18 SkPath arc; in REG_FIDDLE() local
19 arc.arcTo(oval, startAngle, sweepAngle, false); in REG_FIDDLE()
23 canvas->drawPath(arc, paint); in REG_FIDDLE()
H A DSkPath_arcto_conic_parametric.cpp28 SkPath arc; in REG_FIDDLE() local
29 arc.arcTo(oval, startAngle, sweepAngle, false); in REG_FIDDLE()
33 canvas->drawPath(arc, paint); in REG_FIDDLE()
H A DSkPath_arcto_conic_parametric2.cpp45 SkPath arc; in REG_FIDDLE() local
46 arc.arcTo(oval, startAngle, sweepAngle, false); in REG_FIDDLE()
51 canvas->drawPath(arc, arcPaint); in REG_FIDDLE()
/third_party/skia/src/gpu/geometry/
H A DGrShape.h16 // Represents an arc along an oval boundary, or a closed wedge of the oval.
18 SkRect fOval; // The sorted, bounding box defining the oval the arc is traced along
21 bool fUseCenter; // True if the arc includes the center point of the oval
69 explicit GrShape(const GrArc& arc) { this->setArc(arc); } in GrShape() argument
142 GrArc& arc() { SkASSERT(this->isArc()); return fArc; } in arc() function in GrShape
143 const GrArc& arc() const { SkASSERT(this->isArc()); return fArc; } in arc() function in GrShape
166 void setArc(const GrArc& arc) { in setArc() argument
168 fArc = arc; in setArc()
/third_party/lzma/CPP/7zip/UI/Console/
H A DList.cpp958 const CArc &arc = arcLink.Arcs[r]; in Print_OpenArchive_Props() local
959 const CArcErrorInfo &er = arc.ErrorInfo; in Print_OpenArchive_Props()
962 PrintPropPair(so, "Path", arc.Path, false); in Print_OpenArchive_Props()
965 if (er.ErrorFormatIndex == arc.FormatIndex) in Print_OpenArchive_Props()
970 PrintPropPair(so, "Type", codecs->GetFormatNamePtr(arc.FormatIndex), false); in Print_OpenArchive_Props()
974 Int64 offset = arc.GetGlobalOffset(); in Print_OpenArchive_Props()
977 IInArchive *archive = arc.Archive; in Print_OpenArchive_Props()
1199 const CArcErrorInfo &arc = arcLink.Arcs[r].ErrorInfo; in ListArchives() local
1200 if (!arc.WarningMessage.IsEmpty()) in ListArchives()
1202 if (arc in ListArchives()
1249 const CArc &arc = arcLink.Arcs.Back(); ListArchives() local
[all...]
H A DExtractCallbackConsole.cpp606 void Print_ErrorFormatIndex_Warning(CStdOutStream *_so, const CCodecs *codecs, const CArc &arc);
607 void Print_ErrorFormatIndex_Warning(CStdOutStream *_so, const CCodecs *codecs, const CArc &arc) in Print_ErrorFormatIndex_Warning() argument
609 const CArcErrorInfo &er = arc.ErrorInfo; in Print_ErrorFormatIndex_Warning()
612 _so->NormalizePrint_UString(arc.Path); in Print_ErrorFormatIndex_Warning()
614 if (arc.FormatIndex == er.ErrorFormatIndex) in Print_ErrorFormatIndex_Warning()
622 Add_Messsage_Pre_ArcType(s, "The file is open", codecs->GetFormatNamePtr(arc.FormatIndex)); in Print_ErrorFormatIndex_Warning()
647 const CArc &arc = arcLink.Arcs[level]; in OpenResult() local
648 const CArcErrorInfo &er = arc.ErrorInfo; in OpenResult()
659 _se->NormalizePrint_UString(arc.Path); in OpenResult()
696 _so->NormalizePrint_UString(arc in OpenResult()
[all...]
H A DMain.cpp1042 const CArcInfoEx &arc = codecs->Formats[i];
1045 PrintLibIndex(so, arc.LibIndex);
1050 so << (char)(arc.UpdateEnabled ? 'C' : ' ');
1055 so << (char)((arc.Flags & ((UInt32)1 << b)) != 0 ? kArcFlags[b] : '.');
1059 if (arc.TimeFlags != 0)
1063 so << (char)((arc.TimeFlags & ((UInt32)1 << b)) != 0 ? kArcTimeFlags[b] : '.');
1064 so << arc.Get_DefaultTimePrec();
1069 PrintString(so, arc.Name, 8);
1073 FOR_VECTOR (t, arc.Exts)
1077 const CArcExtInfo &ext = arc
[all...]
H A DUpdateCallbackConsole.cpp49 void Print_ErrorFormatIndex_Warning(CStdOutStream *_so, const CCodecs *codecs, const CArc &arc);
59 const CArc &arc = arcLink.Arcs[level]; in OpenResult() local
60 const CArcErrorInfo &er = arc.ErrorInfo; in OpenResult()
70 *_se << arc.Path << endl; in OpenResult()
100 *_so << arc.Path << endl; in OpenResult()
128 Print_ErrorFormatIndex_Warning(_so, codecs, arc); in OpenResult()
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DPolystar.cpp45 const auto arc = sk_ieee_float_divide(SK_ScalarPI * 2, count); variable
62 poly.lineTo(pt_on_circle(fPosition, fInnerRadius, angle + arc * 0.5f));
64 angle += arc;
/third_party/skia/third_party/externals/imgui/examples/example_glfw_metal/
H A DMakefile34 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
37 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
/third_party/skia/third_party/externals/imgui/examples/example_sdl_metal/
H A DMakefile35 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
38 $(CXX) $(CXXFLAGS) -ObjC++ -fobjc-weak -fobjc-arc -c -o $@ $<
/third_party/rust/crates/clap/src/parser/matches/
H A Dany_value.rs26 let value = std::sync::Arc::try_unwrap(value).unwrap_or_else(|arc| (*arc).clone());
/third_party/skia/modules/canvaskit/htmlcanvas/
H A Dpath2d.js3 function arc(skpath, x, y, radius, startAngle, endAngle, ccw) { function
4 // As per https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-arc
5 // arc is essentially a simpler version of ellipse.
94 // of note, can't use addArc or addOval because they close the arc, which
96 // This throws off points being in/out of the arc.
170 this.arc = function(x, y, radius, startAngle, endAngle, ccw) {
171 arc(this._path, x, y, radius, startAngle, endAngle, ccw);

Completed in 38 milliseconds

123