Home
last modified time | relevance | path

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

/external/chromium_org/cc/animation/
Dtransform_operations.cc171 TransformOperation to_add; in AppendTranslate() local
172 to_add.matrix.Translate3d(x, y, z); in AppendTranslate()
173 to_add.type = TransformOperation::TransformOperationTranslate; in AppendTranslate()
174 to_add.translate.x = x; in AppendTranslate()
175 to_add.translate.y = y; in AppendTranslate()
176 to_add.translate.z = z; in AppendTranslate()
177 operations_.push_back(to_add); in AppendTranslate()
185 TransformOperation to_add; in AppendRotate() local
186 to_add.matrix.RotateAbout(gfx::Vector3dF(x, y, z), degrees); in AppendRotate()
187 to_add.type = TransformOperation::TransformOperationRotate; in AppendRotate()
[all …]
Dtransform_operations_unittest.cc23 TransformOperations* to_add = new TransformOperations(); in TEST() local
24 to_add->AppendTranslate(1, 0, 0); in TEST()
25 transforms.push_back(to_add); in TEST()
27 to_add = new TransformOperations(); in TEST()
28 to_add->AppendRotate(0, 0, 1, 2); in TEST()
29 transforms.push_back(to_add); in TEST()
31 to_add = new TransformOperations(); in TEST()
32 to_add->AppendScale(2, 2, 2); in TEST()
33 transforms.push_back(to_add); in TEST()
35 to_add = new TransformOperations(); in TEST()
[all …]
Dlayer_animation_controller_unittest.cc436 scoped_ptr<Animation> to_add(CreateAnimation( in TEST() local
442 controller->AddAnimation(to_add.Pass()); in TEST()
468 scoped_ptr<Animation> to_add(CreateAnimation( in TEST() local
472 to_add->set_is_impl_only(true); in TEST()
474 controller_impl->AddAnimation(to_add.Pass()); in TEST()
902 scoped_ptr<Animation> to_add(CreateAnimation( in TEST() local
906 to_add->set_is_impl_only(true); in TEST()
907 controller_impl->AddAnimation(to_add.Pass()); in TEST()
938 scoped_ptr<Animation> to_add(CreateAnimation( in TEST() local
942 to_add->set_needs_synchronized_start_time(true); in TEST()
[all …]
Dlayer_animation_controller.cc568 scoped_ptr<Animation> to_add( in PushNewAnimationsToImplThread() local
570 DCHECK(!to_add->needs_synchronized_start_time()); in PushNewAnimationsToImplThread()
571 to_add->set_affects_active_observers(false); in PushNewAnimationsToImplThread()
572 controller_impl->AddAnimation(to_add.Pass()); in PushNewAnimationsToImplThread()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_ble_bgconn.c70 BOOLEAN btm_add_dev_to_controller (BOOLEAN to_add, BD_ADDR bd_addr) in btm_add_dev_to_controller() argument
82 if (to_add) in btm_add_dev_to_controller()
116 if (to_add) in btm_add_dev_to_controller()
141 rt = btm_add_dev_to_controller(p_dev_op->to_add, p_dev_op->bd_addr); in btm_execute_wl_dev_operation()
155 void btm_enq_wl_dev_operation(BOOLEAN to_add, BD_ADDR bd_addr) in btm_enq_wl_dev_operation() argument
164 p_dev_op->to_add = to_add; in btm_enq_wl_dev_operation()
173 p_dev_op->to_add = to_add; in btm_enq_wl_dev_operation()
188 BOOLEAN btm_update_dev_to_white_list(BOOLEAN to_add, BD_ADDR bd_addr) in btm_update_dev_to_white_list() argument
194 if ((to_add && p_cb->num_empty_filter == 0) || in btm_update_dev_to_white_list()
195 (!to_add && p_cb->num_empty_filter == p_cb->max_filter_entries)) in btm_update_dev_to_white_list()
[all …]
Dbtm_ble_int.h254 BOOLEAN to_add; member
366 extern BOOLEAN btm_update_dev_to_white_list(BOOLEAN to_add, BD_ADDR bd_addr);
367 extern BOOLEAN btm_update_bg_conn_list(BOOLEAN to_add, BD_ADDR bd_addr);
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_custom_dictionary.cc129 int SanitizeWordsToAdd(const WordSet& existing, WordList& to_add) { in SanitizeWordsToAdd() argument
131 std::sort(to_add.begin(), to_add.end()); in SanitizeWordsToAdd()
132 WordList new_words = base::STLSetDifference<WordList>(to_add, existing); in SanitizeWordsToAdd()
136 if (to_add.size() != new_words.size()) in SanitizeWordsToAdd()
147 std::swap(to_add, new_words); in SanitizeWordsToAdd()
178 : to_add_(other.to_add()), in Change()
182 SpellcheckCustomDictionary::Change::Change(const WordList& to_add) in Change() argument
183 : to_add_(to_add) { in Change()
206 const WordList& SpellcheckCustomDictionary::Change::to_add() const { in to_add() function in SpellcheckCustomDictionary::Change
420 dictionary_change.to_add().begin(), in UpdateDictionaryFile()
[all …]
Dspellcheck_custom_dictionary.h35 explicit Change(const chrome::spellcheck_common::WordList& to_add);
51 const chrome::spellcheck_common::WordList& to_add() const;
Dspellcheck_custom_dictionary_unittest.cc858 WordList to_add; in TEST_F() local
862 to_add.push_back("foo" + base::Uint64ToString(i)); in TEST_F()
864 Apply(*custom_dictionary, SpellcheckCustomDictionary::Change(to_add)); in TEST_F()
882 OnLoaded(*custom_dictionary, to_add); in TEST_F()
Dspellcheck_service.cc229 dictionary_change.to_add(), in OnCustomDictionaryChanged()
/external/chromium_org/extensions/common/
Dextension_set_unittest.cc133 scoped_ptr<ExtensionSet> to_add(new ExtensionSet()); in TEST() local
135 EXPECT_TRUE(to_add->Insert(ext3)); in TEST()
136 EXPECT_TRUE(to_add->Insert(ext5)); in TEST()
137 EXPECT_TRUE(to_add->Insert(ext6)); in TEST()
140 ASSERT_TRUE(extensions.InsertAll(*to_add)); in TEST()
143 ASSERT_FALSE(extensions.InsertAll(*to_add)); // Re-adding same set no-ops. in TEST()
/external/chromium_org/net/disk_cache/blockfile/
Dbitmap.cc302 uint32 to_add = 0xffffffff << len; in SetWordBits() local
303 to_add = (~to_add) << offset; in SetWordBits()
305 map_[word] |= to_add; in SetWordBits()
307 map_[word] &= ~to_add; in SetWordBits()
Dblock_files.cc88 uint32 to_add = ((1 << size) - 1) << index_offset; in CreateMapBlock() local
96 header_->allocation_map[current] |= to_add; in CreateMapBlock()
469 int to_add = index - static_cast<int>(block_files_.size()) + 1; in OpenBlockFile() local
470 block_files_.resize(block_files_.size() + to_add); in OpenBlockFile()
Dentry_impl_v3.cc231 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer() local
232 to_add = std::max(current_size, to_add); in GrowBuffer()
233 required = std::min(current_size + to_add, limit); in GrowBuffer()
Dentry_impl.cc282 int to_add = std::max(required - current_size, kMaxBlockSize * 4); in GrowBuffer() local
283 to_add = std::max(current_size, to_add); in GrowBuffer()
284 required = std::min(current_size + to_add, limit); in GrowBuffer()
Dbackend_impl_v3.cc208 int to_add = new_size - current_size; in IsAllocAllowed() local
209 if (buffer_bytes_ + to_add > MaxBuffersSize()) in IsAllocAllowed()
212 buffer_bytes_ += to_add; in IsAllocAllowed()
Dbackend_impl.cc925 int to_add = new_size - current_size; in IsAllocAllowed() local
926 if (buffer_bytes_ + to_add > MaxBuffersSize()) in IsAllocAllowed()
929 buffer_bytes_ += to_add; in IsAllocAllowed()
/external/chromium_org/chrome/common/extensions/docs/server2/
Dapi_schema_graph_test.py353 to_add = APISchemaGraph({
379 result.Update(to_add, lambda _: 'first')
412 to_add = APISchemaGraph({
426 result.Update(to_add, lambda _: 'second')
/external/chromium_org/v8/src/
Dbuiltins.cc320 int to_add = args.length() - 1; in BUILTIN() local
321 if (to_add > 0 && JSArray::WouldChangeReadOnlyLength(array, len + to_add)) { in BUILTIN()
330 if (to_add == 0) { in BUILTIN()
335 DCHECK(to_add <= (Smi::kMaxValue - len)); in BUILTIN()
337 int new_length = len + to_add; in BUILTIN()
356 for (int index = 0; index < to_add; index++) { in BUILTIN()
369 if (to_add == 0) { in BUILTIN()
374 DCHECK(to_add <= (Smi::kMaxValue - len)); in BUILTIN()
376 int new_length = len + to_add; in BUILTIN()
402 for (index = 0; index < to_add; index++) { in BUILTIN()
[all …]
/external/chromium_org/net/cert/
Dx509_certificate_win.cc81 PCCERT_CONTEXT to_add = NULL; in AddCertsFromStore() local
89 &to_add) && to_add != NULL) { in AddCertsFromStore()
95 results->insert(results->begin(), to_add); in AddCertsFromStore()
/external/chromium_org/chrome/browser/ui/webui/options/
Dlanguage_dictionary_overlay_handler.cc76 add_words.AppendStrings(dictionary_change.to_add()); in OnCustomDictionaryChanged()
/external/chromium_org/chrome/browser/history/
Dhistory_backend.cc1971 std::vector<PNGEncodedBitmap> to_add; in SetFaviconBitmaps() local
1979 to_add.push_back(std::make_pair( in SetFaviconBitmaps()
1986 std::vector<PNGEncodedBitmap>::iterator match_it = to_add.end(); in SetFaviconBitmaps()
1987 for (std::vector<PNGEncodedBitmap>::iterator it = to_add.begin(); in SetFaviconBitmaps()
1988 it != to_add.end(); in SetFaviconBitmaps()
1997 if (match_it == to_add.end()) { in SetFaviconBitmaps()
2011 to_add.erase(match_it); in SetFaviconBitmaps()
2015 for (size_t i = 0; i < to_add.size(); ++i) { in SetFaviconBitmaps()
2016 thumbnail_db_->AddFaviconBitmap(icon_id, to_add[i].first, in SetFaviconBitmaps()
2017 base::Time::Now(), to_add[i].second); in SetFaviconBitmaps()
/external/bluetooth/bluedroid/vnd/ble/
Dvendor_ble.c61 void btm_ble_vendor_enq_irk_pending(BD_ADDR target_bda, BD_ADDR psuedo_bda, UINT8 to_add) in btm_ble_vendor_enq_irk_pending() argument
68 p_q->irk_q_action[p_q->q_next] = to_add; in btm_ble_vendor_enq_irk_pending()
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service.cc1177 syncer::ModelTypeSet to_add; in OnExperimentsChanged() local
1179 Difference(to_add, registered_types); in OnExperimentsChanged()
1181 << syncer::ModelTypeSetToString(to_add); in OnExperimentsChanged()
/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_le.c2714 BOOLEAN to_add = TRUE; in bta_hh_le_add_dev_bg_conn() local
2723 to_add = FALSE; in bta_hh_le_add_dev_bg_conn()
2727 !p_cb->in_bg_conn && to_add) in bta_hh_le_add_dev_bg_conn()