| /development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
| TaskBackService.java | 2 * Copyright (C) 2011 The Android Open Source Project 82 AccessibilityNodeInfo source = event.getSource(); local 83 if (source == null) { 88 AccessibilityNodeInfo rowNode = getListItemNodeInfo(source); 143 private AccessibilityNodeInfo getListItemNodeInfo(AccessibilityNodeInfo source) { 144 AccessibilityNodeInfo current = source;
|
| /external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
| Main.java | 66 public static void parse(File source) throws Exception 76 if (source.isDirectory()) 78 System.out.println("Directory: " + source.getAbsolutePath()); 79 String files[] = source.list(); 83 parse(new File(source, files[i])); 93 String sourceFile = source.getName(); 103 parseSource(source.getAbsolutePath()); 116 public static void parseSource(String source) throws Exception 123 // and tell the lexer that that is the character source. 127 lexer.setCharStream(new ANTLRFileStream(source, "UTF8")) [all...] |
| /external/apache-xml/src/main/java/org/apache/xalan/processor/ |
| ProcessorInclude.java | 26 import javax.xml.transform.Source; 134 // Get the Source from the user's URIResolver (if any). 135 Source sourceFromURIResolver = getSourceFromUriResolver(handler); 146 // Push the system ID and corresponding Source 198 Source source = null; local 210 // have tried to obtain a Source from it 212 source = handler.peekSourceFromURIResolver(); 214 if (null != source && source instanceof DOMSource [all...] |
| /external/apache-xml/src/main/java/org/apache/xalan/templates/ |
| FuncDocument.java | 28 import javax.xml.transform.Source; 139 // was the initial source document. 232 Source source; local 237 source = treeMgr.resolveURI(base, uri, xctxt.getSAXLocator()); 238 newDoc = treeMgr.getNode(source); 260 source = treeMgr.resolveURI(base, uri, xctxt.getSAXLocator()); 275 newDoc = treeMgr.getSourceTree(source, xctxt.getSAXLocator(), xctxt);
|
| /external/apache-xml/src/main/java/org/apache/xpath/ |
| SourceTreeManager.java | 26 import javax.xml.transform.Source; 40 * This class bottlenecks all management of source trees. The methods 41 * in this class should allow easy garbage collection of source 42 * trees (not yet!), and should centralize parsing for those source trees. 59 /** The TrAX URI resolver used to obtain source trees. */ 113 * @return a Source that can be used to process the resource. 118 public Source resolveURI( 123 Source source = null; local 127 source = m_uriResolver.resolve(urlString, base) 245 Source source = this.resolveURI(base, urlString, locator); local [all...] |
| /external/chromium/chrome/browser/ |
| browser_signin.cc | 2 // Use of this source code is governed by a BSD-style license that can be 110 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog) { 224 BrowserSigninResourcesSource* source = new BrowserSigninResourcesSource(); local 225 profile->GetChromeURLDataManager()->AddDataSource(source); 257 const NotificationSource& source, 312 Source<Profile>(profile_)); 315 Source<Profile>(profile_)); 321 Source<Profile>(profile_)); 324 Source<Profile>(profile_));
|
| shell_integration_win.cc | 2 // Use of this source code is governed by a BSD-style license that can be 204 std::wstring source; local 205 if (FAILED(shell_link->GetPath(WriteInto(&source, MAX_PATH), 209 lstrcmpi(chrome_exe_.value().c_str(), source.c_str())) 219 L"\"%ls\" %ls", source.c_str(), arguments.c_str()));
|
| /external/chromium/chrome/browser/chromeos/ |
| proxy_config_service_impl_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 258 ProxyConfigServiceImpl::ProxyConfig::Source source, 263 automatic_proxy->source = source; 270 ProxyConfigServiceImpl::ProxyConfig::Source source, 278 manual_proxy->source = source; 283 const Input& input, ProxyConfigServiceImpl::ProxyConfig::Source source 369 SetManualProxy(MK_MODE(PROXY_PER_SCHEME), source, server_uri, net_scheme, local [all...] |
| /external/chromium/chrome/browser/extensions/ |
| extension_history_api.cc | 2 // Use of this source code is governed by a BSD-style license that can be 72 NotificationSource source = Source<Profile>(profile); local 73 if (profiles_.find(source.map_key()) == profiles_.end()) 74 profiles_[source.map_key()] = profile; 91 const NotificationSource& source, 93 ProfileMap::iterator it = profiles_.find(source.map_key());
|
| extension_message_service.cc | 2 // Use of this source code is governed by a BSD-style license that can be 143 RenderProcessHost* source = RenderProcessHost::FromID(source_process_id); local 144 if (!source) 147 // Note: we use the source's profile here. If the source is an incognito 151 source->profile()->GetExtensionProcessManager()->GetExtensionProcess( 165 OpenChannelImpl(source, tab_json, receiver, receiver_port_id, 173 RenderProcessHost* source = RenderProcessHost::FromID(source_process_id); local 174 if (!source) 179 if (ExtensionTabUtil::GetTabById(tab_id, source->profile(), true [all...] |
| /external/chromium/chrome/browser/net/ |
| passive_log_collector.cc | 2 // Use of this source code is governed by a BSD-style license that can be 40 : source_id(net::NetLog::Source::kInvalidId), 60 // Define the mapping between source types and the tracker objects. 87 const net::NetLog::Source& source, 92 ChromeNetLog::Entry entry(num_events_seen_++, type, time, source, phase, 95 SourceTrackerInterface* tracker = GetTrackerForSourceType(entry.source.type); 191 SourceIDToInfoMap::iterator it = sources_.find(entry.source.id); 199 SourceIDToInfoMap::value_type(entry.source.id, SourceInfo())).first; 200 it->second.source_id = entry.source.id 356 const net::NetLog::Source& source = *it; local [all...] |
| /external/chromium/chrome/browser/printing/ |
| printing_layout_uitest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 301 const char* source; member in struct:TestPool 329 NavigateToURL(test_server.GetURL(test.source));
|
| /external/chromium/chrome/browser/ui/login/ |
| login_prompt_ui.cc | 2 // Use of this source code is governed by a BSD-style license that can be 62 LoginHandlerSource *source = new LoginHandlerSource(); local 63 url_manager->AddDataSource(source); 118 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog) {}
|
| /external/chromium/net/http/ |
| http_auth.h | 2 // Use of this source code is governed by a BSD-style license that can be 104 IdentitySource source; member in struct:net::HttpAuth::Identity
|
| /external/chromium/third_party/libjingle/source/talk/base/ |
| unixfilesystem.cc | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 272 StreamInterface *source = OpenFile(old_path, "rb"); local 273 if (!source) 278 delete source; 282 while (source->Read(buf, sizeof(buf), &len, NULL) == SR_SUCCESS) 285 delete source;
|
| /external/chromium/third_party/libjingle/source/talk/session/phone/ |
| rtpdump.h | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 59 uint32 source; // network source (multicast address). member in struct:cricket::RtpDumpFileHeader
|
| /external/clang/lib/Frontend/ |
| FrontendAction.cpp | 5 // This file is distributed under the University of Illinois Open Source 164 assert(!Instance && "Already processing a source file!"); 191 // Inform the diagnostic client we are processing a source file. 214 // Set up the file and source managers, if needed. 225 // Inform the diagnostic client we are processing a source file. 270 // Inform the diagnostic client we are processing a source file. 295 OwningPtr<ExternalASTSource> source; local 296 source.reset(ChainedIncludesSource::create(CI)); 297 if (!source) 299 CI.getASTContext().setExternalSource(source); [all...] |
| /external/clang/unittests/Basic/ |
| SourceManagerTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 68 const char *source = local 71 MemoryBuffer *buf = MemoryBuffer::getMemBuffer(source); 119 const char *Source = 123 MemoryBuffer *Buf = MemoryBuffer::getMemBuffer(Source); 145 EXPECT_EQ(7U, SourceMgr.getColumnNumber(MainFileID, strlen(Source), 150 SourceMgr.getColumnNumber(MainFileID, strlen(Source)+1, &Invalid);
|
| /external/icu4c/common/ |
| ucnv_u16.c | 51 const UChar *source; local 59 source=pArgs->source; 60 length=(int32_t)(pArgs->sourceLimit-source); 91 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { 93 ++source; 124 c=*source++; 129 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { 130 ++source; 144 c=*source++ 255 const uint8_t *source; local 650 const UChar *source; local 854 const uint8_t *source; local 1326 const char *source=pArgs->source; local [all...] |
| ucnv_u32.c | 48 const unsigned char *mySource = (unsigned char *) args->source; 120 args->source = (const char *) mySource; 127 const unsigned char *mySource = (unsigned char *) args->source; 206 args->source = (const char *) mySource; 214 const UChar *mySource = args->source; 268 /* ran out of source */ 308 args->source = mySource; 315 const UChar *mySource = args->source; 372 /* ran out of source */ 414 args->source = mySource 1048 const char *source=pArgs->source; local [all...] |
| ucnv_u7.c | 209 const uint8_t *source, *sourceLimit; local 232 source=(const uint8_t *)pArgs->source; 262 length=(int32_t)(sourceLimit-source); 268 b=*source++; 292 if(source<sourceLimit && target>=targetLimit) { 304 * base64 bytes, while nextSourceIndex is precisely parallel to source, 308 while(source<sourceLimit) { 310 bytes[byteIndex++]=b=*source++; 331 --source; 460 const UChar *source, *sourceLimit; local 891 const uint8_t *source, *sourceLimit; local 1159 const UChar *source, *sourceLimit; local [all...] |
| ucnv_u8.c | 94 const unsigned char *mySource = (unsigned char *) args->source; 215 args->source = (const char *) mySource; 222 const unsigned char *mySource = (unsigned char *) args->source; 344 args->source = (const char *) mySource; 352 const UChar *mySource = args->source; 459 args->source = mySource; 466 const UChar *mySource = args->source; 597 args->source = mySource; 605 const uint8_t *source; local 614 sourceInitial = source = (const uint8_t *)args->source 756 const uint8_t *source, *sourceLimit; local [all...] |
| /external/icu4c/i18n/ |
| anytrans.cpp | 272 Transliterator* AnyTransliterator::getTransliterator(UScriptCode source) const { 274 if (source == targetScript || source == USCRIPT_INVALID_CODE) { 278 Transliterator* t = (Transliterator*) uhash_iget(cache, (int32_t) source); 281 UnicodeString sourceName(uscript_getName(source), -1, US_INV); 300 uhash_iput(cache, (int32_t) source, t, &ec); 340 UnicodeString source; local 341 Transliterator::_getAvailableSource(s, source); 343 // Ignore the "Any" source 344 if (source.caseCompare(ANY, 3, 0 /*U_FOLD_CASE_DEFAULT*/) == 0) continue [all...] |
| /external/icu4c/test/cintltst/ |
| spreptst.c | 472 const char* source = "OWNER@oss.software.ibm.com"; local 478 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 501 const char *source = "\\uC138\\uACC4\\uC758\\uBAA8\\uB4E0\\uC0AC\\uB78C\\uB4E4\\uC774\\u0644\\u064A\\u0647\\uD55C\\uAD6D\\uC5B4\\uB97C\\uC774\\uD574\\uD55C\\uB2E4\\uBA74"; local 505 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 524 const char *source = "www.\\u00E0\\u00B3\\u00AF.com"; local 528 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); 547 const char *source = "THISISATEST" local 570 const char *source = "THISISATEST"; local [all...] |
| /external/icu4c/test/intltest/ |
| idnaconf.cpp | 61 char * source = NULL; local 94 source = new char[source_len]; 96 if (fread(source, 1, source_len, f) != source_len) { 98 delete [] source; 109 source, 117 ucnv_toUChars(conv, dest, dest_len + 1, source, source_len, &status); 123 delete [] source; 128 delete [] source; 153 * character are joined with the next line in the source file forming logical
|