Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 90) sorted by relevance

1234

/external/tesseract/ccstruct/
Dquspline.cpp70 register int segment; /*segment no */ in QSPLINE() local
80 for (segment = 0, pointindex = 0; pointindex < pointcount; pointindex++) { in QSPLINE()
81 while (segment < segcount && xpts[pointindex] >= xstarts[segment]) { in QSPLINE()
82 segment++; /*try next segment */ in QSPLINE()
84 ptcounts[segment] = ptcounts[segment - 1]; in QSPLINE()
86 ptcounts[segment]++; /*no in previous partition */ in QSPLINE()
88 while (segment < segcount) { in QSPLINE()
89 segment++; in QSPLINE()
91 ptcounts[segment] = ptcounts[segment - 1]; in QSPLINE()
94 for (segment = 0; segment < segcount; segment++) { in QSPLINE()
[all …]
/external/sonivox/jet_tools/JetCreator/
DJetDebug.py44 for segment in segments:
45 DumpSegment(segment)
47 def DumpSegment(segment): argument
48 print("userID: %d" % segment.userID)
49 print("name: %s" % segment.name)
50 print("seg_num: %d" % segment.seg_num)
51 print("dls_num: %d" % segment.dls_num)
52 print("repeat: %d" % segment.repeat)
53 print("transpose: %d" % segment.transpose)
54 print("mute_flags: %d" % segment.mute_flags)
[all …]
DJetCreatorhlp.dat3 play = Plays the segment with associated event attributes. To trigger the event, click the event in…
4 midi file = Displays the MIDI file associated with the segment. This is pulled in from the segment
5 …antize = Displays the quantization associated with the segment. This is pulled in from the segment
8 …isplays the track mute assignments associated with the segment. This is pulled in from the segment
18 repeat = Displays the repeat count of the segment. This is pulled in from the segment attributes.
21 transpose = Displays the transpose value of the segment. This is pulled in from the segment attribu…
23 segment = Displays the name of the segment. This is pulled in from the segment attributes.
25 segment name = Identifies the name of the segment. This is pulled in from the segment attributes.
28 ending m/b/t = Sets the ending measure, beat, and tick for the segment.
29 dls file = Displays the DLS file associated with the segment. This is pulled in from the segment at…
[all …]
DJetFile.py428 for segment in self.segments:
432 jet_segfile = JetSegmentFile(segment.filename, 'rb')
436 jet_segfile.AddJetEvents(segment.jetevents)
439 …jet_segfile.ExtractEvents(segment.start, segment.end, segment.length, segment.quantize, self.confi…
450 if segment.output is not None:
451 jet_segfile.SaveAs(segment.output)
454 if segment.dump_file is not None:
455 with open(segment.dump_file, 'w') as f:
508 for segment in self.segments:
509 if segment.filename not in midiFiles:
[all …]
DJetPreview.py37 def __init__ (self, play_button, segment): argument
38 self.segment = segment
107 self.jet_file.AddSegment(self.segment.segname,
108 self.segment.filename,
109 self.segment.start,
110 self.segment.end,
111 self.segment.length,
112 … SegmentOutputFile(self.segment.segname, JetDefs.TEMP_JET_CONFIG_FILE),
113 self.segment.quantize,
114 self.segment.jetevents,
[all …]
DJetUtils.py489 for segment in jet_file.GetSegments():
490 if FileExists(segment.filename):
491 if not FileJustName(segment.filename) in zip.namelist():
492 zip.write(segment.filename, FileJustName(segment.filename))
493 if FileExists(segment.output):
494 if not FileJustName(segment.output) in zip.namelist():
495 zip.write(segment.output, FileJustName(segment.output))
504 for segment in jet_file.GetSegments():
505 segment.filename = FileJustName(segment.filename)
506 segment.dlsfile = FileJustName(segment.dlsfile)
[all …]
DJetCreator.py302 for segment in self.jet_file.GetSegments():
303 index = self.segList.InsertStringItem(sys.maxint, StrNoneChk(segment.segname))
304 self.segList.SetStringItem(index, 1, FileJustName(StrNoneChk(segment.filename)))
305 self.segList.SetStringItem(index, 2, FileJustName(StrNoneChk(segment.dlsfile)))
306 self.segList.SetStringItem(index, 3, mbtFct(segment.start, 1))
307 self.segList.SetStringItem(index, 4, mbtFct(segment.end, 1))
308 self.segList.SetStringItem(index, 5, StrNoneChk(segment.quantize))
309 self.segList.SetStringItem(index, 6, StrNoneChk(segment.transpose))
310 self.segList.SetStringItem(index, 7, StrNoneChk(segment.repeat))
311 self.segList.SetStringItem(index, 8, StrNoneChk(segment.mute_flags))
[all …]
DJetAudition.py212 for segment in self.jet_file.GetSegments():
213 info = MidiSegInfo(segment)
214 index = self.segList.InsertStringItem(sys.maxint, StrNoneChk(segment.segname))
263 segment = self.jet_file.GetSegment(self.currentSegmentName)
264 self.QueueOneSegment(segment, segNum)
270 segment = self.jet_file.GetSegment(getColumnText(self.segList, segNum, 0))
271 self.QueueOneSegment(segment, segNum)
273 def QueueOneSegment(self, segment, segNum): argument
277 if FileExists(segment.dlsfile):
278 dls_num = FindDlsNum(self.jet_file.libraries, segment.dlsfile)
[all …]
DJetDialogs.py299 self.segment = None
386 segment = JetSegment(self.GetValue(JetDefs.F_SEGNAME),
401 segment = JetSegment(self.GetValue(JetDefs.F_SEGNAME),
414 return segment
581 self.segment = None
624 if len(self.segment.jetevents) == 0:
625 self.segment.jetevents.append(JetEvent(self.je.ctrls[JetDefs.F_ENAME].GetValue(),
633 self.segment.jetevents[0].event_name = self.je.ctrls[JetDefs.F_ENAME].GetValue()
634 self.segment.jetevents[0].event_type = self.je.ctrls[JetDefs.F_ETYPE].GetValue()
635 self.segment.jetevents[0].event_start = self.je.ctrls[JetDefs.F_ESTART].GetValue()
[all …]
/external/elfutils/libebl/
Deblsegmenttypename.c24 ebl_segment_type_name (ebl, segment, buf, len) in ebl_segment_type_name() argument
26 int segment;
32 res = ebl != NULL ? ebl->segment_type_name (segment, buf, len) : NULL;
49 if (segment >= PT_NULL && segment < PT_NUM)
50 res = ptypes[segment];
51 else if (segment == PT_GNU_EH_FRAME)
53 else if (segment == PT_GNU_STACK)
55 else if (segment == PT_GNU_RELRO)
57 else if (segment == PT_SUNWBSS)
59 else if (segment == PT_SUNWSTACK)
[all …]
Dia64_symbol.c145 ia64_segment_type_name (int segment, char *buf, size_t len) in ia64_segment_type_name() argument
147 switch (segment) in ia64_segment_type_name()
/external/webkit/WebCore/svg/
DSVGPathSegList.cpp62 SVGPathSeg* segment = getItem(i, ec).get(); in getPathSegAtLength() local
64 switch (segment->pathSegType()) { in getPathSegAtLength()
67 SVGPathSegMovetoAbs* moveTo = static_cast<SVGPathSegMovetoAbs*>(segment); in getPathSegAtLength()
73 SVGPathSegLinetoAbs* lineTo = static_cast<SVGPathSegLinetoAbs*>(segment); in getPathSegAtLength()
79 SVGPathSegCurvetoCubicAbs* curveTo = static_cast<SVGPathSegCurvetoCubicAbs*>(segment); in getPathSegAtLength()
110 SVGPathSeg* segment = getItem(i, ec).get(); in toPathData() local
111 switch (segment->pathSegType()) { in toPathData()
114 SVGPathSegMovetoAbs* moveTo = static_cast<SVGPathSegMovetoAbs*>(segment); in toPathData()
120 SVGPathSegLinetoAbs* lineTo = static_cast<SVGPathSegLinetoAbs*>(segment); in toPathData()
126 … SVGPathSegCurvetoCubicAbs* curveTo = static_cast<SVGPathSegCurvetoCubicAbs*>(segment); in toPathData()
[all …]
/external/webkit/WebCore/platform/graphics/win/
DFontCGWin.cpp77 …LPTTPOLYCURVE segment = reinterpret_cast<LPTTPOLYCURVE>(reinterpret_cast<UInt8*>(subpath) + subpat… in createPathForGlyph() local
78 switch (segment->wType) { in createPathForGlyph()
80 for (unsigned i = 0; i < segment->cpfx; i++) in createPathForGlyph()
81 … CGPathAddLineToPoint(path, 0, toCGFloat(segment->apfx[i].x), toCGFloat(segment->apfx[i].y)); in createPathForGlyph()
85 for (unsigned i = 0; i < segment->cpfx; i++) { in createPathForGlyph()
86 CGFloat x = toCGFloat(segment->apfx[i].x); in createPathForGlyph()
87 CGFloat y = toCGFloat(segment->apfx[i].y); in createPathForGlyph()
91 if (i == segment->cpfx - 2) { in createPathForGlyph()
92 cpx = toCGFloat(segment->apfx[i + 1].x); in createPathForGlyph()
93 cpy = toCGFloat(segment->apfx[i + 1].y); in createPathForGlyph()
[all …]
/external/opencore/protocols/sdp/parser/src/
Dsdp_info.cpp333 bool SDPInfo::getMediaInfoInSegment(int segment, Oscl_Vector< mediaInfo *, SDPParserAlloc>& segment… in getMediaInfoInSegment() argument
339 if (pMediaInfo[ii][0]->getSegmentNumber() == (uint)segment) in getMediaInfoInSegment()
360 bool SDPInfo::setSegmentActive(int segment, bool status) in setSegmentActive() argument
362 if (segment <= segmentCount) in setSegmentActive()
364 segmentInfo[segment].segmentActive = status; in setSegmentActive()
372 bool SDPInfo::isSegmentActive(int segment) in isSegmentActive() argument
374 if (segment <= segmentCount) in isSegmentActive()
375 return segmentInfo[segment].segmentActive; in isSegmentActive()
381 bool SDPInfo::setSegmentPayloadOrderPref(int segment, int* payloadArray, int len) in setSegmentPayloadOrderPref() argument
383 segmentInfo[segment].segmentPayloadOrderPref = false; in setSegmentPayloadOrderPref()
[all …]
/external/tesseract/textord/
Doldbasel.cpp532 int segment; /*current segment */ in make_first_baseline() local
572 segment = 0; /*no of segments */ in make_first_baseline()
590 if (segment < SPLINESIZE - 2) { in make_first_baseline()
592 xturns[segment] = x2; in make_first_baseline()
593 yturns[segment] = y2; in make_first_baseline()
594 segment++; /*no of spline segs */ in make_first_baseline()
614 ycount = segment; /*no of segments */ in make_first_baseline()
615 for (blobindex = 0, segment = 1; blobindex < ycount; in make_first_baseline()
620 if (segment == 1 in make_first_baseline()
624 xstarts[segment] = xturns[blobindex]; in make_first_baseline()
[all …]
/external/opencore/protocols/sdp/common/include/
Dsdp_info.h102 …bool getMediaInfoInSegment(int segment, Oscl_Vector< mediaInfo *, SDPParserAlloc>& segmentMediaInf…
108 bool setSegmentActive(int segment, bool status);
110 bool isSegmentActive(int segment);
112 bool setSegmentPayloadOrderPref(int segment, int* payloadArray, int len);
114 bool isPayloadOrderPreferenceSet(int segment);
116 mediaInfo* getPreferedMediaInfo(int segment);
118 int getPreferedPayloadNumber(int segment);
/external/webkit/V8Binding/v8/src/
Dzone.cc79 static void Delete(Segment* segment, int size) { in Delete() argument
81 Malloced::Delete(segment); in Delete()
178 Segment* segment = Segment::New(new_size); in NewExpand() local
179 if (segment == NULL) { in NewExpand()
185 Address result = RoundUp(segment->start(), kAlignment); in NewExpand()
187 limit_ = segment->end(); in NewExpand()
/external/openssl/crypto/bio/
Dbss_rtcp.c223 int status, i, segment, length; in rtcp_write() local
229 for ( i = 0; i < inl; i += segment ) { in rtcp_write()
230 segment = inl - i; in rtcp_write()
231 if ( segment > sizeof(ctx->msg.data) ) segment = sizeof(ctx->msg.data); in rtcp_write()
234 ctx->msg.length = segment; in rtcp_write()
235 memmove ( ctx->msg.data, &in[i], segment ); in rtcp_write()
236 status = put ( b->num, (char *) &ctx->msg, segment + RPC_HDR_SIZE ); in rtcp_write()
/external/icu4c/common/
Dcaniter.cpp338 UnicodeString* CanonicalIterator::getEquivalents(const UnicodeString &segment, int32_t &result_len,… in getEquivalents() argument
350 int32_t segLen = segment.extract(USeg, 256, status); in getEquivalents()
381 if (attempt==segment) { in getEquivalents()
426 Hashtable *CanonicalIterator::getEquivalents2(Hashtable *fillinResult, const UChar *segment, int32_… in getEquivalents2() argument
434 UnicodeString toPut(segment, segLen); in getEquivalents2()
445 UTF_GET_CHAR(segment, 0, i, segLen, cp); in getEquivalents2()
453 if (extract(&remainder, cp, segment, segLen, i, status) == NULL) { in getEquivalents2()
458 UnicodeString prefix(segment, i); in getEquivalents2()
493 Hashtable *CanonicalIterator::extract(Hashtable *fillinResult, UChar32 comp, const UChar *segment, … in extract() argument
536 UTF_NEXT_CHAR(segment, i, segLen, cp); in extract()
[all …]
/external/freetype/src/autofit/
Daflatin.c613 AF_Segment segment = NULL; in af_latin_hints_compute_segments() local
707 segment->last = point; in af_latin_hints_compute_segments()
708 segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 ); in af_latin_hints_compute_segments()
712 if ( ( segment->first->flags | point->flags ) & in af_latin_hints_compute_segments()
714 segment->flags |= AF_EDGE_ROUND; in af_latin_hints_compute_segments()
719 v = segment->first->v; in af_latin_hints_compute_segments()
725 segment->min_coord = (FT_Short)min_pos; in af_latin_hints_compute_segments()
726 segment->max_coord = (FT_Short)max_pos; in af_latin_hints_compute_segments()
727 segment->height = (FT_Short)( segment->max_coord - in af_latin_hints_compute_segments()
728 segment->min_coord ); in af_latin_hints_compute_segments()
[all …]
Daflatin2.c617 AF_Segment segment = NULL; in af_latin2_hints_compute_segments() local
724 error = af_axis_hints_new_segment( axis, memory, &segment ); in af_latin2_hints_compute_segments()
728 segment[0] = seg0; in af_latin2_hints_compute_segments()
729 segment->dir = first->out_dir; in af_latin2_hints_compute_segments()
730 segment->first = first; in af_latin2_hints_compute_segments()
731 segment->last = point; in af_latin2_hints_compute_segments()
732 segment->contour = contour; in af_latin2_hints_compute_segments()
733 segment->pos = (FT_Short)(( min_u + max_u ) >> 1); in af_latin2_hints_compute_segments()
734 segment->min_coord = (FT_Short) min_v; in af_latin2_hints_compute_segments()
735 segment->max_coord = (FT_Short) max_v; in af_latin2_hints_compute_segments()
[all …]
/external/libxml2/
Duri.c1805 xmlChar *ret, *segment = NULL; in xmlURIEscape() local
1837 segment = xmlURIEscapeStr(BAD_CAST uri->scheme, BAD_CAST "+-."); in xmlURIEscape()
1838 NULLCHK(segment) in xmlURIEscape()
1839 ret = xmlStrcat(ret, segment); in xmlURIEscape()
1841 xmlFree(segment); in xmlURIEscape()
1845 segment = in xmlURIEscape()
1847 NULLCHK(segment) in xmlURIEscape()
1849 ret = xmlStrcat(ret, segment); in xmlURIEscape()
1850 xmlFree(segment); in xmlURIEscape()
1854 segment = xmlURIEscapeStr(BAD_CAST uri->user, BAD_CAST ";:&=+$,"); in xmlURIEscape()
[all …]
/external/grub/stage2/
Dbios.c29 int nsec, int segment);
50 int sector, int nsec, int segment) in biosdisk() argument
81 dap.buffer = segment << 16; in biosdisk()
96 return biosdisk (read, drive, geometry, sector, nsec, segment); in biosdisk()
118 nsec, segment); in biosdisk()
/external/icu4c/common/unicode/
Dcaniter.h178 …UnicodeString *getEquivalents(const UnicodeString &segment, int32_t &result_len, UErrorCode &statu…
181 …Hashtable *getEquivalents2(Hashtable *fillinResult, const UChar *segment, int32_t segLen, UErrorCo…
190 …Hashtable *extract(Hashtable *fillinResult, UChar32 comp, const UChar *segment, int32_t segLen, in…
/external/bluetooth/glib/glib/
Dgarray.c108 gchar* segment; in g_array_free() local
115 segment = NULL; in g_array_free()
118 segment = array->data; in g_array_free()
122 return segment; in g_array_free()
388 gpointer* segment; in g_ptr_array_free() local
395 segment = NULL; in g_ptr_array_free()
398 segment = array->pdata; in g_ptr_array_free()
402 return segment; in g_ptr_array_free()

1234