/frameworks/base/core/java/android/net/ |
NetworkUtils.java | 302 String[] pieces = ipAndMaskString.split("/", 2); local 303 prefixLength = Integer.parseInt(pieces[1]); 304 address = InetAddress.parseNumericAddress(pieces[0]);
|
/frameworks/base/tools/aapt2/util/ |
Util.cpp | 127 int pieces = 0; local 129 pieces++; 134 return pieces; 146 int pieces = 0; local 164 pieces++; 166 return pieces;
|
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 111 String[] pieces = param.substring(8).split("\\+"); local 112 if (pieces.length > 3) { 115 if (pieces.length > 0 && pieces[0].length() > 0) { 116 options.backoffFixedMillis = parseSeconds(pieces[0]); 118 if (pieces.length > 1 && pieces[1].length() > 0) { 119 options.backoffIncrementalMillis = parseSeconds(pieces[1]); 121 if (pieces.length > 2 && pieces[2].length() > 0) [all...] |
/system/core/adb/ |
services.cpp | 383 std::vector<std::string> pieces = android::base::Split(port_spec, ","); local 384 if (pieces.size() != 2) { 390 int console_port = strtol(pieces[0].c_str(), NULL, 0); 391 int adb_port = strtol(pieces[1].c_str(), NULL, 0);
|
adb.cpp | 271 std::vector<std::string> pieces = android::base::Split(banner, ":"); local 277 if (pieces.size() > 2) { 278 const std::string& props = pieces[2]; 300 const std::string& type = pieces[0]; 973 std::vector<std::string> pieces = android::base::Split(service, ";"); local [all...] |
/system/core/init/ |
util.cpp | 251 std::vector<std::string> pieces = android::base::Split(entry, "="); local 252 if (pieces.size() == 2) { 253 fn(pieces[0], pieces[1], in_qemu);
|
/system/tools/aidl/ |
type_cpp.cpp | 571 auto pieces = Split(package, "."); local 572 for (const string& piece : pieces) {
|
aidl.cpp | 465 vector<string> pieces = Split(line.substr(0, end + 1), " \t"); local 466 for (const string& piece : pieces) {
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
EmailTest.java | 244 final String[] pieces = data.split(Email.CRLF + Email.CRLF, 2); local 246 for (String header : pieces[0].split(Email.CRLF)) { 255 if (pieces.length < 2) { 258 return pieces[1];
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
TransliterationChart.java | 155 UnicodeSet pieces = new UnicodeSet(); local 162 if (UCharacter.getName(d.charAt(1)).indexOf("LENGTH") >= 0) pieces.add(d.charAt(1)); 164 pw.println(pieces);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
LegacyManifestParser.java | 369 String[] pieces = s.split("\\|"); local 371 for (String s1 : pieces) {
|
/system/core/fs_mgr/ |
fs_mgr_avb.cpp | 157 std::vector<std::string> pieces = android::base::Split(entry, "="); local 158 const std::string& key = pieces[0]; 159 const std::string& value = pieces[1];
|
/system/security/keystore/ |
keystore_cli_v2.cpp | 515 std::vector<std::string> pieces = local 518 for (auto& p : pieces) {
|
/build/make/tools/releasetools/ |
common.py | 315 pieces = line.split() variable in class:LoadRecoveryFSTab.Partition 316 if len(pieces) != 5: 320 options = pieces[4] 334 mount_flags = pieces[3] 341 mount_point = pieces[1] 342 d[mount_point] = Partition(mount_point=mount_point, fs_type=pieces[2], 343 device=pieces[0], length=length, context=context) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
tupleobject.c | 270 PyObject *pieces, *result = NULL;
local 285 pieces = PyTuple_New(n);
286 if (pieces == NULL)
297 PyTuple_SET_ITEM(pieces, i, s);
305 temp = PyTuple_GET_ITEM(pieces, 0);
307 PyTuple_SET_ITEM(pieces, 0, s);
314 temp = PyTuple_GET_ITEM(pieces, n-1);
316 PyTuple_SET_ITEM(pieces, n-1, temp);
324 result = _PyString_Join(s, pieces);
328 Py_DECREF(pieces);
[all...] |
dictobject.c | 1083 PyObject *pieces = NULL, *result = NULL; local [all...] |
listobject.c | 366 PyObject *pieces = NULL, *result = NULL;
local 378 pieces = PyList_New(0);
379 if (pieces == NULL)
392 status = PyList_Append(pieces, s);
399 assert(PyList_GET_SIZE(pieces) > 0);
403 temp = PyList_GET_ITEM(pieces, 0);
405 PyList_SET_ITEM(pieces, 0, s);
412 temp = PyList_GET_ITEM(pieces, PyList_GET_SIZE(pieces) - 1);
414 PyList_SET_ITEM(pieces, PyList_GET_SIZE(pieces) - 1, temp); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
tupleobject.c | 268 PyObject *pieces, *result = NULL;
local 283 pieces = PyTuple_New(n);
284 if (pieces == NULL)
295 PyTuple_SET_ITEM(pieces, i, s);
303 temp = PyTuple_GET_ITEM(pieces, 0);
305 PyTuple_SET_ITEM(pieces, 0, s);
312 temp = PyTuple_GET_ITEM(pieces, n-1);
314 PyTuple_SET_ITEM(pieces, n-1, temp);
322 result = _PyString_Join(s, pieces);
326 Py_DECREF(pieces);
[all...] |
dictobject.c | 1058 PyObject *pieces = NULL, *result = NULL; local [all...] |
/external/python/cpython2/Objects/ |
tupleobject.c | 270 PyObject *pieces, *result = NULL; local 285 pieces = PyTuple_New(n); 286 if (pieces == NULL) 297 PyTuple_SET_ITEM(pieces, i, s); 305 temp = PyTuple_GET_ITEM(pieces, 0); 307 PyTuple_SET_ITEM(pieces, 0, s); 314 temp = PyTuple_GET_ITEM(pieces, n-1); 316 PyTuple_SET_ITEM(pieces, n-1, temp); 324 result = _PyString_Join(s, pieces); 328 Py_DECREF(pieces); [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
RopeByteString.java | 50 * ByteStrings, without copying the data in the pieces. The concatenation is 63 * <p>Fundamentally the Rope algorithm represents the collection of pieces as a 147 * <p>Small pieces of length less than {@link 149 * BAP95. Large pieces are referenced without copy. 271 // Pieces 375 PieceIterator pieces = new PieceIterator(this); local 376 while (pieces.hasNext()) { 377 LeafByteString byteString = pieces.next(); 511 // We always get to the end of at least one of the pieces 556 * authors use an array to keep track of pieces, while here we use a stack [all...] |
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
ByteStringTest.java | 150 final List<ByteString> pieces = makeConcretePieces(testBytes); local 152 ByteString byteString = ByteString.copyFrom(pieces); 159 return pieces.iterator(); 548 List<ByteString> pieces = makeConcretePieces(referenceBytes); local 549 ByteString listString = ByteString.copyFrom(pieces); 584 List<ByteString> pieces = makeConcretePieces(referenceBytes); local 585 ByteString listString = ByteString.copyFrom(pieces); 597 List<ByteString> pieces = makeConcretePieces(referenceBytes); local 599 Iterator<ByteString> iter = pieces.iterator(); 698 List<ByteString> pieces = new ArrayList<ByteString>() local [all...] |
/external/python/cpython3/Objects/ |
odictobject.c | 1477 PyObject *pieces = NULL, *result = NULL; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
literal_util.cc | 130 // We need to iterate through the pieces to set the subshape pointer 148 // We need to iterate through the pieces to set the subshape pointer 1241 std::vector<string> pieces; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
shape_inference.cc | 1110 std::vector<string> pieces; local [all...] |