/external/openfst/src/include/fst/ |
D | union-find.h | 41 : parent_(max, fail), rank_(max), fail_(fail) { } in UnionFind() 46 if (item >= parent_.size() in FindSet() 48 || parent_[item] == fail_) return fail_; in FindSet() 50 T *p = &parent_[item]; in FindSet() 51 for (; *p != item; item = *p, p = &parent_[item]) { in FindSet() 68 if (item >= parent_.size()) { in MakeSet() 71 parent_.resize(nitem, fail_); in MakeSet() 74 parent_[item] = item; in MakeSet() 80 parent_.resize(max); in MakeAllSet() 82 parent_[item] = item; in MakeAllSet() [all …]
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | union-find.h | 38 : parent_(max, fail), rank_(max), fail_(fail) { } in UnionFind() 43 if (item >= parent_.size() in FindSet() 45 || parent_[item] == fail_) return fail_; in FindSet() 48 T *p = &parent_[item]; in FindSet() 49 for (; *p != item; item = *p, p = &parent_[item]) { in FindSet() 66 if (item >= parent_.size()) { in MakeSet() 68 parent_.resize(2 * item, fail_); in MakeSet() 71 parent_[item] = item; in MakeSet() 77 parent_.resize(max); in MakeAllSet() 79 parent_[item] = item; in MakeAllSet() [all …]
|
/external/chromium/chrome/browser/ui/views/ |
D | js_modal_dialog_views.cc | 23 : parent_(parent), in JSModalDialogViews() 72 if (parent_->dialog_flags() & ui::MessageBoxFlags::kFlagHasOKButton) in GetDefaultDialogButton() 75 if (parent_->dialog_flags() & ui::MessageBoxFlags::kFlagHasCancelButton) in GetDefaultDialogButton() 83 if (parent_->dialog_flags() & ui::MessageBoxFlags::kFlagHasOKButton) in GetDialogButtons() 86 if (parent_->dialog_flags() & ui::MessageBoxFlags::kFlagHasCancelButton) in GetDialogButtons() 93 return parent_->title(); in GetWindowTitle() 101 delete parent_; in DeleteDelegate() 106 parent_->OnCancel(message_box_view_->IsCheckBoxSelected()); in Cancel() 111 parent_->OnAccept(message_box_view_->GetInputText(), in Accept() 117 parent_->OnClose(); in OnClose() [all …]
|
/external/chromium/chrome/browser/accessibility/ |
D | browser_accessibility.cc | 22 parent_(NULL), in BrowserAccessibility() 50 parent_ = parent; in Initialize() 81 parent_ = NULL; in DetachTree() 86 parent_ = parent; in UpdateParent() 94 } else if (parent_) { in IsDescendantOf() 95 return parent_->IsDescendantOf(ancestor); in IsDescendantOf() 107 if (parent_ && index_in_parent_ > 0) in GetPreviousSibling() 108 return parent_->children_[index_in_parent_ - 1]; in GetPreviousSibling() 114 if (parent_ && in GetNextSibling() 116 index_in_parent_ < static_cast<int>(parent_->children_.size() - 1)) { in GetNextSibling() [all …]
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | taskparent.cc | 38 : parent_(parent) { in TaskParent() 42 parent_->AddChild(derived_instance); in TaskParent() 47 : parent_(NULL), in TaskParent() 66 return task->parent_ == this && children_->find(task) != children_->end(); in IsChildTask() 103 parent_->OnChildStopped(task); in OnStopped()
|
D | taskparent.h | 47 TaskParent *GetParent() { return parent_; } in GetParent() 58 virtual TaskParent *GetParent(int code) { return parent_->GetParent(code); } in GetParent() 70 return parent_; in parent() 78 TaskParent *parent_; variable
|
D | signalthread.h | 123 SignalThread* parent_; 124 virtual void Run() { parent_->Run(); } in Run()
|
D | win32socketserver.cc | 165 explicit EventSink(Win32Socket * parent) : parent_(parent) { } in EventSink() 177 Win32Socket * parent_; member in talk_base::Win32Socket::EventSink 181 parent_ = NULL; in Dispose() 214 if (parent_) in OnSocketNotify() 215 parent_->OnSocketNotify(static_cast<SOCKET>(wParam), wsa_event, wsa_error); in OnSocketNotify() 224 if (parent_) in OnDnsNotify() 225 parent_->OnDnsNotify(reinterpret_cast<HANDLE>(wParam), error); in OnDnsNotify()
|
/external/chromium/sdch/open-vcdiff/src/ |
D | vcdecoder.cc | 256 VCDiffStreamingDecoderImpl* parent_; member in open_vcdiff::VCDiffDeltaFileWindow 306 inline VCDiffDeltaFileWindow::VCDiffDeltaFileWindow() : parent_(NULL) { in VCDiffDeltaFileWindow() 313 parent_ = parent; in Init() 963 target_window_start_pos_ = parent_ ? parent_->decoded_target()->size() : 0U; in Reset() 991 if (parent_->AllowInterleaved() && in SetUpWindowSections() 1046 std::string* decoded_target = parent_->decoded_target(); in ReadHeader() 1052 parent_->dictionary_size(), in ReadHeader() 1054 parent_->allow_vcd_target(), in ReadHeader() 1060 has_checksum_ = parent_->AllowChecksum() && (win_indicator & VCD_CHECKSUM); in ReadHeader() 1064 if (parent_->TargetWindowWouldExceedSizeLimits(target_window_length_)) { in ReadHeader() [all …]
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_context_menu_controller.cc | 34 parent_(parent), in BookmarkContextMenuController() 145 BookmarkEditor::Show(parent_window_, profile_, parent_, in ExecuteCommand() 177 bookmark_utils::GetParentForNewNodes(parent_, selection_, NULL), in ExecuteCommand() 188 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand() 221 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand() 271 parent_, selection_, NULL) != NULL; in IsCommandIdEnabled() 287 bookmark_utils::CanPasteFromClipboard(parent_)); in IsCommandIdEnabled()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_context_menu_controller_views.cc | 33 parent_(parent), in BookmarkContextMenuControllerViews() 133 BookmarkEditor::Show(parent_window_, profile_, parent_, in ExecuteCommand() 164 bookmark_utils::GetParentForNewNodes(parent_, selection_, NULL), in ExecuteCommand() 175 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand() 210 bookmark_utils::GetParentForNewNodes(parent_, selection_, &index); in ExecuteCommand() 257 parent_, selection_, NULL) != NULL; in IsCommandEnabled() 273 bookmark_utils::CanPasteFromClipboard(parent_)); in IsCommandEnabled()
|
D | bookmark_menu_controller_views.cc | 43 parent_(parent), in BookmarkMenuController() 80 menu_->RunMenuForDropAt(parent_, bounds, position); in RunMenuAt() 82 menu_->RunMenuAt(parent_, button, bounds, position, false); in RunMenuAt() 117 bookmark_utils::OpenAll(parent_, profile_, page_navigator_, selection, in ExecuteCommand() 216 parent_, in ShowContextMenu()
|
/external/chromium/chrome/browser/ |
D | file_select_helper.h | 51 : parent_(parent), in DirectoryListerDispatchDelegate() 56 parent_->OnListFile(id_, data); in OnListFile() 59 parent_->OnListDone(id_, error); in OnListDone() 63 FileSelectHelper* parent_;
|
D | process_singleton_linux.cc | 465 : parent_(parent), in SocketReader() 494 parent_->RemoveSocketReader(this); in OnTimerExpiry() 501 ProcessSingleton::LinuxWatcher* const parent_; member in ProcessSingleton::LinuxWatcher::SocketReader 524 parent_(parent) { in LinuxWatcher() 567 ProcessSingleton* const parent_; member in ProcessSingleton::LinuxWatcher 608 if (parent_->locked()) { in HandleMessage() 722 parent_, in OnFileCanReadWithoutBlocking() 743 parent_->RemoveSocketReader(this); in FinishWithACK()
|
/external/chromium/third_party/libjingle/source/talk/session/tunnel/ |
D | pseudotcpchannel.cc | 80 PseudoTcpChannel* parent_; member in cricket::PseudoTcpChannel::InternalStream 549 : parent_(parent) { in InternalStream() 557 if (!parent_) in GetState() 559 return parent_->GetState(); in GetState() 564 if (!parent_) { in Read() 569 return parent_->Read(buffer, buffer_len, read, error); in Read() 574 if (!parent_) { in Write() 579 return parent_->Write(data, data_len, written, error); in Write() 583 if (!parent_) in Close() 585 parent_->Close(); in Close() [all …]
|
/external/chromium/net/proxy/ |
D | proxy_config_service_mac.cc | 170 explicit Helper(ProxyConfigServiceMac* parent) : parent_(parent) { in Helper() 176 parent_ = NULL; in Orphan() 180 if (parent_) in OnProxyConfigChanged() 181 parent_->OnProxyConfigChanged(new_config); in OnProxyConfigChanged() 185 ProxyConfigServiceMac* parent_; member in net::ProxyConfigServiceMac::Helper
|
/external/chromium/chrome/browser/chromeos/options/ |
D | network_config_view.h | 122 parent_(parent) {} in ChildNetworkConfigView() 124 : parent_(parent) {} in ChildNetworkConfigView() 128 NetworkConfigView* parent_; variable
|
/external/chromium/chrome/browser/ui/gtk/ |
D | theme_install_bubble_view_gtk.cc | 48 parent_(parent), in ThemeInstallBubbleViewGtk() 140 gdk_window_get_position(parent_->window, &parent_x, &parent_y); in MoveWindow() 141 gint parent_width = parent_->allocation.width; in MoveWindow() 142 gint parent_height = parent_->allocation.height; in MoveWindow()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | message_bubble.cc | 31 parent_(parent), in MessageBubble() 141 if (parent_ && IsActive()) { in IsActiveChanged() 143 GTK_WINDOW(static_cast<WidgetGtk*>(parent_)->GetNativeView()), in IsActiveChanged() 154 parent_ = NULL; in Close()
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | status_bubble_mac.mm | 100 parent_(parent), function 146 scaled_width = [[parent_ contentView] convertSize:scaled_width fromView:nil]; 273 // Bubble's base frame in |parent_| coordinates. 278 baseFrame = [[parent_ contentView] frame]; 282 window_frame.origin = [parent_ convertBaseToScreen:baseFrame.origin]; 362 // We do not need to worry about the bubble outliving |parent_| because our 363 // teardown sequence in BWC guarantees that |parent_| outlives the status 367 [[BubbleView alloc] initWithFrame:NSZeroRect themeProvider:parent_]); 395 [parent_ addChildWindow:window_ ordered:NSWindowAbove]; 397 [[window_ contentView] setThemeProvider:parent_]; [all …]
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
D | content_setting_image_view.cc | 55 parent_(parent), in ContentSettingImageView() 131 TabContents* tab_contents = parent_->GetTabContentsWrapper()->tab_contents(); in OnMouseReleased() 247 parent_->Layout(); in AnimateToState() 248 parent_->SchedulePaint(); in AnimateToState()
|
/external/chromium/chrome/browser/resources/options/ |
D | cookies_list.js | 498 if (typeof this.parent_ == 'number') 499 return this.list_.getListItemByIndex(this.parent_); 500 return this.parent_; 511 this.parent_ = parent.listIndex; 516 this.parent_ = parent; 538 if (typeof this.parent_ == 'number') { 539 this.parent_ = event.newValue;
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_editor_gtk.cc | 206 parent_(parent), in BookmarkEditorGtk() 321 else if (parent_) in Init() 322 selected_id = parent_->id(); in Init() 406 (parent_ && parent_->HasAncestor(node))) { in BookmarkNodeRemoved() 462 bb_model_, parent_, details_, new_title, new_url); in ApplyEdits()
|
/external/chromium/chrome/browser/ui/views/download/ |
D | download_shelf_view.cc | 87 parent_(parent), in DownloadShelfView() 97 parent_->RemoveChildView(this); in ~DownloadShelfView() 238 parent_->ToolbarSizeChanged(shelf_animation_->IsShowing()); in AnimationProgressed() 244 parent_->SetDownloadShelfVisible(shelf_animation_->IsShowing()); in AnimationEnded() 384 parent_->SetDownloadShelfVisible(false); in Close()
|
/external/stressapptest/src/ |
D | error_diag.h | 46 DeviceTree *GetParent() { return parent_; } in GetParent() 62 DeviceTree *parent_; // Pointer to parent device. variable
|