/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
ThreadLocalTest.java | 44 assertEquals(tl.get(), one); 46 assertEquals(tl.get(), two); 48 assertEquals(tl.get(), one); 56 assertEquals(itl.get(), zero); 58 assertEquals(itl.get(), two); 60 assertEquals(itl.get(), zero); 68 if (itl.get().intValue() < x.length - 1) { 74 int threadId = itl.get().intValue();
|
AtomicReferenceArrayTest.java | 31 assertNull(ai.get(i)); 56 assertEquals(a[i], ai.get(i)); 61 * get and set for out of bound indices throw IndexOutOfBoundsException 66 ai.get(SIZE); 70 ai.get(-1); 84 * get returns the last value set at index 90 assertEquals(one,ai.get(i)); 92 assertEquals(two,ai.get(i)); 94 assertEquals(m3,ai.get(i)); 107 assertEquals(m4,ai.get(i)) [all...] |
FutureTaskTest.java | 91 * setting value causes get to return it 97 assertEquals(task.get(), one); 105 * setException causes get to throw ExecutionException 112 Object x = task.get(); 214 * set in one thread causes get in another thread to retrieve value 230 ft.get(); 252 * set in one thread causes timed get in another thread to retrieve value 268 ft.get(SHORT_DELAY_MS, TimeUnit.MILLISECONDS); 290 * Cancelling a task causes timed get in another thread to throw CancellationException 307 ft.get(MEDIUM_DELAY_MS, TimeUnit.MILLISECONDS) [all...] |
/external/icu4c/i18n/ |
csrecog.h | 23 * Get the IANA name of this charset. 29 * Get the ISO language code for this charset.
|
/external/webkit/WebCore/dom/ |
TreeWalker.h | 44 Node* currentNode() const { return m_current.get(); } 57 Node* parentNode() { return parentNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } 58 Node* firstChild() { return firstChild(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } 59 Node* lastChild() { return lastChild(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } 60 Node* previousSibling() { return previousSibling(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } 61 Node* nextSibling() { return nextSibling(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } 62 Node* previousNode() { return previousNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); } 63 Node* nextNode() { return nextNode(scriptStateFromNode(mainThreadNormalWorld(), m_current.get())); }
|
/external/webkit/WebCore/platform/win/ |
SearchPopupMenuWin.cpp | 56 CFArrayAppendValue(items.get(), item.get()); 60 CFPreferencesSetAppValue(autosaveKey(name).get(), items.get(), kCFPreferencesCurrentApplication); 70 RetainPtr<CFArrayRef> items(AdoptCF, reinterpret_cast<CFArrayRef>(CFPreferencesCopyAppValue(autosaveKey(name).get(), kCFPreferencesCurrentApplication))); 72 if (!items || CFGetTypeID(items.get()) != CFArrayGetTypeID()) 75 size_t size = CFArrayGetCount(items.get()); 77 CFStringRef item = (CFStringRef)CFArrayGetValueAtIndex(items.get(), i);
|
/frameworks/base/tests/CoreTests/android/core/ |
ArrayListTest.java | 45 assertEquals(1, ((Integer) array.get(0)).intValue()); 46 assertEquals(2, ((Integer) array.get(1)).intValue()); 47 assertEquals(0, ((Integer) array.get(2)).intValue()); 48 assertEquals(3, ((Integer) array.get(3)).intValue()); 49 assertEquals(1, ((Integer) array.get(4)).intValue()); 64 assertEquals(1, ((Integer) array.get(0)).intValue()); 65 assertEquals(3, ((Integer) array.get(1)).intValue()); 66 assertEquals(1, ((Integer) array.get(2)).intValue());
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
LayoutTestsAutoRunner.java | 51 this.mTestPath = (String) icicle.get("path"); 52 String timeout_str = (String) icicle.get("timeout"); 61 String delay_str = (String) icicle.get("delay"); 69 String r = (String)icicle.get("rebaseline"); 72 String logtime = (String) icicle.get("logtime"); 76 String drawTime = (String) icicle.get("drawtime"); 80 mSaveImagePath = (String) icicle.get("saveimage"); 82 mJsEngine = (String) icicle.get("jsengine");
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 38 * Interface to get the value of a var. 42 * Get the value of the var. 45 public String get(); method in interface:MonkeySourceNetworkVars.VarGetter 55 public String get() { method in class:MonkeySourceNetworkVars.StaticVarGetter 60 // Use a TreeMap to keep the keys sorted so they get displayed nicely in listvar 97 public String get() { 102 public String get() { 110 public String get() { 118 public String get() { 126 public String get() { [all...] |
/external/webkit/JavaScriptCore/wtf/ |
PassOwnPtr.h | 54 PtrType get() const { return m_ptr; } function in class:WTF::PassOwnPtr 108 return a.get() == b.get(); 113 return a.get() == b.get(); 118 return a.get() == b.get(); 123 return a.get() == b; 128 return a == b.get(); 133 return a.get() != b.get(); [all...] |
PassRefPtr.h | 70 PassRefPtr(const RefPtr<U>& o) : m_ptr(o.get()) { T* ptr = m_ptr; refIfNotNull(ptr); } 72 T* get() const { return m_ptr; } function in class:WTF::PassRefPtr 116 : m_ptr(o.get()) 142 T* get() const { return m_ptr; } function in class:WTF::NonNullPassRefPtr 156 T* optr = o.get(); 191 return a.get() == b.get(); 196 return a.get() == b.get(); 201 return a.get() == b.get(); [all...] |
/system/core/nexus/ |
Property.cpp | 50 int StringProperty::get(int idx, int *buffer) { function in class:StringProperty 51 LOGE("Integer 'get' called on string property!"); 55 int StringProperty::get(int idx, struct in_addr *buffer) { function in class:StringProperty 56 LOGE("IpAddr 'get' called on string property!"); 78 int StringPropertyHelper::get(int idx, char *buffer, size_t max) { function in class:StringPropertyHelper 80 LOGW("Attempt to use array index on StringPropertyHelper::get"); 102 int IntegerProperty::get(int idx, char *buffer, size_t max) { function in class:IntegerProperty 103 LOGE("String 'get' called on integer property!"); 107 int IntegerProperty::get(int idx, struct in_addr *buffer) { function in class:IntegerProperty 108 LOGE("IpAddr 'get' called on integer property!") 129 int IntegerPropertyHelper::get(int idx, int *buffer) { function in class:IntegerPropertyHelper 153 int IPV4AddressProperty::get(int idx, char *buffer, size_t max) { function in class:IPV4AddressProperty 158 int IPV4AddressProperty::get(int idx, int *buffer) { function in class:IPV4AddressProperty 180 int IPV4AddressPropertyHelper::get(int idx, struct in_addr *buffer) { function in class:IPV4AddressPropertyHelper [all...] |
/external/icu4c/test/intltest/ |
tsdcfmsy.cpp | 32 * Test the API of DecimalFormatSymbols; primarily a simple get/set set. 55 // just do some VERY basic tests to make sure that get/set work 60 errln("ERROR: get/set ZeroDigit failed"); 66 errln("ERROR: get/set GroupingSeparator failed"); 72 errln("ERROR: get/set DecimalSeparator failed"); 78 errln("ERROR: get/set PerMill failed"); 84 errln("ERROR: get/set Percent failed"); 90 errln("ERROR: get/set Percent failed"); 96 errln("ERROR: get/set PatternSeparator failed"); 103 errln("ERROR: get/set Infinity failed") [all...] |
/external/webkit/WebCore/plugins/mac/ |
PluginPackageMac.cpp | 88 if (!CFURLCreateDataAndPropertiesFromResource(kCFAllocatorDefault, url.get(), &resource, 0, 0, &code)) 99 if (CFGetTypeID(propertyList.get()) != CFDictionaryGetTypeID()) 102 map = static_cast<CFDictionaryRef>(static_cast<CFPropertyListRef>(propertyList.get())); 126 list.append(str.get()); 141 if (mimeTypesFileName && CFGetTypeID(mimeTypesFileName.get()) == CFStringGetTypeID()) { 143 WTF::RetainPtr<CFStringRef> fileName = (CFStringRef)mimeTypesFileName.get(); 145 WTF::RetainPtr<CFStringRef> path = CFStringCreateWithFormat(0, 0, CFSTR("%@/Library/Preferences/%@"), homeDir.get(), fileName.get()); 147 WTF::RetainPtr<CFDictionaryRef> plist = readPListFile(path.get(), /*createFile*/ false, m_module); 151 (CFStringRef)CFDictionaryGetValue(plist.get(), CFSTR("WebPluginLocalizationName")) [all...] |
/external/webkit/WebKit/mac/Plugins/ |
WebBaseNetscapePluginStream.mm | 66 [m_pluginView.get() willCallPlugInFunction]; 72 [m_pluginView.get() didCallPlugInFunction]; 88 return streams().get(stream); 105 contentURL:m_responseURL ? m_responseURL.get() : m_requestURL.get() 107 pluginName:[[m_pluginView.get() pluginPackage] name] 108 MIMEType:m_mimeType.get()] autorelease]; 119 URL:m_responseURL ? m_responseURL.get() : m_requestURL.get()]; 174 [m_request.get() _web_setHTTPReferrer:nil] [all...] |
/hardware/ti/wlan/wl1271/stad/src/Ctrl_Interface/ |
CmdDispatcher.c | 68 /* Set/get params function prototype */ 74 TParamFunc get; member in struct:__anon8838 110 /* Table of params set/get functions */ 170 * with the Get/Set functions. 212 /* Fill the configuration table with the Get/Set functions */ 241 * \brief Fill the configuration table with the Get/Set functions 244 * - for each module that supply a Get/Set services to his parameters, 246 * - Get function 259 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(AUTH_MODULE_PARAM) - 1].get = auth_getParam; 263 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(ASSOC_MODULE_PARAM) - 1].get = assoc_getParam [all...] |
/system/wlan/ti/wilink_6_1/stad/src/Ctrl_Interface/ |
CmdDispatcher.c | 68 /* Set/get params function prototype */ 74 TParamFunc get; member in struct:__anon14674 110 /* Table of params set/get functions */ 170 * with the Get/Set functions. 212 /* Fill the configuration table with the Get/Set functions */ 241 * \brief Fill the configuration table with the Get/Set functions 244 * - for each module that supply a Get/Set services to his parameters, 246 * - Get function 259 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(AUTH_MODULE_PARAM) - 1].get = auth_getParam; 263 pCmdDispatch->paramAccessTable[GET_PARAM_MODULE_NUMBER(ASSOC_MODULE_PARAM) - 1].get = assoc_getParam [all...] |
/external/easymock/src/org/easymock/internal/ |
LastControl.java | 44 return threadToControl.get();
48 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get();
57 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get();
66 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get();
72 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get();
74 stack.push(new Not(popLastArgumentMatchers(1).get(0)));
78 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get();
98 Stack<IArgumentMatcher> stack = threadToArgumentMatcherStack.get();
104 Stack<Invocation> stack = threadToCurrentInvocation.get();
112 Stack<Invocation> stack = threadToCurrentInvocation.get();
[all...] |
/external/webkit/WebCore/platform/graphics/win/ |
FontDatabase.cpp | 87 RetainPtr<CFReadStreamRef> stream(AdoptCF, CFReadStreamCreateWithFile(0, url.get())); 91 if (!CFReadStreamOpen(stream.get())) 95 RetainPtr<CFPropertyListRef> plist(AdoptCF, CFPropertyListCreateFromStream(0, stream.get(), 0, kCFPropertyListMutableContainersAndLeaves, &format, 0)); 97 CFReadStreamClose(stream.get()); 117 wkAddFontsInDirectory(directory.get()); 138 CFDictionarySetValue(dictionary.get(), fontFilenamesFromRegistryKey(), filenamesFromRegistry); 139 data.adoptCF(CFPropertyListCreateXMLData(kCFAllocatorDefault, dictionary.get())); 145 safeCreateFile(fontsPlistPath(), data.get()); 177 CFArrayAppendValue(filenames.get(), filename.get()); [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
SparseArrayTest.java | 62 method = "get", 67 method = "get", 118 assertEquals(new Integer(i), sparseArray.get(KEYS[i])); 129 assertEquals(oldValue, sparseArray.get(existKey)); 132 assertEquals(newValue, sparseArray.get(existKey)); 136 sparseArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); 137 assertNull(sparseArray.get(NON_EXISTED_KEY)); // the default value is null 152 assertEquals(VALUES[1], sparseArray.get(KEYS[1])); 156 sparseArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); 160 assertEquals(VALUES[2], sparseArray.get(KEYS[2])) [all...] |
/external/webkit/WebCore/platform/graphics/mac/ |
GraphicsLayerCA.mm | 380 [m_layer.get() setLayerOwner:this]; 389 [m_animationDelegate.get() setLayer:this]; 398 // get released when the rootmost modified GraphicsLayerCA rebuilds its child layers. 404 WebLayer* layer = m_layer.get(); 409 if ([m_contentsLayer.get() respondsToSelector:@selector(setLayerOwner:)]) 410 [(id)m_contentsLayer.get() setLayerOwner:nil]; 414 [m_animationDelegate.get() setLayer:0]; 424 String longName = String::format("CALayer(%p) GraphicsLayer(%p) ", m_layer.get(), this) + name; 431 return m_layer.get(); 773 CGColorSpaceRef colorSpace = CGImageGetColorSpace(m_pendingContentsImage.get()); [all...] |
/external/webkit/WebKitTools/DumpRenderTree/cg/ |
ImageDiffCG.cpp | 76 CFDataAppendBytes(data.get(), buffer, static_cast<CFIndex>(bytesRead)); 79 RetainPtr<CGDataProviderRef> dataProvider(AdoptCF, CGDataProviderCreateWithCFData(data.get())); 80 return RetainPtr<CGImageRef>(AdoptCF, CGImageCreateWithPNGDataProvider(dataProvider.get(), 0, false, kCGRenderingIntentDefault)); 97 CGContextDrawImage(baseContext.get(), CGRectMake(0, 0, width, height), baseImage); 102 CGContextDrawImage(context.get(), CGRectMake(0, 0, width, height), testImage); 151 diffImage.adoptCF(CGImageCreate(width, height, 8, 8, width, diffColorspace, 0, provider.get(), 0, false, kCGRenderingIntentDefault)); 217 if ((CGImageGetWidth(actualImage.get()) == CGImageGetWidth(baselineImage.get())) && (CGImageGetHeight(actualImage.get()) == CGImageGetHeight(baselineImage.get())) && (imageHasAlpha(actualImage.get()) == imageHasAlpha(baselineImage.get()))) [all...] |
/frameworks/base/services/java/com/android/server/status/ |
NotificationViewList.java | 34 StatusBarNotification that = list.get(i); 76 if (matchPackage(mOngoing.get(i), packageName)) { 77 list.add(mOngoing.get(i)); 82 if (matchPackage(mLatest.get(i), packageName)) { 83 list.add(mLatest.get(i)); 103 if (list.get(i).key == key) { 110 StatusBarNotification get(IBinder key) { method in class:NotificationViewList 114 return mOngoing.get(index); 118 return mLatest.get(index); 130 StatusBarNotification item = list.get(i) 242 StatusBarNotification get(View view) { method in class:NotificationViewList [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
BitSetTest.java | 163 assertTrue("Clear didn't clear bit " + i, !eightbs.get(i)); 190 assertTrue("Failed to clear bit", !eightbs.get(7)); 194 assertTrue("Clear cleared incorrect bits", eightbs.get(i)); 197 assertTrue("Failed to clear bit", !eightbs.get(165)); 232 assertTrue("Shouldn't have flipped bit " + i, !bs.get(i)); 234 assertTrue("Shouldn't have cleared bit " + i, bs.get(i)); 237 assertTrue("Failed to clear bit " + i, !bs.get(i)); 241 assertTrue("Shouldn't have flipped bit " + i, !bs.get(i)); 243 assertTrue("Shouldn't have cleared bit " + i, bs.get(i)); 247 assertTrue("Shouldn't have flipped bit " + i, !bs.get(i)) [all...] |
/cts/tools/host/src/com/android/cts/ |
CommandParser.java | 28 * CommandParser is responsible for parsing command line arguments. To get 33 * <li> cp.getAction() will get "start" 34 * <li> cp.getValue("-plan") will get "test_plan" 35 * <li> cp.containsKey("-noplan") will get null 129 mAction = arglist.get(currentArgIndex).toLowerCase(); 135 originalOption = arglist.get(currentArgIndex).trim(); 150 originalOption = arglist.get(currentArgIndex).trim().toLowerCase(); 173 String value = arglist.get(++currentArgIndex).trim(); 192 String op = sOptionMap.get(option); 216 * Get the arguments size [all...] |