HomeSort by relevance Sort by last modified time
    Searched defs:repr (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/llvm/unittests/ADT/
TwineTest.cpp 18 std::string repr(const Twine &Value) { function in namespace:__anon28301
52 // Check verse repr, since we care about the actual representation not just
57 repr(Twine("hi").concat(Twine::createNull())));
59 repr(Twine::createNull().concat(Twine("hi"))));
63 repr(Twine("hi").concat(Twine())));
65 repr(Twine().concat(Twine("hi"))));
67 repr(Twine().concat(Twine(SmallString<5>("hi")))));
69 repr(Twine(SmallString<7>("hey")).concat(Twine("there"))));
73 repr(Twine("a").concat(Twine("b"))));
77 repr(Twine("a").concat(Twine("b")).concat(Twine("c"))))
    [all...]
  /external/swiftshader/third_party/LLVM/unittests/ADT/
TwineTest.cpp 18 std::string repr(const Twine &Value) { function in namespace:__anon36495
51 // Check verse repr, since we care about the actual representation not just
56 repr(Twine("hi").concat(Twine::createNull())));
58 repr(Twine::createNull().concat(Twine("hi"))));
62 repr(Twine("hi").concat(Twine())));
64 repr(Twine().concat(Twine("hi"))));
68 repr(Twine("a").concat(Twine("b"))));
72 repr(Twine("a").concat(Twine("b")).concat(Twine("c"))));
74 repr(Twine("a").concat(Twine("b").concat(Twine("c")))));
  /external/snakeyaml/src/test/java/examples/staticstate/
StaticFieldsWrapperTest.java 62 Representer repr = new Representer(); local
63 repr.addClassTag(Wrapper.class, new Tag("!mybean"));
64 Yaml yaml = new Yaml(repr);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue60/
CustomOrderTest.java 38 Representer repr = new Representer(); local
39 repr.setPropertyUtils(new ReversedPropertyUtils());
40 Yaml yaml = new Yaml(repr);
57 Representer repr = new Representer(); local
58 repr.setPropertyUtils(new UnsortedPropertyUtils());
59 Yaml yaml = new Yaml(repr);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
LongTest.java 55 Representer repr = new Representer(); local
56 repr.addClassTag(Long.class, new Tag("!!java.lang.Long"));
57 Yaml yaml = new Yaml(repr, options);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/
RubyTest.java 60 Representer repr = new Representer(); local
61 repr.addClassTag(TestObject.class, new Tag("!ruby/object:Test::Module::Object"));
62 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1"));
63 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2"));
64 Yaml yaml2 = new Yaml(repr, options);
84 Representer repr = new Representer(); local
85 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1"));
86 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2"));
87 Yaml yaml2 = new Yaml(repr, options);
  /external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
RandomKeyMutation.java 48 List<Double> repr = originalRk.getRepresentation(); local
49 int rInd = GeneticAlgorithm.getRandomGenerator().nextInt(repr.size());
51 List<Double> newRepr = new ArrayList<Double> (repr);
RandomKey.java 131 // now find the indices in the original repr and use them for permuting
193 List<Double> repr = new ArrayList<Double>(l); local
195 repr.add(GeneticAlgorithm.getRandomGenerator().nextDouble());
197 return repr;
209 List<Double> repr = new ArrayList<Double>(l); local
211 repr.add((double)i/l);
213 return repr;
  /system/netd/server/
Network.cpp 60 std::stringstream repr; local
62 repr << mNetId;
64 repr << kSeparator;
67 repr << "DUMMY";
70 repr << "LOCAL";
73 repr << "PHYSICAL";
76 repr << "VIRTUAL";
79 repr << "unknown";
83 repr << kSeparator << android::base::Join(mInterfaces, ",");
86 return repr.str()
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
repr.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x): member in class:Repr
34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x)
132 repr = aRepr.repr variable
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
repr.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x): member in class:Repr
34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x)
132 repr = aRepr.repr variable
    [all...]
  /external/python/cpython2/Lib/
repr.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x): member in class:Repr
34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x
132 repr = aRepr.repr variable
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
repr.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x): member in class:Repr
34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x
132 repr = aRepr.repr variable
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
repr.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x): member in class:Repr
34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x
132 repr = aRepr.repr variable
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
repr.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x): member in class:Repr
34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x
132 repr = aRepr.repr variable
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
repr.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr","repr"]
8 class Repr:
23 def repr(self, x): member in class:Repr
34 s = __builtin__.repr(x)
92 s = __builtin__.repr(x[:self.maxstring])
96 s = __builtin__.repr(x[:i] + x[len(x)-j:])
101 s = __builtin__.repr(x) # XXX Hope this isn't too slow...
110 s = __builtin__.repr(x
132 repr = aRepr.repr variable
    [all...]
  /external/python/cpython3/Lib/
reprlib.py 1 """Redo the builtin repr() (representation) but with limits on most sizes."""
3 __all__ = ["Repr", "repr", "recursive_repr"]
13 'Decorator to make a repr function return fillvalue for a recursive call'
39 class Repr:
54 def repr(self, x): member in class:Repr
124 s = builtins.repr(x[:self.maxstring])
128 s = builtins.repr(x[:i] + x[len(x)-j:])
133 s = builtins.repr(x) # XXX Hope this isn't too slow...
142 s = builtins.repr(x
164 repr = aRepr.repr variable
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue67/
NonAsciiCharsInClassNameTest.java 88 Representer repr = new Representer(); local
89 repr.addClassTag(Académico.class, new Tag("!foo"));
90 Yaml yaml = new Yaml(repr);
99 Representer repr = new Representer(); local
100 repr.addClassTag(Académico.class, new Tag("!Académico"));
101 Yaml yaml = new Yaml(repr);
  /external/python/cpython3/Objects/
namespaceobject.c 74 PyObject *separator, *pairsrepr, *repr = NULL; local
134 repr = PyUnicode_FromFormat("%s(%S)", name, pairsrepr);
144 return repr;
structseq.c 184 PyObject *val, *repr; local
194 repr = PyObject_Repr(val);
195 if (repr == NULL)
197 crepr = PyUnicode_AsUTF8(repr);
199 Py_DECREF(repr);
214 Py_DECREF(repr);
220 Py_DECREF(repr);
  /art/tools/dexfuzz/src/dexfuzz/rawdex/
Instruction.java 211 String repr = info.name; local
247 repr += "(" + vregs + ")";
250 repr += " meth@" + poolIndex;
252 return repr;
273 repr += " " + vregs;
277 repr += " #" + constant;
281 repr += " pool@" + poolIndex;
285 repr += " +" + target;
288 return repr;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
_iomodule.c 321 PyObject *repr = PyObject_Repr(file);
322 if (repr != NULL) {
324 PyString_AS_STRING(repr));
325 Py_DECREF(repr);
318 PyObject *repr = PyObject_Repr(file); local
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
structseq.c 262 PyObject *val, *repr; local
271 repr = PyObject_Repr(val);
272 if (repr == NULL) {
276 crepr = PyString_AsString(repr);
279 Py_DECREF(repr);
294 Py_DECREF(repr);
300 Py_DECREF(repr);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
_iomodule.c 320 PyObject *repr = PyObject_Repr(file);
321 if (repr != NULL) {
323 PyString_AS_STRING(repr));
324 Py_DECREF(repr);
317 PyObject *repr = PyObject_Repr(file); local
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
structseq.c 261 PyObject *val, *repr; local
270 repr = PyObject_Repr(val);
271 if (repr == NULL) {
275 crepr = PyString_AsString(repr);
278 Py_DECREF(repr);
293 Py_DECREF(repr);
299 Py_DECREF(repr);

Completed in 434 milliseconds

1 2 3