Searched refs:segments (Results 1 - 25 of 71) sorted by relevance

123

/external/sonivox/jet_tools/JetCreator/
H A DJetDebug.py43 def DumpSegments1(segments):
44 for segment in segments:
56 def DumpSegments(segments):
57 for segment in segments:
H A DJetFile.py93 """ Class to hold segments """
302 # count segments
303 segments = []
360 segments.append(JetSegment(segname, filename, start, end, length, output, quantize, jetevents, dlsfile, dump_file, int(transpose), int(repeat), int(mute_flags)))
363 self.segments = segments
364 if not len(segments):
365 #TODO: Check for segments when writing
366 #raise JetFileException('No segments defined in configuration file')
392 JINF_NUM_SMF_CHUNKS, len(self.segments),
[all...]
/external/skia/src/utils/
H A DSkUnitMappers.cpp10 SkDiscreteMapper::SkDiscreteMapper(int segments) { argument
11 if (segments < 2) {
15 if (segments > 0xFFFF) {
16 segments = 0xFFFF;
18 fSegments = segments;
19 fScale = SK_Fract1 / (segments - 1);
/external/skia/src/gpu/gl/
H A DGrGLProgram.cpp375 ShaderCodeSegments* segments,
378 segments->fVSOutputs.push_back();
379 segments->fVSOutputs.back().setType(type);
380 segments->fVSOutputs.back().setTypeModifier(
382 segments->fVSOutputs.back().accessName()->printf("v%s", name);
384 *vsOutName = segments->fVSOutputs.back().getName().c_str();
388 if (segments->fUsesGS) {
391 segments->fGSInputs.push_back();
392 segments->fGSInputs.back().setType(type);
393 segments
373 append_varying(GrGLShaderVar::Type type, const char* name, ShaderCodeSegments* segments, const char** vsOutName = NULL, const char** fsInName = NULL) argument
419 append_varying(GrGLShaderVar::Type type, const char* name, int stageNum, ShaderCodeSegments* segments, const char** vsOutName = NULL, const char** fsInName = NULL) argument
536 genInputColor(GrGLProgram::ProgramDesc::ColorInput colorInput, GrGLProgram::CachedData* programData, ShaderCodeSegments* segments, GrStringBuilder* inColor) argument
568 genAttributeCoverage(ShaderCodeSegments* segments, GrStringBuilder* inOutCoverage) argument
586 genUniformCoverage(ShaderCodeSegments* segments, GrGLProgram::CachedData* programData, GrStringBuilder* inOutCoverage) argument
648 ShaderCodeSegments segments; local
1063 CompileShaders(const GrGLContextInfo& gl, const ShaderCodeSegments& segments, CachedData* programData) argument
1404 genRadialVS(int stageNum, ShaderCodeSegments* segments, GrGLProgram::StageUniLocations* locations, const char** radial2VaryingVSName, const char** radial2VaryingFSName, const char* varyingVSName, int varyingDims, int coordDims) argument
1447 genRadial2GradientCoordMapping(int stageNum, ShaderCodeSegments* segments, const char* radial2VaryingFSName, GrGLShaderVar* radial2Params, GrStringBuilder& sampleCoords, GrStringBuilder& fsCoordName, int varyingDims, int coordDims) argument
1515 genRadial2GradientDegenerateCoordMapping(int stageNum, ShaderCodeSegments* segments, const char* radial2VaryingFSName, GrGLShaderVar* radial2Params, GrStringBuilder& sampleCoords, GrStringBuilder& fsCoordName, int varyingDims, int coordDims) argument
1561 gen2x2FS(int stageNum, ShaderCodeSegments* segments, GrGLProgram::StageUniLocations* locations, GrStringBuilder* sampleCoords, const char* samplerName, const char* texelSizeName, const char* swizzle, const char* fsOutColor, GrStringBuilder& texFunc, GrStringBuilder& modulate, bool complexCoord, int coordDims) argument
1594 genConvolutionVS(int stageNum, const StageDesc& desc, ShaderCodeSegments* segments, GrGLProgram::StageUniLocations* locations, GrGLShaderVar** kernel, const char** imageIncrementName, const char* varyingVSName) argument
1626 genConvolutionFS(int stageNum, const StageDesc& desc, ShaderCodeSegments* segments, const char* samplerName, GrGLShaderVar* kernel, const char* swizzle, const char* imageIncrementName, const char* fsOutColor, GrStringBuilder& sampleCoords, GrStringBuilder& texFunc, GrStringBuilder& modulate) argument
1664 genMorphologyVS(int stageNum, const StageDesc& desc, ShaderCodeSegments* segments, GrGLProgram::StageUniLocations* locations, const char** imageIncrementName, const char* varyingVSName) argument
1686 genMorphologyFS(int stageNum, const StageDesc& desc, ShaderCodeSegments* segments, const char* samplerName, const char* swizzle, const char* imageIncrementName, const char* fsOutColor, GrStringBuilder& sampleCoords, GrStringBuilder& texFunc, GrStringBuilder& modulate) argument
1728 genStageCode(const GrGLContextInfo& gl, int stageNum, const GrGLProgram::StageDesc& desc, const char* fsInColor, const char* fsOutColor, const char* vsInCoord, ShaderCodeSegments* segments, StageUniLocations* locations) const argument
1793 segments, local
[all...]
/external/icu4c/layout/
H A DLookupTables.h57 const LookupSegment *lookupSegment(const LookupSegment *segments, LEGlyphID glyph) const;
69 LookupSegment segments[ANY_NUMBER]; member in struct:SegmentSingleLookupTable
74 LookupSegment segments[ANY_NUMBER]; member in struct:SegmentArrayLookupTable
H A DSegmentArrayProcessor.cpp38 const LookupSegment *segments = segmentArrayLookupTable->segments; local
44 const LookupSegment *lookupSegment = segmentArrayLookupTable->lookupSegment(segments, thisGlyph);
H A DSegmentSingleProcessor.cpp38 const LookupSegment *segments = segmentSingleLookupTable->segments; local
44 const LookupSegment *lookupSegment = segmentSingleLookupTable->lookupSegment(segments, thisGlyph);
H A DLookupTables.cpp27 const LookupSegment *BinarySearchLookupTable::lookupSegment(const LookupSegment *segments, LEGlyphID glyph) const argument
33 const LookupSegment *entry = segments;
/external/skia/src/gpu/
H A DGrAAConvexPathRenderer.cpp49 void center_of_mass(const SegmentArray& segments, SkPoint* c) { argument
53 int count = segments.count();
59 p0 = segments[0].endPt();
65 pj = segments[1].endPt() - p0;
68 const SkPoint pj = segments[i + 1].endPt() - p0;
83 const SkPoint& pt = segments[i].endPt();
101 void compute_vectors(SegmentArray* segments, argument
106 center_of_mass(*segments, fanPt);
107 int count = segments->count();
121 const Segment& sega = (*segments)[
199 get_segments(const GrPath& path, SegmentArray* segments, SkPoint* fanPt, int* vCount, int* iCount) argument
275 create_vertices(const SegmentArray& segments, const SkPoint& fanPt, QuadVertex* verts, uint16_t* idxs) argument
463 SegmentArray segments; local
[all...]
/external/webp/src/enc/
H A Dconfig.c39 config->segments = 4;
70 config->segments = 2;
89 if (config->segments < 1 || config->segments > 4)
/external/elfutils/src/
H A Dfindtextrel.c48 struct segments struct
99 static void check_rel (size_t nsegments, struct segments segments[nsegments],
311 /* Get the address ranges for the loaded segments. */
314 struct segments *segments local
315 = (struct segments *) malloc (nsegments_max * sizeof (segments[0]));
316 if (segments == NULL)
337 segments
491 check_rel(size_t nsegments, struct segments segments[nsegments], GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw, const char *fname, bool more_than_one, void **knownsrcs) argument
[all...]
/external/opencv/cvaux/src/
H A Dcvbgfg_common.cpp46 // segments - pointer to result of segmentation (for example MeanShiftSegmentation)
48 CV_IMPL void cvRefineForegroundMaskBySegm( CvSeq* segments, CvBGStatModel* bg_model ) argument
52 for( ; segments; segments = ((CvSeq*)segments)->h_next )
54 CvSeq seq = *segments;
/external/libxslt/libxslt/
H A Dattrvt.c40 int nb_seg; /* Number of segments */
51 void *segments[MAX_AVT_SEG]; member in struct:_xsltAttrVT
102 if (avt->segments[i] != NULL)
103 xmlFree((xmlChar *) avt->segments[i]);
105 xmlXPathFreeCompExpr((xmlXPathCompExprPtr) avt->segments[i]);
108 xmlXPathFreeCompExpr((xmlXPathCompExprPtr) avt->segments[i]);
110 if (avt->segments[i] != NULL)
111 xmlFree((xmlChar *) avt->segments[i]);
140 * needs to be added to the 'segments' array within the xsltAttrVT
154 memset(&avt->segments[av
[all...]
/external/skia/include/utils/
H A DSkUnitMappers.h19 SkDiscreteMapper(int segments);
/external/webkit/LayoutTests/fast/url/resources/
H A Dutilities.js29 function segments(url) function
/external/freetype/src/autofit/
H A Dafwarp.c21 * within a single dimension so that as much of its segments are aligned
66 /* Score segments for a given `scale' and `delta' in the range */
78 AF_Segment segments,
122 FT_Pos len = segments[nn].max_coord - segments[nn].min_coord;
123 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta;
128 /* score the length of the segments for the given range */
179 AF_Segment segments; local
200 segments = axis->segments;
72 af_warper_compute_line_best( AF_Warper warper, FT_Fixed scale, FT_Pos delta, FT_Pos xx1, FT_Pos xx2, AF_WarpScore base_distort, AF_Segment segments, FT_UInt num_segments ) argument
[all...]
H A Dafhints.c52 if ( FT_RENEW_ARRAY( axis->segments, old_max, new_max ) )
58 segment = axis->segments + axis->num_segments++;
235 /* Dump the array of linked segments. */
249 AF_Segment segments = axis->segments; local
250 AF_Segment limit = segments + axis->num_segments;
254 printf ( "Table of %s segments:\n",
259 for ( seg = segments; seg < limit; seg++ )
262 seg - segments,
266 AF_INDEX_NUM( seg->link, segments ),
818 AF_Segment segments = axis->segments; local
[all...]
/external/icu4c/i18n/
H A Drbt_rule.cpp47 * segments, or null if there are none. The array itself is adopted,
65 segments(0),
100 // We don't validate the segments array. The caller must
101 // guarantee that the segments are well-formed (that is, that
104 this->segments = segs;
172 segments = NULL;
175 segments = (UnicodeFunctor **)uprv_malloc(other.segmentsCount * sizeof(UnicodeFunctor *));
176 uprv_memcpy(segments, other.segments, other.segmentsCount*sizeof(segments[
[all...]
H A Drbt_rule.h43 * <p>A rule may contain segments in its input string and segment
99 * segments. If there are no segments this is null. N.B. This is
106 UnicodeFunctor** segments; member in class:TransliterationRule
109 * The number of elements in segments[] or zero if segments is NULL.
142 * lookup services for matchers and segments.
170 * segments, or null if there are none. The array itself is adopted,
/external/webkit/Source/WebCore/inspector/front-end/
H A DSummaryBar.js137 _drawSummaryGraph: function(segments)
139 if (!segments || !segments.length) {
140 segments = [{color: "white", value: 1}];
145 // Calculate the total of all segments.
147 for (var i = 0; i < segments.length; ++i)
148 total += segments[i].value;
151 var percents = segments.map(function(s) { return Math.max(Math.round(100 * s.value / total), 1) });
159 // if we rounded up for a few segments.
170 // if we rounded down for a few segments
[all...]
/external/e2fsprogs/intl/
H A Dgmo.h95 /* The number of system dependent segments. */
97 /* Offset of table describing system dependent segments. */
130 /* Offset of static string segments in file. */
132 /* Alternating sequence of static and system dependent segments.
140 } segments[1]; member in struct:sysdep_string
143 /* Marker for the end of the segments[] array. This has the value 0xFFFFFFFF,
/external/kernel-headers/original/linux/
H A Dkexec.h96 struct kexec_segment __user *segments,
101 struct compat_kexec_segment __user *segments,
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheBuilderTest.java91 assertEquals(4, map.segments.length);
92 assertEquals(2, map.segments[0].table.length());
93 assertEquals(2, map.segments[1].table.length());
94 assertEquals(2, map.segments[2].table.length());
95 assertEquals(2, map.segments[3].table.length());
105 assertEquals(4, map.segments.length);
107 assertEquals(1, map.segments[0].table.length());
108 assertEquals(1, map.segments[1].table.length());
109 assertEquals(1, map.segments[2].table.length());
110 assertEquals(1, map.segments[
[all...]
H A DCacheTesting.java132 for (Segment segment : map.segments) {
154 for (LocalCache.Segment segment : cchm.segments) {
171 for (Segment<?, ?> segment : map.segments) {
190 for (Segment<?, ?> segment : cchm.segments) {
220 for (Segment<?, ?> segment : cchm.segments) {
282 for (Segment<?, ?> segment : map.segments) {
301 for (Segment segment : map.segments) {
331 for (Segment<?, ?> segment : cchm.segments) {
344 for (Segment<?, ?> segment : cchm.segments) {
383 Segment<?, ?> segment = cchm.segments[
[all...]
/external/webkit/Source/WebKit2/Platform/
H A DRegion.cpp93 // Check if both spans have an equal number of segments.
101 // Since the segments are equal the second segment can just be ignored.
140 // Check if this span has any segments.
152 // Check if this span has any segments.
282 Vector<int> segments; local
284 // Now iterate over the segments in each span and construct a new vector of segments.
301 segments.append(x);
306 // Add any remaining segments.
308 segments
[all...]

Completed in 653 milliseconds

123