/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
CharBufferTest.java | 390 * Class under test for char get() 395 method = "get", 402 assertEquals(buf.get(), buf.get(i)); 405 buf.get(); 413 * Class under test for java.nio.CharBuffer get(char[]) 418 method = "get", 426 CharBuffer ret = buf.get(array); 427 assertEquals(array[0], buf.get(i)); 431 buf.get(new char[0]) [all...] |
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
CopyOnWriteArrayListTest.java | 54 assertEquals(ints[i], a.get(i)); 66 assertEquals(ints[i], a.get(i)); 152 assertEquals(m1, full.get(0)); 153 assertEquals(zero, full.get(1)); 157 assertEquals(m2, full.get(2)); 158 assertEquals(two, full.get(4)); 194 * get returns the value at the given index 198 assertEquals(0, ((Integer)full.get(0)).intValue()); 340 assertEquals(4, ((Integer)full.get(2)).intValue()); 390 assertEquals(new Integer(k), b.get(k-j)) [all...] |
/external/opencore/oscl/oscl/osclbase/src/ |
oscl_exclusive_ptr.h | 108 if (_Ptr != _Y.get()) 137 return (*get()); 149 return (get()); 153 * @brief get() method returns the pointer, currently owned by the class. 156 T *get() const function in class:OsclExclusivePtr 247 if (_Ptr != _Y.get()) 276 return (*get()); 288 return (get()); 292 * @brief get() method returns the pointer, currently owned by the class. 295 T *get() cons function in class:OsclExclusiveArrayPtr 434 T *get() const function in class:OsclExclusivePtrA [all...] |
/external/webkit/JavaScriptCore/API/ |
JSCallbackObjectFunctions.h | 122 if (hasProperty(ctx, thisRef, propertyNameRef.get())) { 133 value = getProperty(ctx, thisRef, propertyNameRef.get(), &exception); 205 result = setProperty(ctx, thisRef, propertyNameRef.get(), valueRef, &exception); 214 if (StaticValueEntry* entry = staticValues->get(propertyName.ustring().rep())) { 224 result = setProperty(ctx, thisRef, propertyNameRef.get(), valueRef, &exception); 236 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.ustring().rep())) { 263 result = deleteProperty(ctx, thisRef, propertyNameRef.get(), &exception); 272 if (StaticValueEntry* entry = staticValues->get(propertyName.ustring().rep())) { 280 if (StaticFunctionEntry* entry = staticFunctions->get(propertyName.ustring().rep())) { 417 UString::Rep* name = it->first.get(); [all...] |
/external/webkit/WebCore/page/ |
Geolocation.cpp | 143 m_errorCallback->handleEvent(m_fatalError.get()); 159 m_errorCallback->handleEvent(error.get()); 168 m_idToNotifierMap.set(id, notifier.get()); 269 return m_lastPosition.get(); 301 else if (haveSuitableCachedPosition(notifier->m_options.get())) 303 else if (notifier->hasZeroTimeout() || startUpdating(notifier.get())) { 353 GeoNotifier* notifier = iter->get(); 357 // exists, start the service to get updates. 449 handleError(error.get()); 562 m_positionCache->setCachedPosition(m_currentPosition.get()); [all...] |
/external/webkit/WebCore/platform/graphics/cg/ |
ImageCG.cpp | 120 GraphicsContext(bmap.get()).setCompositeOperation(CompositeCopy); 122 CGContextDrawImage(bmap.get(), dst, image); 170 float currHeight = CGImageGetHeight(image.get()); 206 image.adoptCF(CGImageCreateWithImageInRect(image.get(), subimageRect)); 208 ASSERT(CGImageGetHeight(image.get()) == currHeight - CGRectIntegral(srcRect).origin.y); 209 adjustedDestRect.setHeight(CGImageGetHeight(image.get()) / yScale); 230 image = imageWithColorSpace(image.get(), styleColorSpace); 233 CGContextDrawImage(context, adjustedDestRect, image.get()); 287 subImage = imageWithColorSpace(subImage.get(), styleColorSpace); 302 CGContextDrawTiledImage(context, FloatRect(adjustedX, adjustedY, scaledTileWidth, scaledTileHeight), subImage.get()); [all...] |
/external/webkit/WebCore/rendering/ |
RenderTextControl.cpp | 107 for (Node* n = m_innerText->firstChild(); n; n = n->traverseNextNode(m_innerText.get())) { 278 return VisibleSelection(VisiblePosition(m_innerText.get(), start, VP_DEFAULT_AFFINITY), 279 VisiblePosition(m_innerText.get(), end, VP_DEFAULT_AFFINITY)); 285 return VisiblePosition(m_innerText.get(), 0, DOWNSTREAM); 288 range->selectNodeContents(m_innerText.get(), ec); 290 CharacterIterator it(range.get()); 306 range->setStart(m_innerText.get(), 0, ec); 310 return TextIterator::rangeLength(range.get()); 339 for (Node* n = m_innerText.get(); n; n = n->traverseNextNode(m_innerText.get())) { [all...] |
RenderCounter.cpp | 69 CounterDirectives directives = directivesMap->get(identifier.impl()); 234 if (CounterMap* nodeMap = counterMaps().get(object)) 235 if (CounterNode* node = nodeMap->get(identifier.impl())) 250 nodeMap = counterMaps().get(object); 266 CounterNode* currentCounter = maps.get(currentRenderer)->get(identifier.impl()); 346 ASSERT(counterMaps().get(child->renderer())->get(identifier.impl()) == child); 347 counterMaps().get(child->renderer())->remove(identifier.impl()); 374 AtomicString identifier(it->first.get()); [all...] |
/external/webkit/WebKit/chromium/src/ |
WebViewImpl.cpp | 113 // Get rid of WTF's pow define so we can use std::pow. 254 // set to impossible point so we always get the first mouse pos 277 return m_page.get() ? m_page->theme() : RenderTheme::defaultTheme().get(); 282 return m_page.get() ? WebFrameImpl::fromFrame(m_page->mainFrame()) : 0; 287 ASSERT(m_page.get()); 336 if (focusedNode.get() && toHTMLInputElement(focusedNode.get())) { 353 if (clickedNode.get() && clickedNode == focusedWebCoreNode()) { 356 showFormAutofillForNode(clickedNode.get()); [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuItemImpl.java | 54 * The icon's resource ID which is used to get the Drawable when it is 166 return mItemViews[menuType] != null && mItemViews[menuType].get() != null; 184 mItemViews[i].get().setEnabled(enabled); 326 * views, so it passes arguments rather than each item calling a method on the menu to get 342 mItemViews[i].get().setShortcut(showShortcut, shortcutKey); 394 ItemView itemView = mItemViews[i].get(); 425 if (hasItemView(i) && (mItemViews[i].get().prefersCondensedTitle())) { 426 mItemViews[i].get().setTitle(title); 471 if (hasItemView(i) && mItemViews[i].get().showsIcon()) { 472 mItemViews[i].get().setIcon(icon) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
SyncStorageEngineTest.java | 95 assertEquals(sync1, syncs.get(0)); 96 assertEquals(sync3, syncs.get(1)); 102 assertEquals(sync3, syncs.get(0)); 106 assertEquals(sync4, syncs.get(0)); 177 assertEquals(sync1, syncs.get(0)); 178 assertEquals(sync2, syncs.get(1)); 182 assertEquals(sync3, syncs.get(0)); 183 assertEquals(sync4, syncs.get(1)); 187 assertEquals(sync5, syncs.get(0)); 236 assertEquals(sync1, syncs.get(0)) [all...] |
/frameworks/base/libs/binder/ |
IMemory.cpp | 246 binder.get(), this, mSize, mHeapId); 266 sp<BpMemoryHeap> heap(static_cast<BpMemoryHeap*>(find_heap(binder).get())); 298 asBinder().get(), parcel_fd, size, err, strerror(-err)); 315 asBinder().get(), size, fd, strerror(errno)); 397 binder.get(), info.heap.get(), 398 static_cast<BpMemoryHeap*>(info.heap.get())->mSize, 399 static_cast<BpMemoryHeap*>(info.heap.get())->mHeapId, 408 // binder.get(), info.heap.get(), info.count) [all...] |
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
svc_drm.h | 94 * The function to get input data length, this function should be implement by out module, 185 * can try to get information for this DRM object, or try to use it if the rights is valid. 197 * Get the delivery method of the DRM object. 208 * Get DRM object media object content type. 214 * -DRM_SUCCESS, when get the media object content type successfully. 253 * Get DRM media object content data length. 267 * Get DRM media object content data. Support get the data piece by piece if the content is too large. 270 * \param offset The offset to start to get content. 284 * Get the rights issuer address, this interface is specially for Separate Delivery method [all...] |
/packages/apps/IM/src/com/android/im/imps/ |
PtsPrimitiveSerializer.java | 97 PrimitiveElement elem = infoElems.get(i); 153 writer.write(escapeValueString(values.get(0))); 161 writer.write(escapeValueString(values.get(i))); 194 String nameCode = nameCodes.get(name); 201 valueCode = valueCodes.get(value); 222 return sEncoders.get(elemName); 262 encodePresence(buf, presences.get(0)); 265 encodePresence(buf, presences.get(0)); 273 encodePresence(buf, presences.get(i)); 316 PrimitiveElement value = children.get(i) [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
Ropper.java | 199 * For each subroutine caller, get it's target. If the 207 successors.add(subCaller.getSuccessors().get(0)); 227 int succLabel = subCaller.getSuccessors().get(0); 448 BasicBlock one = result.get(i); 472 return result.get(idx); 495 * original get removed as a result of calling this method. 574 BasicBlock block = result.get(idx); 582 int label = successors.get(i); 606 bbl.set(i, result.get(i)); 709 int subroutineLabel = successors.get(1) [all...] |
LocalsArraySet.java | 93 LocalsArray la = toCopy.secondaries.get(i); 131 LocalsArray la = secondaries.get(label); 153 LocalsArray la = secondaries.get(label); 236 public TypeBearer get(int idx) { method in class:LocalsArraySet 237 return primary.get(idx); 272 LocalsArray la1 = (i < sz1 ? secondaries.get(i) : null); 273 LocalsArray la2 = (i < sz2 ? other.secondaries.get(i) : null); 320 LocalsArray la = secondaries.get(i); 379 return secondaries.get(label); 423 la = secondaries.get(i) [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetwork.java | 112 String direction = command.get(1); 136 String actionName = command.get(1); 140 x = Integer.parseInt(command.get(2)); 141 y = Integer.parseInt(command.get(3)); 183 dx = Integer.parseInt(command.get(1)); 184 dy = Integer.parseInt(command.get(2)); 209 int keyCode = getKeyCode(command.get(2)); 212 Log.e(TAG, "Can't find keyname: " + command.get(2)); 217 if ("down".equals(command.get(1))) { 219 } else if ("up".equals(command.get(1))) [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
TextRunBreaker.java | 164 Object val = attrs.get(TextAttribute.INPUT_METHOD_HIGHLIGHT); 224 Font value = (Font)attributes.get(TextAttribute.CHAR_REPLACEMENT); 227 // 2. Try to Get FONT 228 value = (Font)attributes.get(TextAttribute.FONT); 232 if (attributes.get(TextAttribute.FAMILY) != null) { 248 value = fonts.get(new Integer(index)); 261 forcedFontRunStartsList.get(i).intValue(); 312 Object tdd = decorations.get(new Integer(firstRunStart)); 313 Object fontOrGAttr = fonts.get(new Integer(firstRunStart)); 360 tdd = decorations.get(new Integer(pos)) [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/ |
SdkManager.java | 184 // get the android prefs location to know where to write the file. 217 // get the current target list. 286 String apiName = map.get(PROP_VERSION_RELEASE); 297 String stringValue = map.get(PROP_VERSION_SDK); 319 String apiCodename = map.get(PROP_VERSION_CODENAME); 331 revision = Integer.parseInt(sourceProp.get("Pkg.Revision")); 424 String name = propertyMap.get(ADDON_NAME); 430 String vendor = propertyMap.get(ADDON_VENDOR); 436 String api = propertyMap.get(ADDON_API); 459 // get the optional descriptio [all...] |
/cts/tests/src/android/widget/cts/util/ |
ExpandableListScenario.java | 81 * Get the ExpandableListView widget. 179 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition)) 180 .children.get(ExpandableListView.getPackedPositionChild(packedPosition)) 183 return mGroups.get(ExpandableListView.getPackedPositionGroup(packedPosition)) 210 if (child >= mGroups.get(group).children.size() || child < 0) { 221 * @param packedPosition The position to get a view for. 309 return mGroups.get(groupPosition).children.get(childPosition).id; 313 return mGroups.get(groupPosition).children.size(); 331 return mGroups.get(groupPosition).id [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/ |
ProcessorInclude.java | 63 * Get the base identifier with which this stylesheet is associated. 74 * Get the base identifier with which this stylesheet is associated. 85 * Get the stylesheet type associated with an included stylesheet 95 * Get the error number associated with this type of stylesheet including itself 134 // Get the Source from the user's URIResolver (if any). 136 // Get the system ID of the included/imported stylesheet module 344 * Get the Source object for the included or imported stylesheet module 363 * Get the base URI of the included or imported stylesheet, 364 * if the user provided a URIResolver, then get the Source 365 * object for the stylsheet from it, and get the systemId [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/compiler/ |
OpMap.java | 78 * Get the XPath as a list of tokens. 88 * Get the XPath as a list of tokens. 105 * Get size of the token queue. 124 * Get the opcode list that describes the XPath operations. It contains 337 * Get the length of an operation. 349 * Given a location step, get the length of that step. 361 * Get the first child position of a given location step. 373 * Get the test type of the step, i.e. NODETYPE_XXX value. 385 * Get the namespace of the step. 413 * Get the local name of the step [all...] |
/dalvik/tests/068-classloader/src/ |
Main.java | 141 /* get the "alternate" version of DoubledExtend */ 165 /* use the base class reference to get a CL-specific instance */ 174 System.err.println("ERROR: did not get LinkageError on DE"); 190 /* get the "alternate" version of DoubledExtendOkay */ 213 /* use the base class reference to get a CL-specific instance */ 238 /* get GetDoubled from the "alternate" class loader */ 284 /* get AbstractGet from the "alternate" loader */ 306 /* use the base class reference to get a CL-specific instance */ 331 /* get the "alternate" version of DoubledImplement */ 367 System.err.println("ERROR: did not get LinkageError on DI") [all...] |
/development/apps/CustomLocale/src/com/android/customlocale/ |
CustomLocaleActivity.java | 113 // Get current custom locale list 139 String code = ((Map<String, String>) o).get(KEY_CODE); 194 return lhs.get(KEY_CODE).compareTo(rhs.get(KEY_CODE)); 212 String locale = ((Map<String, String>) o).get(KEY_CODE); 213 String custom = ((Map<String, String>) o).get(KEY_CUSTOM); 239 pendingLocale = ((Map<String, String>) o).get(KEY_CODE); 240 is_custom = ((Map<String, String>) o).get(KEY_CUSTOM) != null; 250 // Get current custom locale list 330 Log.e(TAG, "get current locale failed", e) [all...] |
/external/elfutils/libelf/ |
libelf.h | 22 /* Get the ELF types. */ 171 /* Get the base offset for an object file. */ 199 /* Get section at INDEX. */ 202 /* Get index of section. */ 205 /* Get section with next section index. */ 211 /* Get the number of sections in the ELF file. If the file uses more 218 /* Get the section index of the section header string table in the ELF 251 /* Get data from section while translating from file representation 255 /* Get uninterpreted section content. */ 272 /* Get symbol table of archhive. * [all...] |