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

123456

/external/testng/src/test/java/test/ant/
H A DTestCommandLineArgs.java23 String[] segments = path.split("[/\\\\]", -1);
25 assertEquals(4, segments.length);
26 assertEquals("wee", segments[1]);
34 String[] segments = path.split("[/\\\\]", -1);
36 assertEquals(5, segments.length);
37 assertEquals("com", segments[2]); // because c: is actually \\ which will be split twice
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowUriMatcher.java41 String[] segments = path.split("/");
42 addNodes(authNode, Arrays.asList(segments), code);
48 List<String> segments = uri.getPathSegments();
54 return matchSegments(rootNode.map.get(auth), segments);
57 private int matchSegments(MatchNode node, List<String> segments) { argument
58 if (segments.isEmpty()) return node.code;
59 String segment = segments.get(0);
60 segments = segments.subList(1, segments
82 addNodes(MatchNode baseNode, List<String> segments, int code) argument
[all...]
/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/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/
H A DXMPPath.java46 /** stores the segments of an XMPPath */
47 private List segments = new ArrayList(5); field in class:XMPPath
57 segments.add(segment);
67 return (XMPPathSegment) segments.get(index);
76 return segments.size();
/external/okhttp/okio/okio/src/main/java/okio/
H A DSegmentedByteString.java26 * An immutable byte string composed of segments of byte arrays. This class exists to implement
27 * efficient snapshots of buffers. It is implemented as an array of segments, plus a directory in
28 * two halves that describes how the segments compose this byte string.
31 * element at {@code directory[0]} contains the number of bytes held in {@code segments[0]}; the
32 * element at {@code directory[1]} contains the number of bytes held in {@code segments[0] +
33 * segments[1]}, and so on. The element at {@code directory[segments.length - 1]} contains the total
36 * <p>The second half of the directory is the offset in {@code segments} of the first content byte.
42 * segments} in order. Since the arrays contribute 5, 2, and 6 elements respectively, the directory
51 transient final byte[][] segments; field in class:SegmentedByteString
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/testing/
H A Drun_chromeos_tests.py46 segments = s.split('\n')
47 segments[0] = ''.join(self._buffer + [segments[0]])
51 for line in segments[:-1]:
55 self._buffer = [segments[-1]]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpath_utils.h54 static INLINE VGint num_elements_for_segments(const VGubyte *segments, argument
61 VGubyte segment = segments[i];
/external/elfutils/src/
H A Dfindtextrel.c42 struct segments struct
93 static void check_rel (size_t nsegments, struct segments segments[nsegments],
319 /* Get the address ranges for the loaded segments. */
322 struct segments *segments local
323 = (struct segments *) malloc (nsegments_max * sizeof (segments[0]));
324 if (segments == NULL)
351 segments
506 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/kernel-headers/original/uapi/linux/
H A Dseg6.h29 struct in6_addr segments[0]; member in struct:ipv6_sr_hdr
/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/skia/src/gpu/ops/
H A DGrAAConvexPathRenderer.cpp66 static void center_of_mass(const SegmentArray& segments, SkPoint* c) { argument
69 int count = segments.count();
75 p0 = segments[0].endPt();
81 pj = segments[1].endPt() - p0;
84 pj = segments[i + 1].endPt() - p0;
99 const SkPoint& pt = segments[i].endPt();
116 static void compute_vectors(SegmentArray* segments, argument
121 center_of_mass(*segments, fanPt);
122 int count = segments->count();
136 Segment& sega = (*segments)[
229 add_line_to_segment(const SkPoint& pt, SegmentArray* segments) argument
236 add_quad_segment(const SkPoint pts[3], SegmentArray* segments) argument
250 add_cubic_segments(const SkPoint pts[4], SkPathPriv::FirstDirection dir, SegmentArray* segments) argument
261 get_segments(const SkPath& path, const SkMatrix& m, SegmentArray* segments, SkPoint* fanPt, int* vCount, int* iCount) argument
350 create_vertices(const SegmentArray& segments, const SkPoint& fanPt, DrawArray* draws, QuadVertex* verts, uint16_t* idxs) argument
870 SkSTArray<kPreallocSegmentCnt, Segment, true> segments; variable
[all...]
/external/guava/guava-tests/benchmark/com/google/common/cache/
H A DSegmentBenchmark.java46 checkState(cache.segments.length == 1);
47 segment = cache.segments[0];
H A DLoadingCacheSingleThreadBenchmark.java36 @Param("4") int segments; field in class:LoadingCacheSingleThreadBenchmark
57 .concurrencyLevel(segments)
/external/llvm/lib/CodeGen/
H A DLiveRangeUtils.h22 /// corresponding segments of a master live range \p LR to a list of newly
29 // Move segments to new intervals.
37 SplitLRs[eq-1]->segments.push_back(*I);
41 LR.segments.erase(J, E);
H A DLiveInterval.cpp66 if (I == segments().end()) {
88 segments().insert(I, Segment(Def, Def.getDeadSlot(), VNI));
93 if (segments().empty())
97 if (I == segments().begin())
109 /// merge and eliminate all segments that this will overlap
112 assert(I != segments().end() && "Not a valid segment!");
118 for (; MergeTo != segments().end() && NewEnd >= MergeTo->end; ++MergeTo)
125 // have the same value number, merge the two segments into one segment.
126 if (MergeTo != segments().end() && MergeTo->start <= I->end &&
132 // Erase any dead segments
224 CollectionT &segments() { return impl().segmentsColl(); } function in class:__anon12561::CalcLiveRangeUtilBase
[all...]
/external/protobuf/src/google/protobuf/util/
H A Djson_util_test.cc185 explicit SegmentedZeroCopyOutputStream(list<Segment> segments) argument
186 : segments_(segments), last_segment_(static_cast<char*>(NULL), 0), byte_count_(0) {}
217 // segments and checks that the implementation of ZeroCopyStreamByteSink
228 // Split the buffer into small segments according to the split_pattern.
229 list<Segment> segments; local
233 segments.push_back(
238 segments.push_back(
247 SegmentedZeroCopyOutputStream output_stream(segments);
267 SegmentedZeroCopyOutputStream output_stream(segments);
289 SegmentedZeroCopyOutputStream output_stream(segments);
[all...]
/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_Int num_segments ) argument
[all...]
H A Dafhints.c48 if ( !axis->segments )
50 axis->segments = axis->embedded.segments;
71 if ( axis->segments == axis->embedded.segments )
73 if ( FT_NEW_ARRAY( axis->segments, new_max ) )
75 ft_memcpy( axis->segments, axis->embedded.segments,
76 sizeof ( axis->embedded.segments ) );
80 if ( FT_RENEW_ARRAY( axis->segments, old_ma
248 AF_Segment segments = axis->segments; local
412 AF_Segment segments = axis->segments; local
1172 AF_Segment segments = axis->segments; local
[all...]
/external/icu/icu4c/source/i18n/
H A Drbt_rule.cpp50 * segments, or null if there are none. The array itself is adopted,
68 segments(0),
103 // We don't validate the segments array. The caller must
104 // guarantee that the segments are well-formed (that is, that
107 this->segments = segs;
175 segments = NULL;
178 segments = (UnicodeFunctor **)uprv_malloc(other.segmentsCount * sizeof(UnicodeFunctor *));
179 uprv_memcpy(segments, other.segments, (size_t)other.segmentsCount*sizeof(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/skia/src/gpu/
H A DGrDistanceFieldGenFromVector.cpp362 PathSegmentArray* segments) {
363 segments->push_back();
364 segments->back().fType = PathSegment::kLine;
365 segments->back().fPts[0] = pts[0];
366 segments->back().fPts[1] = pts[1];
368 segments->back().init();
372 PathSegmentArray* segments) {
380 add_line_to_segment(line_pts, segments);
383 segments->push_back();
384 segments
361 add_line_to_segment(const SkPoint pts[2], PathSegmentArray* segments) argument
371 add_quad_segment(const SkPoint pts[3], PathSegmentArray* segments) argument
393 add_cubic_segments(const SkPoint pts[4], PathSegmentArray* segments) argument
644 calculate_distance_field_data(PathSegmentArray* segments, DFData* dataPtr, int width, int height) argument
[all...]
/external/webp/src/enc/
H A Dconfig_enc.c40 config->segments = 4;
87 config->segments = 2;
102 if (config->segments < 1 || config->segments > 4) return 0;
/external/guava/guava-tests/benchmark/com/google/common/collect/
H A DMapMakerSingleThreadBenchmark.java39 @Param("4") int segments; field in class:MapMakerSingleThreadBenchmark
60 .concurrencyLevel(segments)
/external/llvm/include/llvm/CodeGen/
H A DLiveInterval.h196 Segments segments; // the liveness segments
206 iterator begin() { return segments.begin(); }
207 iterator end() { return segments.end(); }
210 const_iterator begin() const { return segments.begin(); }
211 const_iterator end() const { return segments.end(); }
226 /// Constructs a new LiveRange object by copying segments and valnos from
236 // Now we can copy segments and remap their valnos.
237 for (const Segment &S : Other.segments) {
238 segments
[all...]

Completed in 1067 milliseconds

123456