Home
last modified time | relevance | path

Searched refs:obs (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium/chrome/browser/prefs/
Doverlay_persistent_pref_store_unittest.cc29 PrefStoreObserverMock obs; in TEST_F() local
30 overlay_->AddObserver(&obs); in TEST_F()
33 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); in TEST_F()
35 Mock::VerifyAndClearExpectations(&obs); in TEST_F()
38 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); in TEST_F()
40 Mock::VerifyAndClearExpectations(&obs); in TEST_F()
43 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1); in TEST_F()
45 Mock::VerifyAndClearExpectations(&obs); in TEST_F()
48 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(0); in TEST_F()
50 Mock::VerifyAndClearExpectations(&obs); in TEST_F()
[all …]
Dpref_service_unittest.cc63 PrefObserverMock obs; in TEST() local
66 registrar.Add(pref_name, &obs); in TEST()
70 obs.Expect(&prefs, pref_name, &expected_value); in TEST()
72 Mock::VerifyAndClearExpectations(&obs); in TEST()
76 EXPECT_CALL(obs, Observe(_, _, _)).Times(0); in TEST()
78 Mock::VerifyAndClearExpectations(&obs); in TEST()
82 obs.Expect(&prefs, pref_name, &expected_default_value); in TEST()
84 Mock::VerifyAndClearExpectations(&obs); in TEST()
87 EXPECT_CALL(obs, Observe(_, _, _)).Times(0); in TEST()
89 Mock::VerifyAndClearExpectations(&obs); in TEST()
[all …]
Dpref_notifier_impl.cc34 NotificationObserver* obs) { in AddPrefObserver() argument
50 DCHECK(existing_obs != obs) << path << " observer already registered"; in AddPrefObserver()
51 if (existing_obs == obs) in AddPrefObserver()
56 observer_list->AddObserver(obs); in AddPrefObserver()
60 NotificationObserver* obs) { in RemovePrefObserver() argument
70 observer_list->RemoveObserver(obs); in RemovePrefObserver()
Dpref_change_registrar.cc25 void PrefChangeRegistrar::Add(const char* path, NotificationObserver* obs) { in Add() argument
30 ObserverRegistration registration(path, obs); in Add()
36 service_->AddPrefObserver(path, obs); in Add()
39 void PrefChangeRegistrar::Remove(const char* path, NotificationObserver* obs) { in Remove() argument
44 ObserverRegistration registration(path, obs); in Remove()
Dpref_change_registrar.h35 NotificationObserver* obs);
40 NotificationObserver* obs);
Dpref_notifier_impl.h28 void AddPrefObserver(const char* path, NotificationObserver* obs);
29 void RemovePrefObserver(const char* path, NotificationObserver* obs);
Dpref_service.h308 virtual void AddPrefObserver(const char* path, NotificationObserver* obs);
309 virtual void RemovePrefObserver(const char* path, NotificationObserver* obs);
/external/opencv/cvaux/src/
Dcvhmmobs.cpp118 float *obs, CvSize dctSize, in icvImgToObs_DCT_8u32f_C1R() argument
139 if( !img || !obs ) in icvImgToObs_DCT_8u32f_C1R()
245 float *obs_limit = obs + obsSize.width; in icvImgToObs_DCT_8u32f_C1R()
268 *obs++ = (float) DESCALE( s * tab[-2], PASS2_SHIFT ); in icvImgToObs_DCT_8u32f_C1R()
270 if( obs == obs_limit ) in icvImgToObs_DCT_8u32f_C1R()
281 obs[0] = (float) DESCALE( s, PASS2_SHIFT ); in icvImgToObs_DCT_8u32f_C1R()
282 if( ++obs == obs_limit ) in icvImgToObs_DCT_8u32f_C1R()
296 obs[0] = (float) DESCALE( s, PASS2_SHIFT ); in icvImgToObs_DCT_8u32f_C1R()
299 if( ++obs == obs_limit ) in icvImgToObs_DCT_8u32f_C1R()
313 float *obs, CvSize dctSize, in icvImgToObs_DCT_32f_C1R() argument
[all …]
Dcvhmm1d.cpp353 CvImgObsInfo* obs = obs_info_array[k];
355 for (i = 0; i < obs->obs_x; i++)
357 int state = obs->state[ i ];
375 CvImgObsInfo* obs = obs_info_array[k];
376 int num_obs = obs->obs_x;
377 float* vector = obs->obs;
379 for (i = 0; i < num_obs; i++, vector+=obs->obs_size )
381 int state = obs->state[i];
384 samples_mix[state][counter[state]] = &(obs->mix[i]);
694 float* obs = obs_info->obs;/* + j * obs_x * vect_size; */
[all …]
Dcvhmm.cpp74 CvImgObsInfo* obs = (CvImgObsInfo*)cvAlloc( sizeof( CvImgObsInfo) ); in icvCreateObsInfo() local
76 obs->obs_x = num_obs.width; in icvCreateObsInfo()
77 obs->obs_y = num_obs.height; in icvCreateObsInfo()
79 obs->obs = (float*)cvAlloc( total * obs_size * sizeof(float) ); in icvCreateObsInfo()
81 obs->state = (int*)cvAlloc( 2 * total * sizeof(int) ); in icvCreateObsInfo()
82 obs->mix = (int*)cvAlloc( total * sizeof(int) ); in icvCreateObsInfo()
84 obs->obs_size = obs_size; in icvCreateObsInfo()
86 obs_info[0] = obs; in icvCreateObsInfo()
95 cvFree( &(obs_info->obs) ); in icvReleaseObsInfo()
417 CvImgObsInfo* obs = obs_info_array[k]; in icvInitMixSegm() local
[all …]
Dcvlevmar.cpp276 double Err_Func2(CvMat *obs,CvMat *res)
279 tmp = cvCreateMat(obs->rows,1,CV_64F);
280 cvSub(obs,res,tmp);
/external/chromium/base/
Dobserver_list.h115 void AddObserver(ObserverType* obs) { in AddObserver() argument
116 DCHECK(find(observers_.begin(), observers_.end(), obs) == observers_.end()) in AddObserver()
118 observers_.push_back(obs); in AddObserver()
122 void RemoveObserver(ObserverType* obs) { in RemoveObserver() argument
124 std::find(observers_.begin(), observers_.end(), obs); in RemoveObserver()
203 ObserverType* obs; \
204 while ((obs = it.GetNext()) != NULL) \
205 obs->func; \
Dobserver_list_threadsafe.h87 void AddObserver(ObserverType* obs) { in AddObserver() argument
101 list->AddObserver(obs); in AddObserver()
109 void RemoveObserver(ObserverType* obs) { in RemoveObserver() argument
127 list->RemoveObserver(obs); in RemoveObserver()
204 ObserverType* obs;
205 while ((obs = it.GetNext()) != NULL)
206 method.Run(obs);
Dmessage_pump_libevent.cc196 void MessagePumpLibevent::AddIOObserver(IOObserver *obs) { in AddIOObserver() argument
197 io_observers_.AddObserver(obs); in AddIOObserver()
200 void MessagePumpLibevent::RemoveIOObserver(IOObserver *obs) { in RemoveIOObserver() argument
201 io_observers_.RemoveObserver(obs); in RemoveIOObserver()
Dmessage_pump_libevent.h115 void AddIOObserver(IOObserver* obs);
116 void RemoveIOObserver(IOObserver* obs);
Dmessage_pump_win.cc567 void MessagePumpForIO::AddIOObserver(IOObserver *obs) { in AddIOObserver() argument
568 io_observers_.AddObserver(obs); in AddIOObserver()
571 void MessagePumpForIO::RemoveIOObserver(IOObserver *obs) { in RemoveIOObserver() argument
572 io_observers_.RemoveObserver(obs); in RemoveIOObserver()
Dmessage_pump_win.h340 void AddIOObserver(IOObserver* obs);
341 void RemoveIOObserver(IOObserver* obs);
/external/chromium/chrome/browser/policy/
Dcloud_policy_identity_strategy.cc13 void CloudPolicyIdentityStrategy::AddObserver(Observer* obs) { in AddObserver() argument
14 observer_list_.AddObserver(obs); in AddObserver()
17 void CloudPolicyIdentityStrategy::RemoveObserver(Observer* obs) { in RemoveObserver() argument
18 observer_list_.RemoveObserver(obs); in RemoveObserver()
Dcloud_policy_identity_strategy.h40 void AddObserver(Observer* obs);
41 void RemoveObserver(Observer* obs);
/external/chromium/chrome/browser/chromeos/
Dcros_settings.cc95 NotificationObserver* obs) { in AddSettingsObserver() argument
97 DCHECK(obs); in AddSettingsObserver()
121 DCHECK(existing_obs != obs) << path << " observer already registered"; in AddSettingsObserver()
122 if (existing_obs == obs) in AddSettingsObserver()
127 observer_list->AddObserver(obs); in AddSettingsObserver()
131 NotificationObserver* obs) { in RemoveSettingsObserver() argument
141 observer_list->RemoveObserver(obs); in RemoveSettingsObserver()
Dcros_settings.h70 void AddSettingsObserver(const char* path, NotificationObserver* obs);
71 void RemoveSettingsObserver(const char* path, NotificationObserver* obs);
/external/openssl/crypto/bio/
Dbf_lbuf.c273 int obs; in linebuffer_ctrl() local
296 obs=(int)num; in linebuffer_ctrl()
298 if ((obs > DEFAULT_LINEBUFFER_SIZE) && (obs != ctx->obuf_size)) in linebuffer_ctrl()
306 if (ctx->obuf_len > obs) in linebuffer_ctrl()
308 ctx->obuf_len = obs; in linebuffer_ctrl()
313 ctx->obuf_size=obs; in linebuffer_ctrl()
Dbf_buff.c277 int ibs,obs; in buffer_ctrl() local
338 obs=ctx->obuf_size; in buffer_ctrl()
343 obs=(int)num; in buffer_ctrl()
349 obs=(int)num; in buffer_ctrl()
358 if ((obs > DEFAULT_BUFFER_SIZE) && (obs != ctx->obuf_size)) in buffer_ctrl()
381 ctx->obuf_size=obs; in buffer_ctrl()
/external/openssl/crypto/comp/
Dc_zlib.c718 int ibs, obs; in bio_zlib_ctrl() local
738 obs = -1; in bio_zlib_ctrl()
745 obs = (int) num; in bio_zlib_ctrl()
750 obs = ibs; in bio_zlib_ctrl()
763 if (obs != -1) in bio_zlib_ctrl()
770 ctx->obufsize = obs; in bio_zlib_ctrl()
/external/bluetooth/glib/po/
Dpl.po98 "Konwersja z zestawu znaków \"%s\" na zestaw \"%s\" nie jest obsługiwana"
281 msgstr "Dowiązania symboliczne nie są obsługiwane"
584 "referencje wstecz jako warunki nie są obsługiwane w dopasowywaniu częściowym"
661 msgstr "Klasy nazwane z użyciem POSIX są obsługiwane tylko wewnątrz klasy"
721 msgstr "Elementy porównujące POSIX nie są obsługiwane"
820 msgstr "Biblioteka PCRE została skompilowana bez obsługi UTF8"
824 msgstr "Biblioteka PCRE została skompilowana bez obsługi własności UTF8"
1271 msgstr "Nie można obsłużyć wersji %d kodowania GEmblem"
1281 msgstr "Nie można obsłużyć wersji %d kodowania GEmblemedIcon"
1298 msgstr "Operacja nie jest obsługiwana"
[all …]

12