/frameworks/base/libs/gui/ |
SensorEventQueue.cpp | 143 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { 144 return mSensorEventConnection->setEventRate(sensor->getHandle(), ns);
|
/frameworks/base/services/sensorservice/ |
SensorService.h | 76 virtual status_t setEventRate(int handle, nsecs_t ns); 136 status_t setEventRate(const sp<SensorEventConnection>& connection, int handle, nsecs_t ns);
|
SensorFusion.h | 66 status_t setDelay(void* ident, int64_t ns);
|
SensorService.cpp | 470 int handle, nsecs_t ns) 479 if (ns < 0) 483 if (ns < minDelayNs) { 484 ns = minDelayNs; 487 if (ns < MINIMUM_EVENTS_PERIOD) 488 ns = MINIMUM_EVENTS_PERIOD; 490 return sensor->setDelay(connection.get(), handle, ns); 625 int handle, nsecs_t ns) 627 return mService->setEventRate(this, handle, ns);
|
/external/libxml2/ |
xmlsave.c | 616 if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) { 617 xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix); 883 if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) { 884 xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix); 916 if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) { 917 xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix); 1106 if ((node->ns != NULL) && (!xmlStrEqual(node->ns->href, XHTML_NS_NAME)) [all...] |
HTMLtree.c | 676 if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) { 677 xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix); 685 if ((cur->ns == NULL) && (cur->parent != NULL) && 686 (cur->parent->ns == NULL) && 848 if (cur->ns == NULL) 854 if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) { 855 xmlOutputBufferWriteString(buf, (const char *)cur->ns->prefix); 884 if ((cur->ns != NULL) && (cur->ns->prefix != NULL)) [all...] |
relaxng.c | 40 "http://relaxng.org/ns/structure/1.0"; 43 ((node != NULL) && (node->ns != NULL) && \ 45 (xmlStrEqual(node->ns->href, xmlRelaxNGNs))) 157 xmlChar *ns; /* the namespace local name if present */ member in struct:_xmlRelaxNGDefine 985 if (define->ns != NULL) 986 xmlFree(define->ns); 3750 xmlNs ns; local 4632 xmlChar *ns; local 6903 xmlChar *href, *ns, *base, *URL; local 6989 xmlChar *href, *ns, *base, *URL; local 7045 xmlChar *name, *ns; local 7098 xmlChar *ns = NULL; local 7126 xmlNsPtr ns; local 7199 xmlChar *ns; local [all...] |
/external/srec/srec/cfront/ |
spec_anl.c | 47 void magsq(fftdata *x, fftdata *y, fftdata *z, int ns); 186 void magsq(fftdata *x, fftdata *y, fftdata *z, int ns) 196 for (i = 1; i < ns; i++) 418 void freq_warp(front_freq *freqobj, fftdata *inbuf, int ns) 431 tmpbuf = (fftdata *) CALLOC(ns, sizeof(fftdata), "cfront.tmpbuf"); 446 c = (float)((1.0 - b) * (ns - 1)); 448 nsE = (int)(y1 * (ns - 1)); 450 for (i = 0; i < ns; i++) 458 if (u < ns) 464 tmpbuf[i] = inbuf[ns-1] [all...] |
/external/libxslt/libxslt/ |
xsltInternals.h | 126 (((n) != NULL) && ((n)->ns != NULL) && \ 127 ((n)->ns->href == xsltConstNamespaceNameXSLT)) 135 (((a) != NULL) && ((a)->ns != NULL) && \ 136 ((a)->ns->href == xsltConstNamespaceNameXSLT)) 163 (((n) != NULL) && ((n)->ns != NULL) && \ 164 (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))) 172 (((a) != NULL) && ((a)->ns != NULL) && \ 173 (xmlStrEqual((a)->ns->href, XSLT_NAMESPACE))) 654 const xmlChar *ns; member in struct:_xsltStyleItemElement 676 const xmlChar *ns; member in struct:_xsltStyleItemAttribute 777 const xmlChar *ns; \/* element *\/ member in struct:_xsltStyleItemCallTemplate 969 const xmlChar *ns; member in struct:_xsltStyleBasicItemVariable 1007 const xmlChar *ns; member in struct:_xsltStyleItemParam 1214 xmlNsPtr ns; \/* the xmlNs structure holding the XML namespace name *\/ member in struct:_xsltNsMap 1233 xmlNsPtr ns; member in struct:_xsltNsList 1393 const xmlChar *ns; \/* element *\/ member in struct:_xsltStylePreComp [all...] |
xsltutils.c | 86 xmlNsPtr ns; local 104 (((prop->ns == NULL) && (node->ns != NULL) && 105 (xmlStrEqual(node->ns->href, nameSpace))) || 106 ((prop->ns != NULL) && 107 (xmlStrEqual(prop->ns->href, nameSpace))))) { 138 ns = xmlSearchNs(doc, node, attrDecl->prefix); 139 if ((ns != NULL) && (xmlStrEqual(ns->href, nameSpace))) 170 xmlNsPtr ns; local 775 xmlNsPtr ns; local 849 xmlNsPtr ns; local [all...] |
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
xmlparser.h | 101 void StartNamespace(const char * prefix, const char * ns);
|
/external/qemu/slirp/ |
tcp_subr.c | 792 struct socket *ns; 803 if ((ns=socreate()) == NULL) 805 if (tcp_attach(ns)<0) { 806 free(ns); 810 ns->so_laddr=so->so_laddr; 811 ns->so_lport=htons(port); 813 (void) tcp_mss(sototcpcb(ns), 0); 815 ns->so_faddr=so->so_faddr; 816 ns->so_fport=htons(IPPORT_RESERVED-1); /* Use a fake port. */ 818 if (ns->so_faddr.s_addr == 0 | [all...] |
/frameworks/base/include/gui/ |
SensorEventQueue.h | 65 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
|
/frameworks/base/tools/aapt/ |
Main.h | 57 String8 getAttribute(const ResXMLTree& tree, const char* ns,
|
/libcore/luni/src/main/java/java/awt/font/ |
NumericShaper.java | 518 NumericShaper ns = (NumericShaper)obj; local 519 return (fRanges == ns.fRanges && 520 fDefaultContextIndex == ns.fDefaultContextIndex && 521 fContextual == ns.fContextual); [all...] |
/external/icu4c/i18n/ |
dcfmtsym.cpp | 214 NumberingSystem* ns = NumberingSystem::createInstance(loc,status); local 215 if (U_SUCCESS(status) && ns->getRadix() == 10 && !ns->isAlgorithmic()) { 216 nsName = ns->getName(); 217 UnicodeString *DigitString = new UnicodeString(ns->getDescription()); 288 if (ns) { 289 delete ns;
|
/device/samsung/tuna/libsensors/ |
sensors.cpp | 131 int setDelay(int handle, int64_t ns); 257 int sensors_poll_context_t::setDelay(int handle, int64_t ns) 262 return mSensors[index]->setDelay(handle, ns); 351 int handle, int64_t ns) 355 return ctx->setDelay(handle, ns);
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DOMBuilder.java | 311 * @param ns The namespace of the node 319 String ns, String localName, String name, Attributes atts) 327 if ((null == ns) || (ns.length() == 0)) 330 elem = m_doc.createElementNS(ns, name); 421 * @param ns the namespace of the element 425 public void endElement(String ns, String localName, String name)
|
/external/libxml2/include/libxml/ |
tree.h | 351 struct _xmlNs *next; /* next Ns link for this node */ 405 xmlNs *ns; /* pointer to the associated namespace */ member in struct:_xmlAttr 462 xmlNs *ns; /* pointer to the associated namespace */ member in struct:_xmlNode 586 * Use this one to acquire an xmlNsPtr intended for node->ns. 751 xmlNsPtr ns, 756 xmlNsPtr ns, 783 xmlNsPtr ns, 788 xmlNsPtr ns, 792 xmlNewNode (xmlNsPtr ns, 795 xmlNewNodeEatName (xmlNsPtr ns, [all...] |
xmlschemastypes.h | 39 const xmlChar *ns); 132 const xmlChar *ns);
|
xpathInternals.h | 172 * @ns: a node-set 174 * Pushes the node-set @ns on the context stack. 176 #define xmlXPathReturnNodeSet(ctxt, ns) \ 177 valuePush((ctxt), xmlXPathWrapNodeSet(ns)) 227 * @ns: a node-set 231 #define xmlXPathEmptyNodeSet(ns) \ 232 { while ((ns)->nodeNr > 0) (ns)->nodeTab[(ns)->nodeNr--] = NULL; } 510 xmlNsPtr ns); [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
CtsXmlResultReporter.java | 64 static final String ns = null; field in class:CtsXmlResultReporter 323 serializer.startTag(ns, RESULT_TAG); 324 serializer.attribute(ns, PLAN_ATTR, mPlanName); 325 serializer.attribute(ns, STARTTIME_ATTR, startTime); 326 serializer.attribute(ns, "endtime", endTime); 327 serializer.attribute(ns, "version", CTS_RESULT_FILE_VERSION); 331 //serializer.endTag(ns, RESULT_TAG);
|
/external/icu4c/test/perf/collationperf/ |
collperf.cpp | 423 int ns = (int)(float(1000000) * (float)elapsedTime / (float)(adj_loopCount*gNumFileLines)); local 427 printf("Sort Key Generation: time per key = %d ns\n", ns); 430 printf("%d, ", ns); 678 int ns = (int)(float(1000000) * (float)elapsedTime / (float)gCount); local 682 printf("binary search: time per compare = %d ns\n", ns); 684 printf("%d, ", ns); 762 int ns = (int)(float(1000000) * (float)elapsedTime / (float)gCount); local 765 printf("qsort: time per compare = %d ns\n", ns) 876 int ns = (int)(float(1000000) * (float)elapsedTime \/ (float)gCount); local 1040 int ns = (int)(float(1000000) * (float)elapsedTime \/ (float)gCount); local [all...] |
/external/clang/test/SemaCXX/ |
attr-deprecated.cpp | 82 namespace ns { namespace in namespace:test1 87 foo(ns::Foo()); // expected-warning {{deprecated}}
|
/frameworks/base/media/libeffects/data/ |
audio_effects.conf | 83 ns {
|