/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
construction.rb | 233 : ids+=ID (','! ids+=ID)* 237 : ids+=ID! (','! ids+=ID!)* {$res = $ids.map { |id| id.text }} 241 : ids+=ID^ (','! ids+=ID^)* 249 : ids+=primary! (','! ids+=primary!)* {$res = $ids.map { |id| id.text } [all...] |
/hardware/qcom/gps/msm8909w_3100/location/ |
LocationAPI.cpp | 441 uint32_t* ids = NULL; local 445 ids = gData.geofenceInterface->addGeofences(this, count, options, info); 452 return ids; 456 LocationAPI::removeGeofences(size_t count, uint32_t* ids) 461 gData.geofenceInterface->removeGeofences(this, count, ids); 471 LocationAPI::modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) 476 gData.geofenceInterface->modifyGeofences(this, count, ids, options); 486 LocationAPI::pauseGeofences(size_t count, uint32_t* ids) 491 gData.geofenceInterface->pauseGeofences(this, count, ids); 501 LocationAPI::resumeGeofences(size_t count, uint32_t* ids) 615 uint32_t* ids = NULL; local [all...] |
/hardware/qcom/gps/msm8998/location/ |
LocationAPI.cpp | 439 uint32_t* ids = NULL; local 443 ids = gData.geofenceInterface->addGeofences(this, count, options, info); 450 return ids; 454 LocationAPI::removeGeofences(size_t count, uint32_t* ids) 459 gData.geofenceInterface->removeGeofences(this, count, ids); 469 LocationAPI::modifyGeofences(size_t count, uint32_t* ids, GeofenceOption* options) 474 gData.geofenceInterface->modifyGeofences(this, count, ids, options); 484 LocationAPI::pauseGeofences(size_t count, uint32_t* ids) 489 gData.geofenceInterface->pauseGeofences(this, count, ids); 499 LocationAPI::resumeGeofences(size_t count, uint32_t* ids) 613 uint32_t* ids = NULL; local [all...] |
/frameworks/av/services/camera/libcameraservice/ |
CameraFlashlight.cpp | 128 std::vector<std::string> ids = mProviderManager->getAPI1CompatibleCameraDeviceIds(); local 129 int numberOfCameras = static_cast<int>(ids.size()); 133 cameraIds[i] = String8(ids[i].c_str()); 220 std::vector<std::string> ids = mProviderManager->getAPI1CompatibleCameraDeviceIds(); local 221 int numCameras = static_cast<int>(ids.size()); 223 String8 id8(ids[i].c_str()); 266 std::vector<std::string> ids = mProviderManager->getAPI1CompatibleCameraDeviceIds(); local 267 int numCameras = static_cast<int>(ids.size()); 269 String8 id8(ids[i].c_str());
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
PhotosContentJob.java | 129 // and collect either the ids that were impacted or note that a generic 131 ArrayList<String> ids = new ArrayList<>(); local 136 ids.add(path.get(path.size()-1)); 143 if (ids.size() > 0) { 144 // If we found some ids that changed, we want to determine what they are. 147 for (int i=0; i<ids.size(); i++) { 153 selection.append(ids.get(i));
|
/external/python/cpython3/Tools/i18n/ |
msgfmt.py | 66 ids = strs = b'' 70 offsets.append((len(ids), len(id), len(strs), len(MESSAGES[id]))) 71 ids += id + b'\0' 79 valuestart = keystart + len(ids) 96 output += ids
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowDownloadManager.java | 32 public int remove(long... ids) { 34 for (long id : ids) { 46 long[] ids = shadow.getIds(); local 48 if (ids != null) { 49 for (long id : ids) {
|
ShadowDisplayManagerGlobal.java | 78 int[] ids = new int[displayInfos.size()]; local 81 ids[i++] = displayId; 83 return ids;
|
/external/tensorflow/tensorflow/core/util/sparse/ |
sparse_tensor_test.cc | 570 Tensor ids(DT_INT64, TensorShape({N, DIM})); 573 ids.matrix<int64>()(0, 0) = 0; 574 ids.matrix<int64>()(0, 1) = 0; 575 ids.matrix<int64>()(1, 0) = 1; 576 ids.matrix<int64>()(1, 1) = 1; 577 ids.matrix<int64>()(2, 0) = 1; 578 ids.matrix<int64>()(2, 1) = 2; 579 ids.matrix<int64>()(3, 0) = 3; 580 ids.matrix<int64>()(3, 1) = 0; 587 SparseTensor st(ids, vals, TensorShape({4, 3})) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SecureAlbum.java | 134 ArrayList<Integer> ids = new ArrayList<Integer>(); local 135 if (minId == Integer.MAX_VALUE || maxId == Integer.MIN_VALUE) return ids; 140 if (cursor == null) return ids; 143 ids.add(cursor.getInt(0)); 148 return ids; 168 // Query existing ids.
|
/external/skia/src/gpu/gl/ |
GrGLCreateNullInterface.cpp | 246 GrGLvoid genBuffers(GrGLsizei n, GrGLuint* ids) override { 249 ids[i] = buffer->id(); 275 GrGLvoid deleteBuffers(GrGLsizei n, const GrGLuint* ids) override { 282 if (ids[i] == fBoundBuffers[buffIdx]) { 291 if (ids[i] > 0) { 292 Buffer* buffer = fBufferManager.lookUp(ids[i]); 316 GrGLvoid deleteFramebuffers(GrGLsizei n, const GrGLuint* ids) override { 318 if (ids[i] == fCurrDrawFramebuffer) { 321 if (ids[i] == fCurrReadFramebuffer) { 325 if (ids[i] > 0) [all...] |
/external/skqp/src/gpu/gl/ |
GrGLCreateNullInterface.cpp | 246 GrGLvoid genBuffers(GrGLsizei n, GrGLuint* ids) override { 249 ids[i] = buffer->id(); 275 GrGLvoid deleteBuffers(GrGLsizei n, const GrGLuint* ids) override { 282 if (ids[i] == fBoundBuffers[buffIdx]) { 291 if (ids[i] > 0) { 292 Buffer* buffer = fBufferManager.lookUp(ids[i]); 316 GrGLvoid deleteFramebuffers(GrGLsizei n, const GrGLuint* ids) override { 318 if (ids[i] == fCurrDrawFramebuffer) { 321 if (ids[i] == fCurrReadFramebuffer) { 325 if (ids[i] > 0) [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
sort.js | 19 * list of element ids to search for links to add sort inidcator 94 ids = window.linkelementids; 95 for (var i = 0; i < ids.length; i++) { 96 setHashOnAllLinks(document.getElementById(ids[i]), hash);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
stress.c | 23 * -> Get the threads IDs 24 * -> Compare all the threads IDs to find duplicates. 180 int ids[NSCENAR]; local 185 ids[sc] = sc; 216 threaded, &ids[sc]);
|
/external/tensorflow/tensorflow/contrib/boosted_trees/examples/ |
binary_mnist.py | 52 ids = np.where((data.labels == 4) | (data.labels == 9)) 53 images = data.images[ids] 54 labels = data.labels[ids]
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
logistic_regressor_test.py | 41 ids = np.where((iris.target == 0) | (iris.target == 1)) 42 features = constant_op.constant(iris.data[ids], dtype=dtypes.float32) 43 labels = constant_op.constant(iris.target[ids], dtype=dtypes.float32)
|
/frameworks/base/rs/java/android/renderscript/ |
FileA3D.java | 183 int[] ids = new int[numFileEntries]; local 186 mRS.nFileA3DGetIndexEntries(getID(mRS), numFileEntries, ids, names); local 189 mFileEntries[i] = new IndexEntry(mRS, i, getID(mRS), names[i], EntryType.toEntryType(ids[i]));
|
/frameworks/support/room/compiler/src/test/data/daoWriter/output/ |
ComplexDao.java | 141 public List<User> loadAllByIds(int... ids) { 144 final int _inputSize = ids.length; 151 for (int _item : ids) { 202 public int[] getAllAges(int... ids) { 205 final int _inputSize = ids.length; 212 for (int _item : ids) { 234 public List<Integer> getAllAgesAsList(List<Integer> ids) { 237 final int _inputSize = ids.size(); 244 for (Integer _item : ids) { 323 public LiveData<List<User>> loadUsersByIdsLive(int... ids) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ProfileData.java | 75 int[] ids = new int[stack.length]; local 77 ids[i] = nameToId(stack[i]); 86 int id = ids[i];
|
/prebuilts/go/darwin-x86/src/crypto/x509/ |
root_darwin_arm_gen.go | 71 ids, err := fetchCertIDs() 82 for _, id := range ids { 125 // fetchCertIDs fetches IDs of iOS X509 certificates from apple.com. 142 var ids []certID 162 ids = append(ids, certID{ 167 return ids, nil
|
/prebuilts/go/linux-x86/src/crypto/x509/ |
root_darwin_arm_gen.go | 71 ids, err := fetchCertIDs() 82 for _, id := range ids { 125 // fetchCertIDs fetches IDs of iOS X509 certificates from apple.com. 142 var ids []certID 162 ids = append(ids, certID{ 167 return ids, nil
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
XmlStringFileHelper.java | 38 * An helper utility to get IDs out of an Android XML resource file. 43 /** A temporary cache of R.string IDs defined by a given xml file. The key is the 44 * project path of the file, the data is a set of known string Ids for that file. 70 * Utility method that retrieves all the *string* IDs defined in the given Android resource 77 * @return The map of string IDs => values defined in the given file. Cached. Never null. 89 * Extract all the defined string IDs from a given file using XPath. 92 * @return The map of all string IDs => values defined in the file. 97 TreeMap<String, String> ids = new TreeMap<String, String>(); local 116 // We want all the IDs in an XML structure like this: 142 ids.put(id, text) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ExtractIncludeRefactoringTest.java | 135 int expectedModifiedFileCount, boolean createDiffs, String... ids) throws Exception { 136 assertTrue(ids.length > 0); 141 List<Element> selectedElements = getElements(info.mElement, ids);
|
/system/extras/simpleperf/ |
record_file_reader.cpp | 142 size_t section_desc_size = sizeof(attr.ids); 145 memcpy(&attr.ids, &buf[perf_event_attr_size], section_desc_size); 159 std::vector<uint64_t> ids; local 160 if (!ReadIdsForAttr(file_attrs_[i], &ids)) { 163 event_ids_for_file_attrs_.push_back(ids); 164 for (auto id : ids) { 195 bool RecordFileReader::ReadIdsForAttr(const FileAttr& attr, std::vector<uint64_t>* ids) { 196 size_t id_count = attr.ids.size / sizeof(uint64_t); 197 if (fseek(record_fp_, attr.ids.offset, SEEK_SET) != 0) { 201 ids->resize(id_count) [all...] |
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
DefaultSelectionHelperTest.java | 392 Set<String> ids = new HashSet<>(); local 396 ids.add(mItems.get(selection.keyAt(i))); 399 return ids; 402 private Iterable<String> getStringIds(int... ids) { 403 List<String> stringIds = new ArrayList<>(ids.length); 404 for (int id : ids) {
|