/external/icu4c/i18n/ |
rbt_rule.cpp | 47 * 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[0])) [all...] |
rbt_rule.h | 43 * <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,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
ProjectClassLoader.java | 126 // get the class name segments 127 String[] segments = name.split("\\."); //$NON-NLS-1$ local 130 File classFile = getFile(outFolder, segments, 0); 164 * @param segments the segments containing the path of the file 165 * @param index the offset at which to start looking into segments. 168 private File getFile(File parent, String[] segments, int index) 171 if (index == segments.length) { 175 String toMatch = segments[index]; 178 // we're at the last segments. we look for a matching <file>.clas [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentHashMap.java | 75 * The basic strategy is to subdivide the table among Segments, 77 * reduce footprint, all but one segments are constructed only 79 * in the presence of lazy construction, accesses to segments as 133 * The maximum number of segments to allow; used to bound 149 * Mask value for indexing into segments. The upper bits of a 155 * Shift value for indexing within segments. 160 * The segments, each of which is a specialized hash table. 162 final Segment<K,V>[] segments; field in class:ConcurrentHashMap 248 * Segments are specialized versions of hash tables. This 254 * Segments maintain a table of entry lists that are alway 805 final Segment<K,V>[] segments = this.segments; local 839 final Segment<K,V>[] segments = this.segments; local 941 final Segment<K,V>[] segments = this.segments; local 1117 final Segment<K,V>[] segments = this.segments; local 1404 final Segment<K,V>[] segments = this.segments; local 1437 final Segment<K,V>[] segments = this.segments; local [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
SummaryBar.js | 137 _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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
WidgetPullParser.java | 47 String[] segments = mDescriptor.getFullClassName().split(AdtConstants.RE_DOT); local 48 mAttributes[0][1] = segments[segments.length-1];
|
/external/sonivox/jet_tools/JetCreator/ |
JetFile.py | 93 """ 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/e2fsprogs/intl/ |
gmo.h | 95 /* 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,
|
/sdk/sdk_common/src/com/android/ide/common/resources/ |
ResourceResolver.java | 210 String[] segments = reference.split("\\/"); local 215 if (segments.length == 2) { 218 if (ResourceType.ATTR.getName().equals(segments[0])) { 219 referenceName = segments[1]; 226 referenceName = segments[0]; 265 String[] segments = reference.split("\\/"); local 269 if (segments[1].startsWith(PREFIX_ANDROID)) { 271 segments[1] = segments[1].substring(PREFIX_ANDROID.length()); 274 ResourceType type = ResourceType.getEnum(segments[0]) [all...] |
/external/kernel-headers/original/linux/ |
kexec.h | 96 struct kexec_segment __user *segments, 101 struct compat_kexec_segment __user *segments,
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
LogFilter.java | 127 String[] segments = string.split(":"); //$NON-NLS-1$ local 131 mName = segments[index++]; 134 mMode = Integer.parseInt(segments[index++]); 137 mPid = Integer.parseInt(segments[index++]); 141 mLogLevel = Integer.parseInt(segments[index++]); 145 mTag = segments[index++]; 495 void setTempKeywordFiltering(String[] segments) { 496 mTempKeywordFilters = segments;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
PreCompilerDeltaVisitor.java | 184 String[] segments = path.segments(); local 187 // segments.length = 1 188 if (segments.length == 1) { 192 } else if (segments.length == 2) { 198 if (SdkConstants.FD_RESOURCES.equalsIgnoreCase(segments[1])) { 207 } else if (SdkConstants.FN_ANDROID_MANIFEST_XML.equalsIgnoreCase(segments[1])) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizard.java | 194 List<Object> segments = new ArrayList<Object>(); local 195 segments.add(file); 198 segments.add(folder); 202 segments.add(folder); 206 segments.add(javaProject); 208 Collections.reverse(segments); 209 TreePath path = new TreePath(segments.toArray());
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderTest.java | 91 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[3].table.length()) [all...] |
CacheTesting.java | 132 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[0] [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
FileListingService.java | 259 * Returns the path as a list of segments. 382 * @param list The list of segments to fill. 403 String[] segments = getPathSegments(); local 404 if (type == TYPE_FILE && segments.length == 3 && isAppFileName()) { 405 isAppPackage = DIRECTORY_APP.equals(segments[1]) && 406 (DIRECTORY_SYSTEM.equals(segments[0]) || DIRECTORY_DATA.equals(segments[0])); 499 String[] segments = name.split("\\s->\\s"); //$NON-NLS-1$ local 501 // we should have 2 segments 502 if (segments.length == 2) [all...] |
/tools/build/builder/src/main/java/com/android/builder/packaging/ |
Packager.java | 92 // split the path into segments. 93 String[] segments = archivePath.split("/"); local 96 if (segments.length == 0) { 104 for (int i = 0 ; i < segments.length - 1; i++) { 105 if (JavaResourceProcessor.checkFolderForPackaging(segments[i]) == false) { 111 String fileName = segments[segments.length-1];
|
/external/webkit/Source/WebKit2/Platform/ |
Region.cpp | 93 // 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.appendRange(s1, segments1End) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 680 // color. Segments should never span multiple days. 689 * Converts a list of events to a list of segments to draw. Assumes list is 692 * The algorithm goes over all the events and creates a set of segments 693 * ordered by start time. This list of segments is then converted into a 705 * <li>All segments drawn will maintain at least minPixels height, except 743 LinkedList<DNASegment> segments = new LinkedList<DNASegment>(); local [all...] |
/external/freetype/src/autofit/ |
afhints.c | 52 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...] |
aflatin2.c | 62 /* scan the array of segments in each direction */ 118 seg = axhints->segments; 125 /* we only consider stem segments there! */ 848 /* now slightly increase the height of segments when this makes */ 851 AF_Segment segments = axis->segments; local 852 AF_Segment segments_end = segments + axis->num_segments; 855 for ( segment = segments; segment < segments_end; segment++ ) 895 /* place all segments with a negative direction to the start 899 AF_Segment segments = axis->segments local 939 AF_Segment segments = axis->segments; local 1043 AF_Segment segments = axis->segments; local [all...] |
/external/skia/src/gpu/gl/ |
GrGLProgram.h | 359 ShaderCodeSegments* segments, 363 ShaderCodeSegments* segments) const; 370 ShaderCodeSegments* segments) const; 373 const ShaderCodeSegments& segments,
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/io/ |
FileOp.java | 66 * Appends the given {@code segments} to the {@code base} file. 69 * @param segments Individual folder or filename segments to append to the base file. 70 * @return A new file representing the concatenation of the base path with all the segments. 72 public static File append(File base, String...segments) { 73 for (String segment : segments) { 80 * Appends the given {@code segments} to the {@code base} file. 83 * @param segments Individual folder or filename segments to append to the base path. 84 * @return A new file representing the concatenation of the base path with all the segments [all...] |
/frameworks/base/core/java/android/net/ |
Uri.java | 306 * Gets the decoded path segments. 308 * @return decoded path segments, each without a leading or trailing '/' 971 final String[] segments; field in class:Uri.PathSegments 974 PathSegments(String[] segments, int size) { 975 this.segments = segments; 984 return segments[index]; 997 String[] segments; field in class:Uri.PathSegmentsBuilder 1001 if (segments == null) { 1002 segments = new String[4] 1035 List<String> segments = getPathSegments(); local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MapMakerInternalMapTest.java | 96 assertEquals(4, map.segments.length); 98 assertEquals(16 / map.segments.length, map.segments[0].table.length()); 160 assertEquals(segmentCount, map.segments.length); 201 for (int i = 0; i < map.segments.length; i++) { 202 assertEquals(segmentSize, map.segments[i].table.length()); 237 for (int i = 0; i < map.segments.length; i++) { 238 totalCapacity += map.segments[i].maxSegmentSize; 383 Segment<Object, Object> segment = map.segments[0]; 519 Segment<Object, Object> segment = map.segments[0] [all...] |