/frameworks/base/sax/java/android/sax/ |
D | Children.java | 34 Child current = children[index]; in getOrCreate() local 35 if (current == null) { in getOrCreate() 37 current = new Child(parent, uri, localName, parent.depth + 1, hash); in getOrCreate() 38 children[index] = current; in getOrCreate() 39 return current; in getOrCreate() 44 if (current.hash == hash in getOrCreate() 45 && current.uri.compareTo(uri) == 0 in getOrCreate() 46 && current.localName.compareTo(localName) == 0) { in getOrCreate() 48 return current; in getOrCreate() 51 previous = current; in getOrCreate() [all …]
|
D | RootElement.java | 101 Element current = null; field in RootElement.Handler 123 + " within text element named " + current + ".", in startElement() 128 if (depth == current.depth + 1) { in startElement() 130 Children children = current.children; in startElement() 155 this.current = e; in start() 180 Element current = this.current; in endElement() local 183 if (depth == current.depth) { in endElement() 184 current.checkRequiredChildren(locator); in endElement() 187 if (current.endElementListener != null) { in endElement() 188 current.endElementListener.end(); in endElement() [all …]
|
/frameworks/compile/mclinker/lib/MC/ |
D | SymbolCategory.cpp | 59 Category* current = m_pFile; in ~SymbolCategory() local 60 while (current != NULL) { in ~SymbolCategory() 61 Category* tmp = current; in ~SymbolCategory() 62 current = current->next; in ~SymbolCategory() 68 Category* current = m_pRegular; in add() local 72 while (current != NULL) { in add() 73 if (current->type == pTarget) { in add() 74 current->end++; in add() 77 if (!current->empty()) { in add() 78 std::swap(m_OutputSymbols[current->begin], in add() [all …]
|
/frameworks/libs/net/common/native/ip_checksum/ |
D | checksum.c | 34 uint32_t ip_checksum_add(uint32_t current, const void* data, int len) { in ip_checksum_add() argument 35 uint32_t checksum = current; in ip_checksum_add() 96 uint32_t current = 0; in ipv6_pseudo_header_checksum() local 98 current = ip_checksum_add(current, &(ip6->ip6_src), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum() 99 current = ip_checksum_add(current, &(ip6->ip6_dst), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum() 100 current = ip_checksum_add(current, &checksum_len, sizeof(checksum_len)); in ipv6_pseudo_header_checksum() 101 current = ip_checksum_add(current, &checksum_next, sizeof(checksum_next)); in ipv6_pseudo_header_checksum() 103 return current; in ipv6_pseudo_header_checksum() 117 uint32_t current = 0; in ipv4_pseudo_header_checksum() local 119 current = ip_checksum_add(current, &(ip->saddr), sizeof(uint32_t)); in ipv4_pseudo_header_checksum() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | TransformUtils.java | 41 public static FrameImage2D makeMipMappedFrame(FrameImage2D current, int[] dimensions) { in makeMipMappedFrame() argument 45 if (current == null) { in makeMipMappedFrame() 48 current = Frame.create(imageType, pow2Dims).asFrameImage2D(); in makeMipMappedFrame() 49 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeMipMappedFrame() 50 current.resize(pow2Dims); in makeMipMappedFrame() 52 return current; in makeMipMappedFrame() 55 public static FrameImage2D makeTempFrame(FrameImage2D current, int[] dimensions) { in makeTempFrame() argument 56 if (current == null) { in makeTempFrame() 59 current = Frame.create(imageType, dimensions).asFrameImage2D(); in makeTempFrame() 60 } else if (!Arrays.equals(dimensions, current.getDimensions())) { in makeTempFrame() [all …]
|
D | Filter.java | 41 public int current = STATE_UNPREPARED; field in Filter.State 44 return current == state; in check() 443 if (mState.current == State.STATE_OPEN) { in performPreparation() 592 if (mState.current == State.STATE_UNPREPARED) { in execute() 594 mState.current = State.STATE_PREPARED; in execute() 596 if (mState.current == State.STATE_PREPARED) { in execute() 599 mState.current = State.STATE_OPEN; in execute() 601 if (mState.current == State.STATE_OPEN) { in execute() 614 if (mState.current == State.STATE_OPEN) { in performClose() 617 mState.current = State.STATE_CLOSED; in performClose() [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | StringUtils.cpp | 24 const char* current = spacedList; in split() local 25 const char* head = current; in split() 27 head = strchr(current, ' '); in split() 28 std::string s(current, head ? head - current : strlen(current)); in split() 32 current = head + 1; in split()
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | UsbPortHidl.java | 415 for (android.hardware.usb.V1_0.PortStatus current : currentPortStatus) { in notifyPortStatusChange() 416 RawPortInfo temp = new RawPortInfo(current.portName, in notifyPortStatusChange() 417 current.supportedModes, CONTAMINANT_PROTECTION_NONE, in notifyPortStatusChange() 418 current.currentMode, in notifyPortStatusChange() 419 current.canChangeMode, current.currentPowerRole, in notifyPortStatusChange() 420 current.canChangePowerRole, in notifyPortStatusChange() 421 current.currentDataRole, current.canChangeDataRole, in notifyPortStatusChange() 427 + current.portName); in notifyPortStatusChange() 449 PortStatus_1_1 current = currentPortStatus.get(i); in notifyPortStatusChange_1_1() local 450 RawPortInfo temp = new RawPortInfo(current.status.portName, in notifyPortStatusChange_1_1() [all …]
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 90 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange() local 93 const size_t frameCount = current->mFrameCount; in onStateChange() 99 if (current->mInputSourceGen != mInputSourceGen) { in onStateChange() 100 mInputSource = current->mInputSource; in onStateChange() 101 mInputSourceGen = current->mInputSourceGen; in onStateChange() 118 if (current->mPipeSinkGen != mPipeSinkGen) { in onStateChange() 119 mPipeSink = current->mPipeSink; in onStateChange() 120 mPipeSinkGen = current->mPipeSinkGen; in onStateChange() 157 dumpState->mSilenced = current->mSilenceCapture; in onStateChange() 162 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork() local [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DeviceDiscoveryAction.java | 333 DeviceInfo current = mDevices.get(mProcessedDeviceCount); in handleReportPhysicalAddress() 334 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress() 335 Slog.w(TAG, "Unmatched address[expected:" + current.mLogicalAddress + ", actual:" + in handleReportPhysicalAddress() 341 current.mPhysicalAddress = HdmiUtils.twoBytesToInt(params); in handleReportPhysicalAddress() 342 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress() 343 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress() 345 current.mDisplayName = ""; in handleReportPhysicalAddress() 349 localDevice().mService.getHdmiCecNetwork().updateCecSwitchInfo(current.mLogicalAddress, in handleReportPhysicalAddress() 350 current.mDeviceType, in handleReportPhysicalAddress() 351 current.mPhysicalAddress); in handleReportPhysicalAddress() [all …]
|
D | ActiveSourceHandler.java | 83 ActiveSource current = tv.getActiveSource(); in process() local 84 if (current.logicalAddress == getSourceAddress()) { in process() 86 current.logicalAddress, current.physicalAddress); in process() 88 tv.updateActiveSource(current, "ActiveSourceHandler"); in process() 91 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, in process()
|
/frameworks/av/media/codec2/docs/ |
D | doxyfilter.sh | 4 global in_comment, current, indent, hold 5 in_comment, current, indent, hold = False, None, '', [] 15 global current, hold 16 if current == '//': 29 global current, indent, hold 30 if t != current or ind not in (indent, indent + ' '): 32 current, indent = t, ind 36 global current, indent 41 current, indent = None, None
|
/frameworks/native/libs/ui/tests/ |
D | Region_test.cpp | 34 for (const Rect* current = r.begin(); current < r.end(); current++) { in verifyNoTJunctions() local 35 for (const Rect* other = current - 1; other >= r.begin(); other--) { in verifyNoTJunctions() 36 if (other->bottom < current->top) break; in verifyNoTJunctions() 37 if (other->bottom != current->top) continue; in verifyNoTJunctions() 38 checkVertTJunction(current, other); in verifyNoTJunctions() 40 for (const Rect* other = current + 1; other < r.end(); other++) { in verifyNoTJunctions() 41 if (other->top > current->bottom) break; in verifyNoTJunctions() 42 if (other->top != current->bottom) continue; in verifyNoTJunctions() 43 checkVertTJunction(current, other); in verifyNoTJunctions()
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 116 TYPE* current = (TYPE*)mBuffer; variable 117 TYPE* end = current + vertexCount; 118 mBounds.set(current->x, current->y, current->x, current->y); 119 for (; current < end; current++) { 120 mBounds.expandToCover(current->x, current->y);
|
D | AnimationContext.cpp | 36 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in destroy() local 37 AnimatorManager& animators = current->mRenderNode->animators(); in destroy() 39 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in destroy() 69 AnimationHandle* current = mCurrentFrameAnimations.mNextHandle; in runRemainingAnimations() local 70 AnimatorManager& animators = current->mRenderNode->animators(); in runRemainingAnimations() 73 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in runRemainingAnimations()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 377 r = sliceInt(&info->current.z, r, mtls->start.z, mtls->end.z); in SelectOuterSlice() 378 r = sliceInt(&info->current.lod, r, mtls->start.lod, mtls->end.lod); in SelectOuterSlice() 379 r = sliceInt(&info->current.face, r, mtls->start.face, mtls->end.face); in SelectOuterSlice() 380 r = sliceInt(&info->current.array[0], r, mtls->start.array[0], mtls->end.array[0]); in SelectOuterSlice() 381 r = sliceInt(&info->current.array[1], r, mtls->start.array[1], mtls->end.array[1]); in SelectOuterSlice() 382 r = sliceInt(&info->current.array[2], r, mtls->start.array[2], mtls->end.array[2]); in SelectOuterSlice() 383 r = sliceInt(&info->current.array[3], r, mtls->start.array[3], mtls->end.array[3]); in SelectOuterSlice() 388 return sliceInt(&info->current.z, sliceNum, mtls->start.z, mtls->end.z) == 0; in SelectZSlice() 404 for (fep.current.y = mtls->start.y; fep.current.y < mtls->end.y; in walk_general_foreach() 405 fep.current.y++) { in walk_general_foreach() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ResourceUtils.cpp | 32 const char* current = start; in ExtractResourceName() local 33 while (current != end) { in ExtractResourceName() 34 if (out_type->size() == 0 && *current == '/') { in ExtractResourceName() 36 out_type->assign(start, current - start); in ExtractResourceName() 37 start = current + 1; in ExtractResourceName() 38 } else if (out_package->size() == 0 && *current == ':') { in ExtractResourceName() 40 out_package->assign(start, current - start); in ExtractResourceName() 41 start = current + 1; in ExtractResourceName() 43 current++; in ExtractResourceName()
|
/frameworks/rs/ |
D | rsList.h | 33 current = const_cast<T*>(first); in List() 55 last = current; in push_back() 56 *current++ = value; in push_back() 58 if ((void*)current >= (void*)¤tBuffer->next) { in push_back() 62 current = ¤tBuffer->data.typed; in push_back() 107 iterator end() const { return iterator(this, currentBuffer, current); } in end() 109 bool empty() const { return current == first; } in empty() 118 T* current;
|
/frameworks/av/tools/ |
D | mainline_hook_project.sh | 29 current=`git branch -vv | grep -P "^\*[^\[]+\[goog/"|sed -e 's/^.*\[//' | sed -e 's/\].*$//'|sed -e… 30 if [ "${current}" = "" ] ; then 31 current=unknown 36 if [ "${current}" != "${MAINLINE_BRANCH}" ] ; then 39 You are uploading repo ${RED}${REPO_PATH}${NORMAL} to branch ${RED}${current}${NORMAL}.
|
/frameworks/base/api/ |
D | Android.bp | 98 name: "current-api-xml", 100 srcs: [":frameworks-base-api-current.txt"], 101 out: ["current.api"], 140 name: "frameworks-base-api-current-compat", 144 ":frameworks-base-api-current.txt", 152 "$(location :frameworks-base-api-current.txt)", 156 name: "frameworks-base-api-system-current-compat", 160 ":frameworks-base-api-current.txt", 161 ":frameworks-base-api-system-current.txt", 167 "--check-compatibility:base $(location :frameworks-base-api-current.txt) " + [all …]
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/pager/ |
D | SnappingFlingBehavior.kt | 140 val current = currentItemInfo in performDecayFling() constant 141 if (current == null) { in performDecayFling() 148 (current.index < index || current.index == index && current.offset >= 0) in performDecayFling() 155 (current.index > index || current.index == index && current.offset <= 0) in performDecayFling() 206 val current = currentItemInfo in performSpringFling() constant 207 if (current == null) { in performSpringFling() 212 if (scrolledPastItem(initialVelocity, current, index, scrollOffset)) { in performSpringFling()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 40 const char *next = value, *current; in GetLevelFromSettingsString() local 42 current = next; in GetLevelFromSettingsString() 43 next = strchr(current, ','); in GetLevelFromSettingsString() 48 while (isspace(*current)) { in GetLevelFromSettingsString() 49 ++current; in GetLevelFromSettingsString() 52 const char *colon = strchr(current, ':'); in GetLevelFromSettingsString() 57 long level = strtol(current, &end, 10); in GetLevelFromSettingsString() 61 if (errno != 0 || end == current || (end != colon && *end != '\0' && end != next)) { in GetLevelFromSettingsString()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 1069 AttributionSource current = new AttributionSource(attributionSourceState); in finishDataDelivery() local 1075 next = current.getNext(); in finishDataDelivery() 1079 if (!(fromDatasource && current.asState() == attributionSourceState) in finishDataDelivery() 1080 && next != null && !current.isTrusted(context)) { in finishDataDelivery() 1088 && current.asState() == attributionSourceState && next != null in finishDataDelivery() 1093 ? current : next; in finishDataDelivery() 1115 sRunningAttributionSources.remove(current.getToken()); in finishDataDelivery() 1129 current = next; in finishDataDelivery() 1204 AttributionSource current = attributionSource; in checkAppOpPermission() local 1210 next = current.getNext(); in checkAppOpPermission() [all …]
|
/frameworks/base/tools/bit/ |
D | aapt.cpp | 177 Element* current = NULL; in inspect_apk() local 207 current = element; in inspect_apk() 210 while (element->depth <= current->depth && current->parent != NULL) { in inspect_apk() 211 current = current->parent; in inspect_apk() 213 element->parent = current; in inspect_apk() 214 current->children.push_back(element); in inspect_apk() 215 current = element; in inspect_apk() 218 if (current != NULL) { in inspect_apk() 229 current->attributes.push_back(attr); in inspect_apk()
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | MediaSampleReaderNDK.cpp | 74 cursor.previous = cursor.current; in advanceTrack_l() 75 cursor.current = cursor.next; in advanceTrack_l() 81 if (cursor.current.isSet && cursor.current.index == mExtractorSampleIndex) { in advanceTrack_l() 96 if (mTrackCursors[mExtractorTrackIndex].current.isSet && in advanceExtractor_l() 97 mTrackCursors[mExtractorTrackIndex].current.index == mExtractorSampleIndex) { in advanceExtractor_l() 117 if (!cursor.current.isSet) { in advanceExtractor_l() 118 cursor.current.set(mExtractorSampleIndex, AMediaExtractor_getSampleTime(mExtractor)); in advanceExtractor_l() 119 } else if (!cursor.next.isSet && mExtractorSampleIndex > cursor.current.index) { in advanceExtractor_l() 177 return moveToSample_l(mTrackCursors[trackIndex].current, trackIndex); in moveToTrack_l() 204 mTrackCursors[mExtractorTrackIndex].current.set(mExtractorSampleIndex, in primeExtractorForTrack_l() [all …]
|