HomeSort by relevance Sort by last modified time
    Searched refs:ns (Results 1 - 25 of 207) sorted by null

1 2 3 4 5 6 7 8 9

  /libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
NamespaceSupportTest.java 43 NamespaceSupport ns; field in class:NamespaceSupportTest
52 ns = new NamespaceSupport();
53 ns.pushContext();
55 ns.declarePrefix("ak", marketUri);
56 ns.declarePrefix("bk", marketUri);
57 ns.declarePrefix("", defaultUri);
79 ns = new NamespaceSupport();
80 Enumeration<String> prefixes = ns.getDeclaredPrefixes();
91 ns.popContext();
113 ns = new NamespaceSupport()
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
util.h 41 int32 ns = 0; local
42 strm.read(reinterpret_cast<char *>(&ns), sizeof(ns));
43 for (int i = 0; i < ns; ++i) {
61 int32 ns = s.size(); local
62 strm.write(reinterpret_cast<const char *>(&ns), sizeof(ns));
63 return strm.write(s.data(), ns);
  /system/core/nexus/
PropertyManager.h 34 int attachProperty(const char *ns, Property *p);
35 int detachProperty(const char *ns, Property *p);
43 PropertyNamespace *lookupNamespace_UNLOCKED(const char *ns);
44 Property *lookupProperty_UNLOCKED(PropertyNamespace *ns, const char *name);
PropertyManager.cpp 43 PropertyNamespace *PropertyManager::lookupNamespace_UNLOCKED(const char *ns) {
47 if (!strcasecmp(ns, (*ns_it)->getName()))
54 Property *PropertyManager::lookupProperty_UNLOCKED(PropertyNamespace *ns, const char *name) {
57 for (it = ns->getProperties()->begin();
58 it != ns->getProperties()->end(); ++it) {
67 PropertyNamespace *ns; local
71 if (!(ns = lookupNamespace_UNLOCKED(ns_name))) {
73 ns = new PropertyNamespace(ns_name);
74 mNamespaces->push_back(ns);
77 if (lookupProperty_UNLOCKED(ns, p->getName()))
91 PropertyNamespace *ns; local
    [all...]
  /frameworks/base/tools/localize/
XMLNode.h 10 string ns; member in struct:XMLAttribute
15 const string& ns, const string& name, const string& def);
XMLHandler.h 19 string ns; member in struct:XMLAttribute
25 XMLAttribute(string ns, string name, string value);
38 const string& ns, const string& name, const string& def);
46 string Get(const string& ns) const;
47 string GetPrefix(const string& ns) const;
66 static XMLNode* NewElement(const SourcePos& pos, const string& ns, const string& name,
89 inline void SetName(const string& ns, const string& n) { m_ns = ns; m_name = n; }
94 vector<XMLNode*> GetElementsByName(const string& ns, const string& name) const;
95 XMLNode* GetElementByNameAt(const string& ns, const string& name, size_t index) const
    [all...]
  /external/bluetooth/bluez/network/
server.c 110 struct network_server *ns = l->data; local
112 if (ns->id == id)
113 return ns;
270 static int server_connadd(struct network_server *ns,
287 if (bnep_add_to_bridge(devname, ns->bridge) < 0) {
289 devname, ns->bridge, strerror(errno), errno);
295 ns->sessions = g_slist_append(ns->sessions, session);
376 struct network_server *ns; local
410 ns = find_server(na->servers, dst_role)
483 struct network_server *ns; local
587 struct network_server *ns = user_data; local
603 struct network_server *ns = data; local
638 struct network_server *ns = data; local
695 struct network_server *ns = data; local
750 struct network_server *ns; local
795 struct network_server *ns; local
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
CtsXmlResultReporter.java 71 private static final String ns = null; field in class:CtsXmlResultReporter
201 serializer.startTag(ns, "TestResult");
203 serializer.attribute(ns, "testPlan", "unknown");
204 serializer.attribute(ns, "profile", "unknown");
205 serializer.attribute(ns, "starttime", startTime);
206 serializer.attribute(ns, "endtime", endTime);
207 serializer.attribute(ns, "version", CTS_RESULT_FILE_VERSION);
221 serializer.startTag(ns, "DeviceInfo");
232 serializer.startTag(ns, "Screen");
235 serializer.attribute(ns, "resolution", String.format("%sx%s", screenWidth, screenHeight))
    [all...]
  /external/expat/lib/
xmltok_ns.c 9 NS(XmlGetUtf8InternalEncoding)(void)
11 return &ns(internal_utf8_encoding).enc;
15 NS(XmlGetUtf16InternalEncoding)(void)
18 return &ns(internal_little2_encoding).enc;
20 return &ns(internal_big2_encoding).enc;
24 ? &ns(internal_little2_encoding).enc
25 : &ns(internal_big2_encoding).enc);
29 static const ENCODING * const NS(encodings)[] = {
30 &ns(latin1_encoding).enc,
31 &ns(ascii_encoding).enc
    [all...]
  /libcore/luni/src/main/java/org/apache/xpath/
ExtensionsProvider.java 38 public boolean functionAvailable(String ns, String funcName)
44 public boolean elementAvailable(String ns, String elemName)
50 public Object extFunction(String ns, String funcName,
  /libcore/luni/src/test/java/com/google/coretests/
XmlReportPrinter.java 68 private static final String ns = null; field in class:XmlReportPrinter
171 serializer.startTag(ns, TESTSUITE);
172 serializer.attribute(ns, ATTR_NAME, name);
173 serializer.attribute(ns, ATTR_TESTS, Integer.toString(tests.size()));
174 serializer.attribute(ns, ATTR_FAILURES, Integer.toString(failures.size()));
175 serializer.attribute(ns, ATTR_ERRORS, Integer.toString(errors.size()));
176 serializer.attribute(ns, ATTR_TIME, "0");
178 serializer.attribute(ns, TIMESTAMP, timestamp);
179 serializer.attribute(ns, HOSTNAME, "localhost");
180 serializer.startTag(ns, PROPERTIES)
    [all...]
  /libcore/luni/src/main/java/org/apache/xalan/extensions/
ExtensionsTable.java 101 * @param ns the URI of namespace in which the function is needed
108 public boolean functionAvailable(String ns, String funcName)
113 if (null != ns)
116 (ExtensionHandler) m_extensionFunctionNamespaces.get(ns);
125 * @param ns the URI of namespace in which the function is needed
132 public boolean elementAvailable(String ns, String elemName)
136 if (null != ns)
139 (ExtensionHandler) m_extensionFunctionNamespaces.get(ns);
148 * @param ns the URI of namespace in which the function is needed
161 public Object extFunction(String ns, String funcName,
213 String ns = extFunction.getNamespace(); local
    [all...]
  /libcore/luni/src/main/java/java/io/
StringReader.java 218 * Moves {@code ns} characters in the source string. Unlike the {@link
224 * @param ns
238 public long skip(long ns) throws IOException {
245 if (maxSkip == 0 || ns > maxSkip) {
246 ns = maxSkip; // no rewinding if we're at the end
247 } else if (ns < minSkip) {
248 ns = minSkip;
251 pos += ns;
252 return ns;
  /external/libxml2/
c14n.c 47 xmlNsPtr *nsTab; /* array of ns in no particular order */
75 xmlNsPtr ns,
83 xmlNsPtr ns);
85 xmlNsPtr ns,
253 xmlNs ns; local
255 memcpy(&ns, node, sizeof(ns));
259 ns.next = (xmlNsPtr)parent->parent;
261 ns.next = (xmlNsPtr)parent;
268 return(xmlXPathNodeSetContains(nodes, (xmlNodePtr)&ns));
599 xmlNsPtr ns, tmp; local
703 xmlNsPtr ns; local
1059 xmlNsPtr ns; local
    [all...]
  /bionic/libc/netbsd/resolv/
res_send.c 229 int ns; local
234 for (ns = 0; ns < statp->nscount; ns++) {
235 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns);
247 for (ns = 0; ns < statp->nscount; ns++) {
248 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns);
358 int gotsomewhere, terrno, try, v_circuit, resplen, ns, n local
    [all...]
  /external/chromium/third_party/icu/source/i18n/
numsys.cpp 81 NumberingSystem *ns = new NumberingSystem(); local
83 ns->setRadix(radix_in);
84 ns->setDesc(desc_in);
85 ns->setAlgorithmic(isAlgorithmic_in);
86 return ns;
103 NumberingSystem *ns = new NumberingSystem(); local
105 return ns;
115 NumberingSystem *ns = new NumberingSystem(); local
117 return ns;
  /external/icu4c/i18n/
numsys.cpp 82 NumberingSystem *ns = new NumberingSystem(); local
84 ns->setRadix(radix_in);
85 ns->setDesc(desc_in);
86 ns->setAlgorithmic(isAlgorithmic_in);
87 return ns;
104 NumberingSystem *ns = new NumberingSystem(); local
105 return ns;
118 NumberingSystem *ns = new NumberingSystem(); local
119 return ns;
  /external/libxml2/include/libxml/
xpath.h 402 * @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)->nodeTab[(index)]
    [all...]
  /libcore/luni/src/main/java/org/apache/xalan/transformer/
SerializerSwitcher.java 49 * @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))
ClonerToResultTree.java 80 // String ns = dtm.getNamespaceURI(node);
83 // m_rth.startElement(ns, localName, dtm.getNodeNameX(node), null);
154 String ns = dtm.getNamespaceURI(node); local
155 if (ns==null) ns="";
157 // rth.startElement(ns, localName, dtm.getNodeNameX(node), null);
160 rth.startElement(ns, localName, dtm.getNodeNameX(node));
  /frameworks/base/services/sensorservice/
SensorInterface.cpp 60 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) {
61 return mSensorDevice.setDelay(ident, handle, ns);
SensorInterface.h 43 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0;
66 virtual status_t setDelay(void* ident, int handle, int64_t ns);
LinearAccelerationSensor.h 45 virtual status_t setDelay(void* ident, int handle, int64_t ns);
  /device/samsung/crespo/libsensors/
GyroSensor.h 48 virtual int setDelay(int32_t handle, int64_t ns);
  /frameworks/base/opengl/java/android/opengl/
Material.java 34 private float ns; field in class:Material
57 Math.min(Math.max(ns, 0), 128));
69 // Math.min(Math.max(ns, 0), 128));
101 this.ns = dis.readFloat();
112 "ns=" + ns + "," +

Completed in 494 milliseconds

1 2 3 4 5 6 7 8 9