Searched refs:ns (Results 51 - 75 of 526) sorted by relevance

1234567891011>>

/external/clang/test/Misc/
H A Ddiag-aka-types.cpp33 namespace ns { namespace
43 void helper(callback cb) {} // expected-note{{candidate function not viable: no known conversion from 'void (*)(struct data *)' (aka 'void (*)(ns::data *)') to 'callback' (aka 'void (*)(struct data *)') for 1st argument}}
46 helper(&ns::str::method); // expected-error{{no matching function for call to 'helper'}}
/external/clang/test/OpenMP/
H A Dthreadprivate_ast_print.cpp48 namespace ns{ namespace
51 // CHECK: namespace ns {
54 #pragma omp threadprivate(ns::a)
55 // CHECK-NEXT: #pragma omp threadprivate(ns::a)
/external/clang/test/SemaTemplate/
H A Dtemp_arg_type.cpp19 namespace ns { namespace
22 A<ns::B> a8; // expected-error{{use of class template 'ns::B' requires template arguments}}
/external/libcxx/test/thread/thread.threads/thread.thread.this/
H A Dsleep_for.pass.cpp28 std::chrono::nanoseconds ns = (t1 - t0) - ms; local
31 assert(std::abs(ns.count()) < err.count());
H A Dsleep_until.pass.cpp28 std::chrono::nanoseconds ns = (t1 - t0) - ms; local
31 assert(std::abs(ns.count()) < err.count());
/external/chromium_org/third_party/libxslt/libexslt/
H A Dmath.c31 * @ns: a node-set
37 * xmlXPathNAN if @ns is NULL or empty or if one of the nodes
41 exsltMathMin (xmlNodeSetPtr ns) { argument
45 if ((ns == NULL) || (ns->nodeNr == 0))
47 ret = xmlXPathCastNodeToNumber(ns->nodeTab[0]);
50 for (i = 1; i < ns->nodeNr; i++) {
51 cur = xmlXPathCastNodeToNumber(ns->nodeTab[i]);
69 xmlNodeSetPtr ns; local
85 ns
110 exsltMathMax(xmlNodeSetPtr ns) argument
138 xmlNodeSetPtr ns; local
177 exsltMathHighest(xmlNodeSetPtr ns) argument
219 xmlNodeSetPtr ns, ret; local
257 exsltMathLowest(xmlNodeSetPtr ns) argument
299 xmlNodeSetPtr ns, ret; local
[all...]
/external/chromium_org/chrome/browser/chromeos/policy/
H A Ddevice_local_account_extension_tracker.cc28 PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, account.kiosk_app_id);
29 schema_registry_->RegisterComponent(ns, Schema());
76 PolicyNamespace ns(POLICY_DOMAIN_EXTENSIONS, it.key());
77 schema_registry_->RegisterComponent(ns, Schema());
/external/chromium_org/components/policy/core/common/
H A Dpolicy_service.h30 // Invoked whenever policies for the given |ns| namespace are modified.
34 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
55 virtual const PolicyMap& GetPolicies(const PolicyNamespace& ns) const = 0;
89 const PolicyNamespace& ns);
100 virtual void OnPolicyUpdated(const PolicyNamespace& ns,
H A Dschema_map.cc31 const Schema* SchemaMap::GetSchema(const PolicyNamespace& ns) const {
32 const ComponentMap* map = GetComponents(ns.domain);
35 ComponentMap::const_iterator it = map->find(ns.component_id);
120 PolicyNamespace ns(domain->first, comp->first);
121 if (!other->GetSchema(ns))
122 list->push_back(ns);
H A Dpolicy_bundle.h28 // Returns the PolicyMap for namespace |ns|.
29 PolicyMap& Get(const PolicyNamespace& ns);
30 const PolicyMap& Get(const PolicyNamespace& ns) const;
H A Dpolicy_provider_android.cc23 PolicyNamespace ns(POLICY_DOMAIN_CHROME, std::string());
24 return schema_map()->GetSchema(ns);
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
H A Dqname.cc41 : namespace_(const_value.ns),
45 QName::QName(const std::string& ns, const std::string& local) argument
46 : namespace_(ns),
84 return namespace_.compare(other.ns);
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
H A Dqname.cc24 : namespace_(const_value.ns),
28 QName::QName(const std::string& ns, const std::string& local) argument
29 : namespace_(ns),
67 return namespace_.compare(other.ns);
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
H A Dmutex_time_point.pass.cpp28 typedef std::chrono::nanoseconds ns; typedef
36 ns d = t1 - t0 - ms(250);
37 assert(d < ns(50000000)); // within 50ms
46 ns d = t1 - t0 - ms(250);
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DCondVar.cpp113 long ns = absoluteTime.tv_nsec + ((millisec % 1000) * 1000000); local
114 if (ns > 1000000000)
117 absoluteTime.tv_nsec = ns - 1000000000;
120 absoluteTime.tv_nsec = ns;
/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/x86/util/
H A Dtsc.h17 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc);
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/
H A Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm,
32 thread_blocktime[tid] = nsecs(s, ns)
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm,
37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
48 print "%s[%d] lock %x contended %d times, %d avg ns" % \
/external/chromium_org/third_party/re2/util/
H A Dbenchmark.cc35 static int64 ns; variable
45 ns += nsec() - t0;
69 ns = 0;
80 ns += nsec() - t0;
105 while(ns < (int)1e9 && n < (int)1e9) {
107 if(ns/n == 0)
110 n = 1e9 / (ns/n);
121 if(ns > 0 && bytes > 0)
122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9));
131 printf("%s%s\t%8lld\t%10lld ns/o
[all...]
/external/regex-re2/util/
H A Dbenchmark.cc35 static int64 ns; variable
45 ns += nsec() - t0;
69 ns = 0;
80 ns += nsec() - t0;
105 while(ns < (int)1e9 && n < (int)1e9) {
107 if(ns/n == 0)
110 n = 1e9 / (ns/n);
121 if(ns > 0 && bytes > 0)
122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9));
131 printf("%s%s\t%8lld\t%10lld ns/o
[all...]
/external/chromium_org/third_party/libxslt/libxslt/
H A Dattributes.c91 const xmlChar *ns; /* and its namespace */ member in struct:_xsltAttrElem
250 * @set and @ns; this fixes bug #340400.
256 if (old->ns != NULL)
257 list->ns = xmlDictLookup(style->dict, old->ns, -1);
263 if (old->ns != NULL)
264 cur->next->ns = xmlDictLookup(style->dict, old->ns, -1);
331 (child->ns == NULL) ||
434 refAttrItems->ns
472 xsltGetSAS(xsltStylesheetPtr style, const xmlChar *name, const xmlChar *ns) argument
491 xsltResolveSASCallback(xsltAttrElemPtr values, xsltStylesheetPtr style, const xmlChar *name, const xmlChar *ns, ATTRIBUTE_UNUSED const xmlChar *ignored) argument
546 xsltMergeSASCallback(xsltAttrElemPtr values, xsltStylesheetPtr style, const xmlChar *name, const xmlChar *ns, ATTRIBUTE_UNUSED const xmlChar *ignored) argument
656 xmlNsPtr ns = NULL; local
[all...]
H A Dtemplates.c368 * @ns: the attribute namespace URI
379 const xmlChar *name, const xmlChar *ns)
387 expr = xsltGetNsProp(inst, name, ns);
413 * @ns: the attribute namespace URI
424 const xmlChar *name, const xmlChar *ns, int *found) {
431 expr = xsltGetNsProp(inst, name, ns);
482 if ((attr->ns != NULL) && xmlStrEqual(attr->ns->href, XSLT_NAMESPACE))
507 if (((attr->ns != NULL) == (ret->ns !
378 xsltEvalAttrValueTemplate(xsltTransformContextPtr ctxt, xmlNodePtr inst, const xmlChar *name, const xmlChar *ns) argument
423 xsltEvalStaticAttrValueTemplate(xsltStylesheetPtr style, xmlNodePtr inst, const xmlChar *name, const xmlChar *ns, int *found) argument
[all...]
/external/chromium_org/third_party/libxml/src/include/libxml/
H A Dxpath.h402 * @ns: a node-set
408 #define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
411 * @ns: a node-set
416 * Returns the xmlNodePtr at the given @index in @ns or NULL if
419 #define xmlXPathNodeSetItem(ns, index) \
420 ((((ns) != NULL) && \
421 ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
422 (ns)
[all...]
/external/libxml2/include/libxml/
H A Dxpath.h406 * @ns: a node-set
412 #define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
415 * @ns: a node-set
420 * Returns the xmlNodePtr at the given @index in @ns or NULL if
423 #define xmlXPathNodeSetItem(ns, index) \
424 ((((ns) != NULL) && \
425 ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
426 (ns)
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DSerializerSwitcher.java49 * @param ns Namespace URI of the element
55 TransformerImpl transformer, String ns, String localName)
62 if (((null == ns) || (ns.length() == 0))
143 * @param ns Namespace URI of the element
150 String ns, String localName, Properties props, Serializer oldSerializer)
155 if (((null == ns) || (ns.length() == 0))
54 switchSerializerIfHTML( TransformerImpl transformer, String ns, String localName) argument
149 switchSerializerIfHTML( String ns, String localName, Properties props, Serializer oldSerializer) argument
/external/chromium_org/content/browser/dom_storage/
H A Ddom_storage_host.cc58 DOMStorageNamespace* ns = GetNamespace(connection_id); local
59 DCHECK(ns);
60 if (ns->CountInMemoryAreas() > kMaxInMemoryStorageAreas) {
61 ns->PurgeMemory(DOMStorageNamespace::PURGE_UNOPENED);
62 if (ns->CountInMemoryAreas() > kMaxInMemoryStorageAreas)
63 ns->PurgeMemory(DOMStorageNamespace::PURGE_AGGRESSIVE);
68 DOMStorageNamespace* ns = GetNamespace(connection_id); local
69 DCHECK(ns);
70 *send_log_get_messages = ns->IsLoggingRenderer(render_process_id_);
203 DOMStorageNamespace* ns local
[all...]

Completed in 746 milliseconds

1234567891011>>