Searched refs:segment (Results 1 - 14 of 14) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
H A DELFSegmentFactory.cpp25 /// produce - produce an empty ELF segment information.
26 /// this function will create an ELF segment
30 ELFSegment* segment = allocate(); local
31 new (segment) ELFSegment(pType, pFlag);
32 return segment;
38 iterator segment, segEnd = end(); local
39 for (segment = begin(); segment != segEnd; ++segment) {
40 if ((*segment)
54 const_iterator segment, segEnd = end(); local
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DContextCompat.java291 for (String segment : segments) {
293 cur = new File(segment);
294 } else if (segment != null) {
295 cur = new File(cur, segment);
H A DFileProvider.java165 * A URI path segment. To enforce security, this value hides the name of the subdirectory
174 * segment, the <code>path</code> value is an actual subdirectory name. Notice that the
754 for (String segment : segments) {
755 if (segment != null) {
756 cur = new File(cur, segment);
/frameworks/base/libs/hwui/
H A DPatch.cpp130 const float segment = stepY - previousStepY; local
133 y2 = y1 + floorf(segment * stretchY + 0.5f);
135 y2 = y1 + segment * rescaleY;
138 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1));
182 const float segment = stepX - previousStepX; local
185 x2 = x1 + floorf(segment * stretchX + 0.5f);
187 x2 = x1 + segment * rescaleX;
190 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java268 * @param pdu The WAP-WDP PDU segment
283 int segment = (0xFF & pdu[index++]); // >= 0
285 if (segment >= totalSegments) {
286 loge("WDP bad segment #" + segment + " expecting 0-" + (totalSegments - 1));
290 // Only the first segment contains sourcePort and destination Port
293 if (segment == 0) {
294 //process WDP segment
311 + ", ID = " + referenceNumber + ", segment# = " + segment
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp267 * Following it, "segment" sections begin with other markers, followed by a
268 * 2-byte length (in network byte order), then the segment data.
271 * the next segment. This is necessary because the data inside segments are
278 * image data to be interpreted as a segment. The only exception to this is at
290 typedef struct segment { struct in namespace:android::camera2
345 // Read JFIF segment markers, skip over segment data
348 segment_t *segment = (segment_t*)(jpegBuffer + size); local
349 uint8_t type = checkJpegMarker(segment->marker);
358 size_t length = ntohs(segment
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java137 String segment = url.getPathSegments().get(1);
138 rowId = Long.parseLong(segment);
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp393 // ----- segment symbols ----- //
573 // ----- segment symbols ----- //
674 // the value of a TLS symbol is the offset to the TLS segment
1702 // 1. create text segment
1707 // 2. create data segment if w/o omagic set
1713 // 3. create bss segment if w/ -Tbss and there is a data segment
1727 // create new PT_LOAD segment
1818 // update segment info
1822 ELFSegment& segment local
[all...]
/frameworks/base/services/java/com/android/server/content/
H A DContentService.java865 String segment = getUriSegment(uri, index);
866 if (segment == null) {
872 if (node.mName.equals(segment)) {
880 ObserverNode node = new ObserverNode(segment);
948 String segment = null;
955 segment = getUriSegment(uri, index);
964 if (segment == null || node.mName.equals(segment)) {
968 if (segment != null) {
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp286 int32_t segment = exponent + 1; local
289 int32_t step = 4 << segment;
/frameworks/base/core/java/android/os/
H A DEnvironment.java808 for (String segment : segments) {
810 cur = new File(segment);
812 cur = new File(cur, segment);
/frameworks/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java342 for (String segment : segments) {
344 cur = new File(segment);
346 cur = new File(cur, segment);
/frameworks/base/media/java/android/media/
H A DJetPlayer.java39 * segment can be dynamically affected by two mechanisms:
41 * <li>tracks in a segment can be muted or unmuted at any moment, individually or through
43 * <li>parts of tracks in a segment can be played at predefined points in the segment, in order
44 * to maintain synchronization with the other tracks in the segment. This is achieved through
87 private static final int JET_EVENT_SEG_MASK = 0xff000000; // mask for segment ID
91 private static final int JET_EVENT_SEG_SHIFT = 24; // shift to get segment ID to bit 0
243 * Starts playing the JET segment queue.
252 * Pauses the playback of the JET segment queue.
261 * Queues the specified segment i
506 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
[all...]
/frameworks/base/core/java/android/net/
H A DUri.java313 * Gets the decoded last segment in the path.
315 * @return the decoded last segment or null if the path is empty
964 * Wrapper for path segment array.
1000 void add(String segment) { argument
1009 segments[size++] = segment;
1415 * Encodes the given segment and appends it to the path.
1422 * Appends the given segment to the path.
2142 // This check keeps us from adding a segment if the path starts
2143 // '/' and an empty segment for "//".
2152 // Add in the final path segment
[all...]

Completed in 510 milliseconds