/cts/tools/utils/ |
rerun.py | 24 for child in parent.childNodes: 25 if (child.nodeType == Node.ELEMENT_NODE) and (child.tagName == tagName): 27 # " " + child.getAttribute("name") 28 children.append(child) 36 for child in childSuites: 37 for failure in parseSuite(child, parentName + child.getAttribute("name")): 40 for child in childTestCases: 41 className = parentName + child.getAttribute("name" [all...] |
/external/elfutils/libelf/ |
elf_readall.c | 48 Elf *child = elf->state.ar.children; local 50 while (child != NULL) 52 if (child->map_address == NULL) 54 child->map_address = elf->map_address; 55 child->start_offset -= offset; 56 if (child->kind == ELF_K_AR) 57 child->state.ar.offset -= offset; 59 set_address (child, offset); 62 child = child->next [all...] |
common.h | 104 Elf *child = elf->state.ar.children; local 106 while (child != NULL) 108 if (child->ref_count != 0) 109 libelf_acquire_all (child); 110 child = child->next; 122 Elf *child = elf->state.ar.children; local 124 while (child != NULL) 126 if (child->ref_count != 0) 127 libelf_release_all (child); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
BackgroundFallback.java | 57 final View child = root.getChildAt(i); local 58 final Drawable childBg = child.getBackground(); 59 if (child == content) { 62 if (childBg == null && child instanceof ViewGroup && 63 ((ViewGroup) child).getChildCount() == 0) { 66 } else if (child.getVisibility() != View.VISIBLE || childBg == null || 73 left = Math.min(left, child.getLeft()); 74 top = Math.min(top, child.getTop()); 75 right = Math.max(right, child.getRight()); 76 bottom = Math.max(bottom, child.getBottom()) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewGroup.java | 32 for (View child : children) { 33 View found = child.findViewById(id); 48 for (View child : children) { 49 View found = child.findViewWithTag(obj); 59 public void addView(View child) { 60 ((ViewGroup) realView).addView(child, -1); 64 public void addView(View child, int index) { 66 children.add(child); 68 children.add(index, child); 70 shadowOf(child).parent = this 202 View child = getChildAt(i); local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemExtensionCall.java | 122 for (ElemTemplateElement child = imported.getFirstChildElem(); 123 child != null; child = child.getNextSiblingElem()) 125 if (Constants.ELEMNAME_EXTENSIONDECL == child.getXSLToken()) 127 decl = (ElemExtensionDecl) child; 130 String declNamespace = child.getNamespaceForPrefix(prefix); 154 for (ElemTemplateElement child = m_firstChild; child != null; 155 child = child.m_nextSibling [all...] |
/external/elfutils/libdw/ |
libdw_visit_scopes.c | 76 struct Dwarf_Die_Chain child; member in struct:walk_children_state 103 state.child.parent = root; 105 if ((ret = INTUSE(dwarf_child) (&root->die, &state.child.die)) != 0) 120 children in place before moving to the next real child. */ 121 while (INTUSE(dwarf_tag) (&state->child.die) == DW_TAG_imported_unit) 123 Dwarf_Die orig_child_die = state->child.die; 125 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&state->child.die, 128 if (INTUSE(dwarf_formref_die) (attr, &state->child.die) != NULL 129 && INTUSE(dwarf_child) (&state->child.die, &state->child.die) == 0 [all...] |
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardStreamLinearLayout.java | 133 * Handle end-transition animation event of each child and launch a following animation. 159 * when a new child is added, scroll to bottom and hide action area.. 164 public void onChildViewAdded(final View parent, final View child) { 166 Log.d(TAG, "child is added: " + child); 174 View view = child.findViewById(R.id.card_actionarea); 181 public void onChildViewRemoved(View parent, View child) { 182 Log.d(TAG, "child is removed: " + child); 183 mFixedViewList.remove(child); 334 View child = getChildAt(index); local 468 final View child = getChildAt(index); local 533 View child = getChildAt(index); local [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
CardStreamLinearLayout.java | 133 * Handle end-transition animation event of each child and launch a following animation. 159 * when a new child is added, scroll to bottom and hide action area.. 164 public void onChildViewAdded(final View parent, final View child) { 166 Log.d(TAG, "child is added: " + child); 174 View view = child.findViewById(R.id.card_actionarea); 181 public void onChildViewRemoved(View parent, View child) { 182 Log.d(TAG, "child is removed: " + child); 183 mFixedViewList.remove(child); 334 View child = getChildAt(index); local 468 final View child = getChildAt(index); local 533 View child = getChildAt(index); local [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
ViewGroupUtils.java | 27 void offsetDescendantRect(ViewGroup parent, View child, Rect rect); 35 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { 36 parent.offsetDescendantRectToMyCoords(child, rect); 37 // View#offsetDescendantRectToMyCoords includes scroll offsets of the last child. 40 rect.offset(child.getScrollX(), child.getScrollY()); 49 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { 50 ViewGroupUtilsHoneycomb.offsetDescendantRect(parent, child, rect); 80 * This does not need to be a direct child.
|
SwipeDismissBehavior.java | 36 * An interaction behavior plugin for child views of {@link CoordinatorLayout} to provide support 174 public boolean onInterceptTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) { 179 mInterceptingEvents = parent.isPointInChildBounds(child, 198 public boolean onTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) { 223 public boolean tryCaptureView(View child, int pointerId) { 225 return mActivePointerId == INVALID_POINTER_ID && canSwipeDismissView(child); 249 public void onViewReleased(View child, float xvel, float yvel) { 253 final int childWidth = child.getWidth(); 257 if (shouldDismiss(child, xvel)) { 258 targetLeft = child.getLeft() < mOriginalCapturedViewLef [all...] |
/toolchain/binutils/binutils-2.25/gprof/ |
mips.c | 47 Sym *child; local 54 indirect_child.name = _("<indirect child>"); 76 child = sym_lookup (&symtab, dest_pc); 77 if (child) 81 (unsigned long) dest_pc, child->name, 82 (unsigned long) child->addr)); 83 if (child->addr == dest_pc) 87 arc_add (parent, child, (unsigned long) 0);
|
/external/skia/src/views/ |
SkView.cpp | 125 SkView* child; local 129 while ((child = iter.next()) != nullptr) 130 child->draw(childCanvas); 210 SkView* child, *focus; local 211 while ((child = iter.next()) != nullptr) { 212 if ((focus = child->acceptFocus(dir)) != nullptr) { 218 SkView* child, *focus; local 219 while ((child = iter.next()) != nullptr) { 220 if ((focus = child->acceptFocus(dir)) != nullptr) { 241 SkView* child, *parent local 351 SkView* child; local 676 SkView* child; local 785 SkView* child; local [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardDecorator.java | 44 final View child = parent.getChildAt(i); local 45 final ViewHolder holder = parent.getChildViewHolder(child); 55 int top = getChildTop(child); 56 mDivider.setBounds(child.getLeft(), top, child.getRight(), 62 private int getChildTop(View child) { 63 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child 65 return child.getTop() + params.topMargin + Math.round(ViewCompat.getTranslationY(child));
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
MaxWidthLayout.java | 64 * Re-measure the child width if it is greater than max width. 75 final View child = getChildAt(i); local 76 if (child.getVisibility() != GONE) { 77 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 79 matchParentChildren.add(child); 84 final View child = matchParentChildren.get(i); local 85 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); 86 if (child.getMeasuredWidth() > mMaxChildrenWidth) { 90 child.getMeasuredHeight(), MeasureSpec.EXACTLY); 91 child.measure(childWidthMeasureSpec, childHeightMeasureSpec) [all...] |
/external/ltrace/testsuite/ltrace.minor/ |
trace-clone.c | 2 Objectives : Verify that ltrace can trace to child process after 13 int child () function 29 pid = __clone2((myfunc)&child, stack, STACK_SIZE, CLONE_FS, NULL); 31 pid = clone((myfunc)&child, stack + STACK_SIZE, CLONE_FS, NULL);
|
/external/valgrind/helgrind/tests/ |
tc05_simple_race.c | 6 /* Simple test program, has a race. Parent and child both modify y 26 pthread_t child; local 27 if (pthread_create(&child, NULL, child_fn, NULL)) { 38 if (pthread_join(child, NULL)) {
|
tc06_two_races.c | 24 pthread_t child; local 26 if (pthread_create(&child, NULL, child_fn, NULL)) { 37 if (pthread_join(child, NULL)) {
|
tc09_bad_unlock.c | 17 pthread_t child; local 33 // start child and get it to unlock this lock 35 pthread_create( &child, NULL, child_fn, (void*)&mx2 ); 36 /* child runs and attempts to unlock our lock. Error 38 pthread_join(child, NULL );
|
tc16_byterace.c | 13 bytes[2*i + 0] ++; /* child accesses: 0 2 4 6 8 */ 21 pthread_t child; local 22 if (pthread_create(&child, NULL, child_fn, NULL)) { 27 /* Unprotected relative to child, but harmless, since different 32 /* Unprotected relative to child, but harmful; same bytes */ 36 if (pthread_join(child, NULL)) {
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUCommand.java | 35 public OSUCommand(XMLNode child) throws OMAException { 36 mOSUCommand = sCommands.get(child.getStrippedTag()); 44 child = child.getSoleChild(); 45 mExecCommand = sExecs.get(child.getStrippedTag()); 47 throw new OMAException("Unrecognized exec command: " + child.getStrippedTag()); 56 mCommandData = new BrowserURI(child); 59 mCommandData = new GetCertData(child); 62 mCommandData = new MOURN(child); 70 mCommandData = new ClientCertInfo(child); [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
ItemInflater.java | 31 void addChild(ItemHierarchy child); 57 protected void onAddChildItem(ItemHierarchy parent, ItemHierarchy child) { 59 ((ItemParent) parent).addChild(child); 61 throw new IllegalArgumentException("Cannot add child item to " + parent);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HideFromAccessibilityHelper.java | 50 View child = vg.getChildAt(i); local 52 if (includeView(child)) { 53 setImportantForAccessibilityToNoHelper(child); 82 View child = vg.getChildAt(i); local 83 if (includeView(child)) { 84 restoreImportantForAccessibilityHelper(child); 90 public void onChildViewAdded(View parent, View child) { 91 if (mHide && includeView(child)) { 92 setImportantForAccessibilityToNoHelper(child); 96 public void onChildViewRemoved(View parent, View child) { [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
RightAlignedHorizontalScrollView.java | 38 // Get the width of the child, i.e. the LinearLayout, and scroll to 40 View child = getChildAt(0); local 41 if (child != null) scrollTo(child.getWidth(), 0);
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/ |
Node.java | 45 /** inserts the given child object of the given type at the 48 public void addChild(int index, int type, Object child) { 50 if (child == null) 59 if (!(child instanceof Element)) 62 ((Element) child).setParent(this); 64 else if (!(child instanceof String)) 67 children.insertElementAt(child, index); 71 /** convenience method for addChild (getChildCount (), child) */ 73 public void addChild(int type, Object child) { 74 addChild(getChildCount(), type, child); local 111 Object child = getChild(index); local 205 Element child = getElement(i); local 237 Element child = local 325 Object child = children.elementAt(i); local [all...] |