/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 185 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); local 186 ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI) 190 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) 196 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) 203 ops.add(ContentProviderOperation.newInsert(ContactsContract.Data.CONTENT_URI) 216 getContentResolver().applyBatch(ContactsContract.AUTHORITY, ops);
|
/external/fio/oslib/ |
libmtd.c | 1130 struct mtd_write_req ops; local 1159 ops.start = seek; 1160 ops.len = len; 1161 ops.ooblen = ooblen; 1162 ops.usr_data = (uint64_t)(unsigned long)data; 1163 ops.usr_oob = (uint64_t)(unsigned long)oob; 1164 ops.mode = mode; 1166 ret = ioctl(fd, MEMWRITE, &ops); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableListTest.java | 465 ops(add(1), add(2)), 470 ops(add(1), nop()), 475 ops(add(1), remove()), 480 ops(nop(), add(1)), 485 ops(remove(), nop()), 490 ops(remove(), add(2)), 495 ops(remove(), remove()), 500 ops(remove(), nop()), 505 ops(remove(), add(3)), 510 ops(nop(), remove()) 523 private static ImmutableList<ListFrobber> ops(ListFrobber... elements) { method in class:ImmutableListTest.ConcurrentTests [all...] |
/external/libevent/ |
listener.c | 76 const struct evconnlistener_ops *ops; member in struct:evconnlistener 133 listener->ops->destroy(listener); 184 lev->base.ops = &evconnlistener_event_ops; 269 if (lev->ops->shutdown) 270 lev->ops->shutdown(lev); 293 r = lev->ops->enable(lev); 306 r = lev->ops->disable(lev); 332 fd = lev->ops->getfd(lev); 350 base = lev->ops->getbase(lev); 835 lev->base.ops = &evconnlistener_iocp_ops [all...] |
/external/libnl/lib/ |
msg.c | 726 struct nl_cache_ops *ops; local 736 ops = nl_cache_ops_associate_safe(nlmsg_get_proto(msg), 738 if (ops == NULL) 742 err = nl_cache_parse(ops, NULL, nlmsg_hdr(msg), &p); 743 nl_cache_ops_put(ops); 799 struct nl_cache_ops *ops; local 805 ops = nl_cache_ops_associate_safe(nlmsg_get_proto(msg), nlh->nlmsg_type); 806 if (ops) { 807 mt = nl_msgtype_lookup(ops, nlh->nlmsg_type); 811 snprintf(buf, sizeof(buf), "%s::%s", ops->co_name, mt->mt_name) 934 struct nl_cache_ops *ops; local [all...] |
/external/libnl/lib/route/ |
tc.c | 64 struct rtnl_tc_ops *ops; local 167 ops = rtnl_tc_get_ops(tc); 168 if (ops && ops->to_msg_parser) { 174 err = ops->to_msg_parser(tc, data); 197 struct rtnl_tc_ops *ops; local 216 ops = rtnl_tc_get_ops(tc); 217 if (ops && (ops->to_msg_fill || ops->to_msg_fill_raw)) 736 struct rtnl_tc_ops *ops; local 755 struct rtnl_tc_ops *ops; local 799 struct rtnl_tc_ops *ops; local 937 struct rtnl_tc_ops *ops; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/sb/ |
sb_bc_finalize.cpp | 519 unsigned ops[2] = { FETCH_OP_SET_GRADIENTS_V, FETCH_OP_SET_GRADIENTS_H }; local 525 n->bc.set_op(ops[op]);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
r600_query.h | 108 struct r600_query_ops *ops; member in struct:r600_query 150 struct r600_query_hw_ops *ops; member in struct:r600_query_hw
|
/external/syslinux/core/fs/pxe/ |
pxe.h | 148 const struct pxe_conn_ops *ops; member in struct:pxe_pvt_inode
|
/external/tensorflow/tensorflow/python/eager/ |
python_eager_op_gen.cc | 1028 OpList ops; local [all...] |
/external/tensorflow/tensorflow/python/framework/ |
python_op_gen.cc | 781 string GetPythonOps(const OpList& ops, const ApiDefMap& api_defs, 787 strings::StrAppend(&result, R"("""Python wrappers around TensorFlow ops. 800 from tensorflow.python.framework import ops as _ops 805 // We'll make a copy of ops that filters out descriptions. 808 out->Reserve(ops.op_size()); 809 for (const auto& op_def : ops.op()) { 874 void PrintPythonOps(const OpList& ops, const ApiDefMap& api_defs, 882 OpList ops; local [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
NotificationEntryManagerTest.java | 362 ArraySet<Integer> ops = new ArraySet<>(); local 363 ops.add(3); 364 ops.add(235); 365 ops.add(1); 367 mEntry.notification.getPackageName())).thenReturn(ops);
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
OpTestCase.java | 222 ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> ops(IntermediateTestOp... ops) { method in class:OpTestCase.DataStreamBuilder 223 return new ExerciseDataStreamBuilder<>(data, (S_IN s) -> (S_OUT) chain(s, ops)); 622 private static AbstractPipeline<?, ?, ?> chain(AbstractPipeline pipe, IntermediateTestOp... ops) { 623 for (IntermediateTestOp op : ops) 634 public static AbstractPipeline<?, ?, ?> chain(BaseStream pipe, IntermediateTestOp... ops) { 635 return chain((AbstractPipeline) pipe, ops);
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
OpTestCase.java | 223 ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> ops(IntermediateTestOp... ops) { method in class:OpTestCase.DataStreamBuilder 224 return new ExerciseDataStreamBuilder<>(data, (S_IN s) -> (S_OUT) chain(s, ops)); 623 private static AbstractPipeline<?, ?, ?> chain(AbstractPipeline pipe, IntermediateTestOp... ops) { 624 for (IntermediateTestOp op : ops) 635 public static AbstractPipeline<?, ?, ?> chain(BaseStream pipe, IntermediateTestOp... ops) { 636 return chain((AbstractPipeline) pipe, ops);
|
/packages/apps/Contacts/src/com/android/contacts/database/ |
SimContactDaoImpl.java | 247 final ArrayList<ContentProviderOperation> ops = local 249 return mResolver.applyBatch(ContactsContract.AUTHORITY, ops); 388 final ArrayList<ContentProviderOperation> ops = new ArrayList<>(); local 390 contact.appendCreateContactOperations(ops, targetAccount); 392 return ops;
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
RawContactDeltaList.java | 207 Log.v(TAG, "buildDiff: ops=" + diffToStringWrapper(diffWrapper)); 212 private static String diffToString(ArrayList<ContentProviderOperation> ops) { 215 for (ContentProviderOperation op : ops) { 227 ArrayList<ContentProviderOperation> ops = Lists.newArrayList(); local 229 ops.add(cpoWrapper.getOperation()); 231 return diffToString(ops);
|
/packages/apps/Email/provider_src/com/android/email/ |
SecurityPolicy.java | 538 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); local 544 ops.add(ContentProviderOperation.newInsert( 547 ops.add(ContentProviderOperation.newUpdate( 553 ops.add(ContentProviderOperation.newUpdate( 562 ops.add(ContentProviderOperation.newDelete( 568 context.getContentResolver().applyBatch(EmailContent.AUTHORITY, ops); [all...] |
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
AppOpsState.java | 62 public final int[] ops; field in class:AppOpsState.OpsTemplate 66 ops = _ops; 71 ops = src.createIntArray(); 82 dest.writeIntArray(ops); 380 private CharSequence getCombinedText(ArrayList<AppOpsManager.OpEntry> ops, 382 if (ops.size() == 1) { 383 return items[ops.get(0).getOp()]; 386 for (int i=0; i<ops.size(); i++) { 390 builder.append(items[ops.get(i).getOp()]); 445 // Currently running ops go first [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactMetadataProviderTest.java | 412 ArrayList<ContentProviderOperation> ops = Lists.newArrayList(); local 413 ops.add(ContentProviderOperation.newInsert(MetadataSync.CONTENT_URI) 422 ops.add(ContentProviderOperation.newInsert(MetadataSync.CONTENT_URI) 431 ops.add(ContentProviderOperation.newDelete(MetadataSync.CONTENT_URI) 437 mResolver.applyBatch(MetadataSync.METADATA_AUTHORITY, ops);
|
/system/core/libsparse/ |
output_file.c | 83 struct output_file_ops *ops; member in struct:output_file 363 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); 388 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); 392 ret = out->ops->write(out, &fill_val, sizeof(fill_val)); 424 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); 428 ret = out->ops->write(out, data, len); 432 ret = out->ops->write(out, out->zero_buf, zero_len); 460 ret = out->ops->write(out, &chunk_header, sizeof(chunk_header)); 464 out->ops->write(out, &out->crc32, 4); 488 ret = out->ops->write(out, data, len) [all...] |
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
FilterUtil.java | 461 FetchOptions ops = DatastoreHelper.getLargeBatchOptions(); local 463 ops.limit(maxSize); 466 for (Entity testRunKey : datastore.prepare(testQuery).asIterable(ops)) {
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ContactsTest.java | 1041 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); local 1269 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); local [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 297 private void addTestAttendees(ArrayList<ContentProviderOperation> ops, 318 ops.add(b.build()); 338 ops.add(b.build()); 358 ops.add(b.build()); 401 private boolean verifySaveEventNewEvent(ArrayList<ContentProviderOperation> ops) { 420 assertEquals(expectedOps, ops); 447 private boolean verifySaveEventModifyRecurring(ArrayList<ContentProviderOperation> ops) { 466 assertEquals(expectedOps, ops); 497 private boolean verifySaveEventRecurringToNonRecurring(ArrayList<ContentProviderOperation> ops) 521 assertEquals(expectedOps, ops); 1031 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); local 1107 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); local 1161 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); local [all...] |
/art/test/004-ThreadStress/src-art/ |
Main.java | 630 Integer ops = distribution.get(operation); local 631 if (ops == null) { 632 ops = 1; 634 ops++; 636 distribution.put(operation, ops); [all...] |
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/ |
local_poc.h | 209 void *ops; member in struct:host1x_client 223 struct tegra_drm_client_ops *ops; member in struct:tegra_drm_client
|