Searched defs:em (Results 1 - 25 of 42) sorted by relevance

12

/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
H A DEntityManagerPerRequestProvisionTest.java57 //obtain em
60 //obtain same em again (bound to txn)
67 injector.getInstance(EntityManager.class), JpaDao.em);
69 //try to start a new em in a new txn
77 //obtain em
80 //obtain same em again (bound to txn)
87 injector.getInstance(EntityManager.class), JpaDao.em);
89 injector.getInstance(EntityManager.class), JpaDao.em);
91 //try to start a new em in a new txn
99 static EntityManager em; field in class:EntityManagerPerRequestProvisionTest.JpaDao
102 JpaDao(EntityManager em) argument
[all...]
H A DJpaWorkManagerTest.java104 @Inject EntityManager em; field in class:JpaWorkManagerTest.TransactionalObject
111 em.persist(testEntity);
120 em.persist(testEntity);
H A DManualLocalTransactionsConfidenceTest.java77 @Inject EntityManager em; field in class:ManualLocalTransactionsConfidenceTest.TransactionalObject
85 em.persist(child);
88 em.persist(entity);
92 em.persist(entity);
H A DManualLocalTransactionsTest.java60 EntityManager em = injector.getInstance(EntityManager.class);
65 //persisted entity should remain in the same em (which should still be open)
68 assertTrue("EntityManager appears to have been closed across txns!", em.contains(entity));
69 assertTrue("EntityManager appears to have been closed across txns!", em.isOpen());
75 em = injector.getInstance(EntityManager.class);
76 assertNotNull(em.createQuery("from JpaTestEntity where text = :text")
78 assertNotNull(em.createQuery("from JpaTestEntity where text = :text")
80 em.close();
82 assertFalse(em.isOpen());
86 @Inject EntityManager em; field in class:ManualLocalTransactionsTest.TransactionalObject
[all...]
H A DManualLocalTransactionsWithCustomMatcherTest.java63 EntityManager em = injector.getInstance(EntityManager.class);
71 //persisted entity should remain in the same em (which should still be open)
74 assertTrue("EntityManager appears to have been closed across txns!", em.contains(entity));
75 assertTrue("EntityManager appears to have been closed across txns!", em.isOpen());
80 em = injector.getInstance(EntityManager.class);
81 assertNotNull(em.createQuery("from JpaTestEntity where text = :text")
83 assertNotNull(em.createQuery("from JpaTestEntity where text = :text")
85 em.close();
89 @Inject EntityManager em; field in class:ManualLocalTransactionsWithCustomMatcherTest.TransactionalObject
95 em
[all...]
H A DDynamicFinderTest.java57 //obtain em
60 //obtain same em again (bound to txn)
83 private final Provider<EntityManager> em; field in class:DynamicFinderTest.JpaDao
87 public JpaDao(Provider<EntityManager> em) { argument
88 this.em = em;
93 lastEm = em.get();
94 assertTrue("em is not open!", lastEm.isOpen());
104 lastEm = em.get();
H A DEntityManagerProvisionTest.java52 //obtain em
55 //obtain same em again (bound to txn)
64 //try to start a new em in a new txn
72 //obtain em
75 //obtain same em again (bound to txn)
84 //try to start a new em in a new txn
92 private final Provider<EntityManager> em; field in class:EntityManagerProvisionTest.JpaDao
96 public JpaDao(Provider<EntityManager> em) { argument
97 this.em = em;
[all...]
H A DJoiningLocalTransactionsTest.java65 EntityManager em = injector.getInstance(EntityManager.class);
67 em.getTransaction().isActive());
70 Object result = em.createQuery("from JpaTestEntity where text = :text")
89 EntityManager em = injector.getInstance(EntityManager.class);
92 em.getTransaction().isActive());
96 Object result = em.createQuery("from JpaTestEntity where text = :text")
112 EntityManager em = injector.getInstance(EntityManager.class);
114 em.getTransaction().isActive());
117 Object result = em.createQuery("from JpaTestEntity where text = :text")
125 private final EntityManager em; field in class:JoiningLocalTransactionsTest.TransactionalObject
128 TransactionalObject(EntityManager em) argument
[all...]
H A DManagedLocalTransactionsAcrossRequestTest.java65 EntityManager em = injector.getInstance(EntityManager.class);
66 assertFalse(em.getTransaction().isActive());
69 Object result = em.createQuery("from JpaTestEntity where text = :text")
88 EntityManager em = injector.getInstance(EntityManager.class);
89 assertFalse(em.getTransaction().isActive());
92 assertTrue("Em was closed after txn!", em.isOpen());
93 assertEquals("Em was not kept open across txns", emOrig, em);
94 assertTrue("Merge did not store state or did not return persistent copy", em.contains(entity));
96 Object result = em.createQuery("from JpaTestEntity where text = :text")
113 EntityManager em
180 private final EntityManager em; field in class:ManagedLocalTransactionsAcrossRequestTest.TransactionalObject
183 TransactionalObject(EntityManager em) argument
[all...]
H A DManagedLocalTransactionsTest.java62 EntityManager em = injector.getInstance(EntityManager.class);
63 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive());
66 Object result = em.createQuery("from JpaTestEntity where text = :text")
80 EntityManager em = injector.getInstance(EntityManager.class);
81 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive());
84 assertTrue("Em was closed after txn!", em.isOpen());
86 Object result = em.createQuery("from JpaTestEntity where text = :text")
104 EntityManager em = injector.getInstance(EntityManager.class);
107 em.getTransaction().isActive());
111 Object result = em
139 private final EntityManager em; field in class:ManagedLocalTransactionsTest.TransactionalObject
142 TransactionalObject(EntityManager em) argument
[all...]
/external/opencv3/samples/python2/
H A Dgaussian_mix.py40 em = cv2.EM(cluster_n, cv2.EM_COV_MAT_GENERIC) variable
41 em.train(points)
42 means = em.getMat('means')
43 covs = em.getMatVector('covs')
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DSTZInfo.java23 void setEnd(int em, int edwm, int edw, int et, int edm, boolean ea) { argument
24 this.em = em;
45 if (em != -1) {
47 stz.setEndRule(em, edwm, edw, et);
49 stz.setEndRule(em, edm, et);
51 stz.setEndRule(em, edm, edw, et, ea);
69 if (em != -1) {
71 stz.setEndRule(em, edwm, edw, et);
73 stz.setEndRule(em, ed
83 int em = -1, edwm, edw, et, edm; field in class:STZInfo
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DSTZInfo.java22 void setEnd(int em, int edwm, int edw, int et, int edm, boolean ea) { argument
23 this.em = em;
44 if (em != -1) {
46 stz.setEndRule(em, edwm, edw, et);
48 stz.setEndRule(em, edm, et);
50 stz.setEndRule(em, edm, edw, et, ea);
68 if (em != -1) {
70 stz.setEndRule(em, edwm, edw, et);
72 stz.setEndRule(em, ed
82 int em = -1, edwm, edw, et, edm; field in class:STZInfo
[all...]
/external/libchrome/crypto/third_party/nss/
H A Drsawrapr.c74 const unsigned char *em, unsigned int emLen,
90 (em[emLen - 1] != 0xbc) ||
91 ((em[0] & 0x80) != 0)) {
102 /* &em[dbMaskLen] points to H, used as mgfSeed */
103 MGF1(maskHashAlg, db, dbMaskLen, &em[dbMaskLen], hash->length);
107 db[i] ^= em[i];
151 if (PORT_Memcmp(H_, &em[dbMaskLen], hash->length) != 0) {
73 emsa_pss_verify(const unsigned char *mHash, const unsigned char *em, unsigned int emLen, HASH_HashType hashAlg, HASH_HashType maskHashAlg, unsigned int sLen) argument
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
H A DJpaFinderProxy.java58 EntityManager em = emProvider.get();
66 Query jpaQuery = finderDescriptor.createQuery(em);
271 Query createQuery(EntityManager em) { argument
272 return isKeyedQuery ? em.createNamedQuery(name) : em.createQuery(query);
/external/libexif/libexif/canon/
H A Dexif-mnote-data-canon.c353 ExifEntry *em = exif_data_get_entry (ed, EXIF_TAG_MAKE); local
354 if (!em)
356 return !strcmp (exif_entry_get_value (em, value, sizeof (value)), "Canon");
/external/libexif/libexif/olympus/
H A Dexif-mnote-data-olympus.c615 ExifEntry *em = exif_data_get_entry (ed, EXIF_TAG_MAKE); local
618 if (em) {
619 const char *v = exif_entry_get_value (em, value, sizeof(value));
/external/elfutils/libebl/
H A Deblopenbackend.c55 int em; member in struct:__anon5698
288 || (emulation == NULL && machines[cnt].em == machine))
305 result->machine = machines[cnt].em;
/external/opencv3/samples/cpp/
H A Dpoints_classifier.cpp262 Ptr<EM> em = EM::create(); local
263 em->setClustersNumber(componentCount);
264 em->setCovarianceMatrixType(EM::COV_MAT_DIAGONAL);
265 em->trainEM(modelSamples, noArray(), noArray(), noArray());
266 em_models[i] = em;
/external/svox/pico/lib/
H A Dpicoos.h125 picoos_ExceptionManager em; member in struct:picoos_common
208 * shortcut : em
/external/valgrind/callgrind/
H A Devents.c406 EventMapping* em; local
410 em = (EventMapping*) CLG_MALLOC("cl.events.geMapping.1",
414 em->capacity = es->size;
415 em->size = 0;
416 em->es = es;
418 return em;
421 void CLG_(append_event)(EventMapping* em, const HChar* n) argument
427 CLG_ASSERT(em != 0);
429 if ((em->es->mask & mask)==0) continue;
437 CLG_ASSERT(em
450 eventmapping_as_string(const EventMapping* em) argument
478 mappingcost_as_string(const EventMapping* em, const ULong* c) argument
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp435 // Determine the approximate size of the message bubble in em.
436 unsigned em; local
440 em = max_token / 2;
453 em = characters / 2;
456 if (em < max_line/2)
457 os << "; max-width:" << em << "em"; local
460 os << "; max-width:100em";
/external/opencv3/modules/ml/test/
H A Dtest_emknearestkmeans.cpp398 Ptr<EM> em = EM::create(); local
399 em->setClustersNumber(params.nclusters);
400 em->setCovarianceMatrixType(params.covMatType);
401 em->setTermCriteria(params.termCrit);
403 em->trainEM( trainData, noArray(), labels, noArray() );
405 em->trainE( trainData, *params.means, *params.covs,
408 em->trainM( trainData, *params.probs,
429 labels.at<int>(i) = static_cast<int>(em->predict2( sample, probs )[1]);
549 Ptr<EM> em = EM::create(); local
550 em
[all...]
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_font.cpp11 #define EM_ADJUST(em, a) (em == 0 ? (a) : (a)*1000 / em)
324 int em = FXFT_Get_Face_UnitsPerEM(m_Face); local
325 if (em == 0) {
331 bbox.left = FXFT_Get_Glyph_HoriBearingX(m_Face) * 1000 / em;
334 1000 / em;
337 1000 / em;
338 bbox.bottom = (FXFT_Get_Glyph_HoriBearingY(m_Face)) * 1000 / em;
412 int em local
[all...]
/external/opencv3/3rdparty/libtiff/
H A Dtif_luv.c712 LogL16fromY(double Y, int em) /* get 16-bit LogL from Y */ argument
719 return itrunc(256.*(log2(Y) + 64.), em);
721 return (~0x7fff | itrunc(256.*(log2(-Y) + 64.), em));
790 LogL10fromY(double Y, int em) /* get 10-bit LogL from Y */ argument
797 return itrunc(64.*(log2(Y) + 12.), em);
861 uv_encode(double u, double v, int em) /* encode (u',v') coordinates */ argument
867 vi = itrunc((v - UV_VSTART)*(1./UV_SQSIZ), em);
872 ui = itrunc((u - uv_row[vi].ustart)*(1./UV_SQSIZ), em);
943 LogLuv24fromXYZ(float XYZ[3], int em) argument
948 Le = LogL10fromY(XYZ[1], em);
1081 LogLuv32fromXYZ(float XYZ[3], int em) argument
[all...]

Completed in 824 milliseconds

12