Home
last modified time | relevance | path

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

12345678910>>...112

/dports/x11-toolkits/tk86/tk8.6.12/generic/
H A DtkAtom.c83 int isNew; in Tk_InternAtom() local
90 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in Tk_InternAtom()
91 if (isNew) { in Tk_InternAtom()
97 hPtr2 = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in Tk_InternAtom()
142 int isNew; in Tk_GetAtomName() local
152 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in Tk_GetAtomName()
158 hPtr = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in Tk_GetAtomName()
193 int isNew; in AtomInit() local
201 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in AtomInit()
204 hPtr = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in AtomInit()
/dports/x11-toolkits/tk87/tk8.7a5/generic/
H A DtkAtom.c83 int isNew; in Tk_InternAtom() local
90 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in Tk_InternAtom()
91 if (isNew) { in Tk_InternAtom()
97 hPtr2 = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in Tk_InternAtom()
142 int isNew; in Tk_GetAtomName() local
152 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in Tk_GetAtomName()
158 hPtr = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in Tk_GetAtomName()
193 int isNew; in AtomInit() local
201 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in AtomInit()
204 hPtr = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in AtomInit()
/dports/www/mediawiki137/mediawiki-1.37.1/includes/Storage/
H A DEditResult.php48 private $isNew; variable in MediaWiki\\Storage\\EditResult
72 * @param bool $isNew
84 bool $isNew, argument
93 $this->isNew = $isNew;
197 public function isNew(): bool { function in MediaWiki\\Storage\\EditResult
198 return $this->isNew;
219 return !$this->isNew() && $this->getOldestRevertedRevisionId();
278 'isNew' => $this->isNew,
H A DEditResultBuilder.php57 private $isNew = false; variable in MediaWiki\\Storage\\EditResultBuilder
115 $this->isNew,
140 * @param bool $isNew
142 public function setIsNew( bool $isNew ) { argument
143 $this->isNew = $isNew;
255 if ( $this->isNew || $this->oldestRevertedRevId === null ) {
273 if ( $this->isNew ) {
/dports/www/mediawiki136/mediawiki-1.36.3/includes/Storage/
H A DEditResult.php48 private $isNew; variable in MediaWiki\\Storage\\EditResult
74 * @param bool $isNew
86 bool $isNew, argument
95 $this->isNew = $isNew;
199 public function isNew() : bool { function in MediaWiki\\Storage\\EditResult
200 return $this->isNew;
221 return !$this->isNew() && $this->getOldestRevertedRevisionId();
280 'isNew' => $this->isNew,
/dports/www/mediawiki135/mediawiki-1.35.5/includes/Storage/
H A DEditResult.php44 private $isNew; variable in MediaWiki\\Storage\\EditResult
70 * @param bool $isNew
82 bool $isNew, argument
91 $this->isNew = $isNew;
160 public function isNew() : bool { function in MediaWiki\\Storage\\EditResult
161 return $this->isNew;
181 return !$this->isNew() && $this->getOldestRevertedRevisionId();
H A DEditResultBuilder.php42 private $isNew = false; variable in MediaWiki\\Storage\\EditResultBuilder
90 $this->isNew,
115 * @param bool $isNew
117 public function setIsNew( bool $isNew ) { argument
118 $this->isNew = $isNew;
189 if ( $this->isNew || $this->oldestRevertedRevId === null ) {
207 if ( $this->isNew ) {
/dports/www/drupal8/drupal-8.9.20/core/modules/locale/src/
H A DTranslationString.php40 protected $isNew; variable in Drupal\\locale\\TranslationString
47 if (!isset($this->isNew)) {
51 $this->isNew = !$this->isTranslation();
101 public function isNew() { function in Drupal\\locale\\TranslationString
102 return $this->isNew;
110 $this->isNew = FALSE;
119 $this->isNew = TRUE;
/dports/www/drupal9/drupal-9.2.10/core/modules/locale/src/
H A DTranslationString.php40 protected $isNew; variable in Drupal\\locale\\TranslationString
47 if (!isset($this->isNew)) {
51 $this->isNew = !$this->isTranslation();
101 public function isNew() { function in Drupal\\locale\\TranslationString
102 return $this->isNew;
110 $this->isNew = FALSE;
119 $this->isNew = TRUE;
/dports/x11-toolkits/tk85/tk8.5.19/generic/
H A DtkAtom.c83 int isNew; in Tk_InternAtom() local
90 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in Tk_InternAtom()
91 if (isNew) { in Tk_InternAtom()
97 hPtr2 = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in Tk_InternAtom()
142 int isNew, mustFree; in Tk_GetAtomName() local
153 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in Tk_GetAtomName()
159 hPtr = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in Tk_GetAtomName()
194 int isNew; in AtomInit() local
202 hPtr = Tcl_CreateHashEntry(&dispPtr->nameTable, name, &isNew); in AtomInit()
205 hPtr = Tcl_CreateHashEntry(&dispPtr->atomTable, INT2PTR(atom), &isNew); in AtomInit()
/dports/www/drupal9/drupal-9.2.10/core/tests/Drupal/KernelTests/Core/Config/
H A DConfigCRUDTest.php53 $this->assertTrue($config->isNew());
57 $this->assertFalse($config->isNew());
85 $this->assertFalse($config->isNew());
94 $this->assertFalse($config->isNew());
104 $this->assertFalse($actual_config->isNew());
112 $this->assertTrue($config->isNew());
125 $this->assertTrue($config->isNew());
130 $this->assertFalse($config->isNew());
139 $this->assertFalse($config->isNew());
152 $this->assertTrue($config->isNew());
[all …]
/dports/www/drupal8/drupal-8.9.20/core/tests/Drupal/KernelTests/Core/Config/
H A DConfigCRUDTest.php53 $this->assertIdentical($config->isNew(), TRUE);
57 $this->assertIdentical($config->isNew(), FALSE);
85 $this->assertIdentical($config->isNew(), FALSE);
94 $this->assertIdentical($config->isNew(), FALSE);
104 $this->assertIdentical($actual_config->isNew(), FALSE);
112 $this->assertIdentical($config->isNew(), TRUE);
125 $this->assertIdentical($config->isNew(), TRUE);
130 $this->assertIdentical($config->isNew(), FALSE);
139 $this->assertIdentical($config->isNew(), FALSE);
152 $this->assertIdentical($config->isNew(), TRUE);
[all …]
/dports/games/jin/jin-2.14.1/src/free/jin/event/
H A DMoveMadeEvent.java53 private final boolean isNew; field in MoveMadeEvent
67 public MoveMadeEvent(Connection conn, Game game, Move move, boolean isNew){ in MoveMadeEvent() argument
74 this.isNew = isNew; in MoveMadeEvent()
98 public boolean isNew(){ in isNew() method in MoveMadeEvent
99 return isNew; in isNew()
/dports/www/websh/websh-3.6.0b5/src/generic/
H A Dvarchannel.c51 int isNew = 0; in varchannelInputProc() local
65 varChannel->varName, &isNew); in varchannelInputProc()
68 if (isNew) in varchannelInputProc()
81 if (isNew) in varchannelInputProc()
88 if (isNew) in varchannelInputProc()
94 if (isNew) in varchannelInputProc()
112 int isNew = 0; in varchannelOutputProc() local
128 varChannel->varName, &isNew); in varchannelOutputProc()
131 if (isNew) { in varchannelOutputProc()
302 int isNew = 0; in Web_GetVarChannel() local
[all …]
/dports/devel/arcanist/arcanist-b2e715f/src/utils/__tests__/
H A DPhutilLunarPhaseTestCase.php9 $this->assertTrue($moon->isNew());
16 $this->assertFalse($moon->isNew());
23 $this->assertFalse($moon->isNew());
30 $this->assertFalse($moon->isNew());
37 $this->assertFalse($moon->isNew());
44 $this->assertTrue($moon->isNew());
51 $this->assertTrue($moon->isNew());
/dports/devel/arcanist-lib/arcanist-b2e715f/src/utils/__tests__/
H A DPhutilLunarPhaseTestCase.php9 $this->assertTrue($moon->isNew());
16 $this->assertFalse($moon->isNew());
23 $this->assertFalse($moon->isNew());
30 $this->assertFalse($moon->isNew());
37 $this->assertFalse($moon->isNew());
44 $this->assertTrue($moon->isNew());
51 $this->assertTrue($moon->isNew());
/dports/www/joomla3/joomla3-3.9.24/plugins/content/finder/
H A Dfinder.php26 * @param bool $isNew If the content has just been created
32 public function onContentAfterSave($context, $article, $isNew) argument
38 $dispatcher->trigger('onFinderAfterSave', array($context, $article, $isNew));
47 * @param bool $isNew If the content is just about to be created.
53 public function onContentBeforeSave($context, $article, $isNew) argument
59 $dispatcher->trigger('onFinderBeforeSave', array($context, $article, $isNew));
/dports/games/warzone2100/warzone2100/src/
H A Dmultisync.cpp101 bool isNew = true; in sendPing() local
163 NETbool(&isNew); in sendPing()
179 bool isNew = false; in recvPing() local
186 NETbool(&isNew); in recvPing()
187 if (isNew) in recvPing()
204 if (isNew) in recvPing()
210 isNew = false; in recvPing()
213 NETbool(&isNew); in recvPing()
/dports/www/joomla3/joomla3-3.9.24/administrator/components/com_categories/views/category/
H A Dview.html.php113 $isNew = ($this->item->id == 0);
144 …title_key = $component . ($section ? "_$section" : '') . '_CATEGORY_' . ($isNew ? 'ADD' : 'EDIT') …
151 $title = JText::sprintf('COM_CATEGORIES_CATEGORY_' . ($isNew ? 'ADD' : 'EDIT')
158 $title = JText::_('COM_CATEGORIES_CATEGORY_BASE_' . ($isNew ? 'ADD' : 'EDIT') . '_TITLE');
167 'folder category-' . ($isNew ? 'add' : 'edit')
168 …. ' ' . substr($component, 4) . ($section ? "-$section" : '') . '-category-' . ($isNew ? 'add' : '…
172 if ($isNew && (count($user->getAuthorisedCategories($component, 'core.create')) > 0))
221 …$ref_key = strtoupper($component . ($section ? "_$section" : '')) . '_CATEGORY_' . ($isNew ? 'ADD'…
228 . '_CATEGORY_' . ($isNew ? 'ADD' : 'EDIT');
/dports/www/tikiwiki/tiki-21.2/lib/core/Tracker/
H A DItem.php32 private $isNew = false; variable in Tracker_Item
78 $this->isNew = true;
84 if ($this->isNew()) {
103 if ($this->isNew()) {
124 if ($this->isNew()) {
245 if ($this->isNew()) {
266 if ($this->isNew()) {
381 return $this->isNew();
423 private function isNew() function in Tracker_Item
425 return $this->isNew;
[all …]
/dports/www/joomla3/joomla3-3.9.24/administrator/components/com_menus/views/item/
H A Dview.html.php107 $isNew = ($this->item->id == 0);
112 …JToolbarHelper::title(JText::_($isNew ? 'COM_MENUS_VIEW_NEW_ITEM_TITLE' : 'COM_MENUS_VIEW_EDIT_ITE…
115 if ($isNew && $canDo->get('core.create'))
126 if (!$isNew && !$checkedOut && $canDo->get('core.edit'))
139 if (!$isNew && $canDo->get('core.create'))
144 …if (!$isNew && JLanguageAssociations::isEnabled() && JComponentHelper::isEnabled('com_associations…
149 if ($isNew)
/dports/textproc/redisearch/RediSearch-2.2.5/tests/ctests/
H A Dtest_khtable.c51 int isNew = 0; in testKhTable() local
52 ent = (void *)KHTable_GetEntry(&kht, "key", 0, calcHash("key"), &isNew); in testKhTable()
54 ASSERT(isNew != 0); in testKhTable()
59 isNew = 0; in testKhTable()
64 ent2 = (void *)KHTable_GetEntry(&kht, "key", 0, calcHash("key"), &isNew); in testKhTable()
66 ASSERT(isNew == 0); in testKhTable()
/dports/textproc/redisearch20/RediSearch-2.0.15/tests/ctests/
H A Dtest_khtable.c51 int isNew = 0; in testKhTable() local
52 ent = (void *)KHTable_GetEntry(&kht, "key", 0, calcHash("key"), &isNew); in testKhTable()
54 ASSERT(isNew != 0); in testKhTable()
59 isNew = 0; in testKhTable()
64 ent2 = (void *)KHTable_GetEntry(&kht, "key", 0, calcHash("key"), &isNew); in testKhTable()
66 ASSERT(isNew == 0); in testKhTable()
/dports/textproc/redisearch16/RediSearch-1.6.16/src/tests/
H A Dtest_khtable.c51 int isNew = 0; in testKhTable() local
52 ent = (void *)KHTable_GetEntry(&kht, "key", 0, calcHash("key"), &isNew); in testKhTable()
54 ASSERT(isNew != 0); in testKhTable()
59 isNew = 0; in testKhTable()
64 ent2 = (void *)KHTable_GetEntry(&kht, "key", 0, calcHash("key"), &isNew); in testKhTable()
66 ASSERT(isNew == 0); in testKhTable()
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/unit/includes/Storage/
H A DEditResultBuilderTest.php38 $this->assertFalse( $er->isNew(), 'EditResult::isNew()' );
51 * @param bool $isNew
53 public function testSetIsNew( bool $isNew ) { argument
55 $erb->setIsNew( $isNew );
59 $this->assertSame( $isNew, $er->isNew(), 'EditResult::isNew()' );
72 $this->assertFalse( $er->isNew(), 'EditResult::isNew()' );
102 $this->assertFalse( $er->isNew(), 'EditResult::isNew()' );
154 $this->assertFalse( $er->isNew(), 'EditResult::isNew()' );
206 $this->assertFalse( $er->isNew(), 'EditResult::isNew()' );
237 $this->assertFalse( $er->isNew(), 'EditResult::isNew()' );
[all …]

12345678910>>...112