/haiku/src/tests/kits/interface/ |
H A D | SimpleAlertTest.cpp | 55 sizeMenu->AddItem(new BMenuItem("As usual", NULL)); 56 sizeMenu->AddItem(new BMenuItem("From widest", NULL)); 57 sizeMenu->AddItem(new BMenuItem("From label", NULL)); 64 typeMenu->AddItem(new BMenuItem("Empty", NULL)); 65 typeMenu->AddItem(new BMenuItem("Info", NULL)); 66 typeMenu->AddItem(new BMenuItem("Idea", NULL)); 67 typeMenu->AddItem(new BMenuItem("Warning", NULL)); 68 typeMenu->AddItem(new BMenuItem("Stop", NULL)); 75 spacingMenu->AddItem(new BMenuItem("Even", NULL)); 76 spacingMenu->AddItem(new BMenuItem("Offset", NULL)); [all...] |
/haiku/src/system/libroot/os/locks/ |
H A D | rw_lock.cpp | 26 waiter.thread = find_thread(NULL); 27 waiter.next = NULL; 30 if (lock->waiters != NULL) 60 if (waiter == NULL) 73 while (waiter != NULL && !waiter->writer) { 92 lock->waiters = NULL; 107 while (waiter != NULL) { 126 if (lock->holder == find_thread(NULL)) { 140 if (lock->holder == find_thread(NULL)) { 170 lock->holder = find_thread(NULL); [all...] |
/haiku/src/preferences/mail/ |
H A D | ConfigViews.cpp | 58 fNameControl = new BTextControl(NULL, B_TRANSLATE("Account name:"), NULL, 60 fRealNameControl = new BTextControl(NULL, B_TRANSLATE("Real name:"), NULL, 61 NULL); 62 fReturnAddressControl = new BTextControl(NULL, 63 B_TRANSLATE("Return address:"), NULL, NULL); 65 BView* contents = new BView(NULL, 0); 129 fSettingsView(NULL) [all...] |
/haiku/src/kits/interface/ |
H A D | ColorMenuItem.cpp | 70 return NULL; 123 if (_width != NULL) 126 if (_height != NULL) 142 if (menu == NULL) 148 while ((_menu = _menu->Supermenu()) != NULL) 153 if (menu == NULL || menu->Parent() == NULL) 158 if (dynamic_cast<BMenuField*>(menu->Parent()) == NULL) 165 if (topLevelItem == NULL) 172 if (topLevelColorMenuItem == NULL) [all...] |
H A D | PrintJob.cpp | 157 fPrintJobName(NULL), 158 fSpoolFile(NULL), 160 fSetupMessage(NULL), 161 fDefaultSetupMessage(NULL), 163 fCurrentPageHeader(NULL) 167 if (jobName != NULL && jobName[0]) 171 if (fCurrentPageHeader != NULL) 227 if (fSpoolFile != NULL || fCurrentPageHeader == NULL) 231 if (fSetupMessage == NULL) [all...] |
H A D | SeparatorItem.cpp | 19 BMenuItem("", NULL) 51 return NULL; 65 if (Menu() != NULL && Menu()->Layout() == B_ITEMS_IN_ROW) { 66 if (_width != NULL) 69 if (_height != NULL) 72 if (_width != NULL) 75 if (_height != NULL) { 77 if (Menu() != NULL) 91 if (menu == NULL)
|
/haiku/src/kits/media/ |
H A D | MediaWriter.cpp | 50 fWriter(NULL), 64 if (fWriter != NULL) { 83 return fWriter != NULL ? fWriter->Init(&fFileFormat) : B_NO_INIT; 99 if (_fileFormat != NULL) 110 if (fWriter == NULL) 141 if (chunkWriter == NULL) { 158 if (fWriter == NULL) 168 if (fWriter == NULL) 182 if (fWriter == NULL) 192 if (fWriter == NULL) [all...] |
H A D | MediaTheme.cpp | 60 if (!fIsAddOn || ref == NULL) 75 if (usingTheme == NULL) 78 if (usingTheme == NULL) { 99 if (defaultTheme == NULL) { 102 if (dynamic_cast<BPrivate::DefaultMediaTheme *>(sDefaultTheme) == NULL) 130 if (sDefaultTheme == NULL) 141 return NULL; 185 if (parameter == NULL) 186 return NULL;
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | FileSystemVisitor.cpp | 22 fIterator(NULL) 49 const char* name = NULL; 54 if (fIterator == NULL) { 69 if (inode != NULL && inode->IsDeleted()) 73 NULL, NULL, NULL); 82 if (tree == NULL) { 93 if (fIterator == NULL) 109 fIterator = NULL; [all...] |
/haiku/src/tests/kits/interface/layout/widget_layout_test/tests/ |
H A D | BoxTest.cpp | 60 : Test("Box", NULL), 62 fChild(NULL), 63 fBorderStyleRadioGroup(NULL), 64 fLabelRadioGroup(NULL), 65 fLongLabelCheckBox(NULL), 66 fChildCheckBox(NULL) 136 button = new LabelRadioButton("No label", NULL); 146 button = new LabelRadioButton("Label view", NULL, true); 213 View* parent = (selectedButton ? selectedButton->Parent() : NULL); 231 View* parent = (selectedButton ? selectedButton->Parent() : NULL); [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | Device.cpp | 60 if (device->path == NULL) 100 ACPI_HANDLE handle = NULL; 101 const char *path = NULL; 109 if (device == NULL) 114 if (path != NULL && AcpiGetHandle(NULL, (ACPI_STRING)path, &handle) != AE_OK) { 120 device->path = path != NULL ? strdup(path) : NULL; 161 NULL, // supports device 162 NULL, // registe [all...] |
/haiku/src/libs/icon/shape/ |
H A D | ReferenceImage.cpp | 29 fPath(NULL) 31 if (Style() == NULL) 54 fPath(NULL) 56 if (Style() == NULL) 62 if (bitmap == NULL) 74 fPath(NULL) 109 if (bitmap == NULL) 184 if (Style() == NULL || Style()->Bitmap() == NULL) 197 if (fPath != NULL) { [all...] |
/haiku/src/apps/icon-o-matic/shape/commands/ |
H A D | RemovePointsCommand.cpp | 34 fIndex(NULL), 35 fPoint(NULL), 36 fPointIn(NULL), 37 fPointOut(NULL), 38 fConnected(NULL), 40 fOldSelection(NULL), 53 fIndex(NULL), 54 fPoint(NULL), 55 fPointIn(NULL), 56 fPointOut(NULL), [all...] |
/haiku/src/tests/add-ons/kernel/kernelland_emu/ |
H A D | condition_variable.cpp | 57 : fVariable(NULL) 64 if (fVariable != NULL) 72 ASSERT(object != NULL); 80 if (fVariable == NULL) { 97 if (fVariable == NULL) 140 if (fVariable != NULL) { 142 fVariable = NULL; 164 ASSERT(object != NULL); 172 ASSERT(sConditionVariableHash.Lookup(object) == NULL); 181 ASSERT(fObject != NULL); [all...] |
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/ |
H A D | OsSupportBeOS.cpp | 72 echo_mem *mem = NULL; 74 if ((mem = (echo_mem*)malloc(sizeof(*mem))) == NULL) 75 return (NULL); 81 return NULL; 97 echo_mem *mem = NULL; 100 if (mem == NULL) 101 return (NULL); 111 echo_mem *mem = NULL; 151 if ( NULL == *ppMemAddr ) 285 if (NULL [all...] |
/haiku/src/kits/tracker/ |
H A D | RegExp.cpp | 90 // regmust string (pointer into program) that match must include, or NULL 216 fRegExp(NULL), 217 fInputScanPointer(NULL), 220 fCodeEmitPointer(NULL), 222 fStringInputPointer(NULL), 223 fRegBol(NULL), 224 fStartPArrayPointer(NULL), 225 fEndPArrayPointer(NULL) 233 fRegExp(NULL) 242 fRegExp(NULL) [all...] |
/haiku/headers/private/shared/ |
H A D | EntryFilter.h | 27 : fPattern(NULL), 42 if (fPattern == NULL) 52 if (fPattern != NULL) { 80 : fIncludeFilters(NULL), 81 fExcludeFilters(NULL) 120 if (fExcludeFilters == NULL && fIncludeFilters) 125 name = (name != NULL ? name + 1 : path); 132 return fIncludeFilters == NULL || _Filter(fIncludeFilters, path, name); 147 if (filter == NULL)
|
/haiku/src/system/kernel/util/ |
H A D | queue.cpp | 27 q->head = q->tail = NULL; 38 queue_element *temp, *last = NULL; 67 if (q->tail == NULL) { 74 elem->next = NULL; 87 if (q->head != NULL) 90 q->tail = NULL; 92 if (elem != NULL) 156 return NULL; 171 return NULL;
|
/haiku/src/tests/add-ons/translators/pngtranslator/ |
H A D | PNGTranslatorTest.cpp | 117 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti) == B_OK); 126 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, 136 CPPUNIT_ASSERT(proster->Identify(&file, NULL, &ti, 0, NULL, 163 result = proster->Identify(&wronginput, NULL, &ti, 0, 164 NULL, B_TRANSLATOR_TEXT); 171 result = proster->Identify(&wronginput, NULL, &ti); 180 result = proster->Identify(&badsig1, NULL, &ti); 189 result = proster->Identify(&badsig2, NULL, [all...] |
/haiku/src/bin/package/ |
H A D | command_add.cpp | 33 const char* changeToDirectory = NULL; 34 const char* packageInfoFileName = NULL; 50 sLongOptions, NULL); 106 if (optind >= argc && packageInfoFileName == NULL) 130 if (packageInfoFileName != NULL) { 139 if (changeToDirectory != NULL) { 155 listener, packageInfoFileName != NULL) != B_OK) 159 if (packageInfoFileName != NULL 170 if (packageInfoFileName != NULL) {
|
/haiku/src/apps/patchbay/ |
H A D | EndpointInfo.cpp | 39 fIcon(NULL) 46 fIcon(NULL) 49 if (roster != NULL) { 51 if (endpoint != NULL) { 67 fIcon = (info.fIcon) ? new BBitmap(info.fIcon) : NULL; 77 fIcon = (info.fIcon) ? new BBitmap(info.fIcon) : NULL; 103 BBitmap* bitmap = NULL; 116 bitmap = NULL; 134 return NULL;
|
/haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/ |
H A D | h2util.cpp | 30 if (nbuf->COOKIEFIELD != NULL) 40 if (nbuf->COOKIEFIELD == NULL) 56 return NULL; 64 if (nbuf == NULL) 68 if (nbuf->COOKIEFIELD != NULL) 72 if (nb != NULL) 86 if (nbuf == NULL) 87 panic("Analizing NULL packet"); 139 if (item == NULL) 159 while ((item = list_remove_head_item(l)) != NULL) { [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | HashRevokeManager.cpp | 25 fHash(NULL), 34 if (fHash != NULL) { 38 while (element != NULL) { 55 if (fHash == NULL || fHash->Init(kInitialHashSize) != B_OK) 67 if (element != NULL) { 92 if (element == NULL) 108 if (element == NULL) 135 if (revoked != NULL) 148 if (element == NULL)
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Volume.cpp | 87 fChunk(NULL), 88 fChunkTree(NULL) 165 if (fChunk == NULL) 180 if (fBlockCache == NULL) 186 if (fChunkTree == NULL) 188 fChunkTree->SetRoot(fSuperBlock.ChunkRoot(), NULL); 193 if (fRootTree == NULL) 195 fRootTree->SetRoot(fSuperBlock.Root(), NULL); 215 if (fExtentTree == NULL) 217 fExtentTree->SetRoot(root->LogicalAddress(), NULL); [all...] |
/haiku/src/kits/locale/ |
H A D | DurationFormat.cpp | 50 if (fCalendar == NULL) { 66 if (fCalendar == NULL) { 78 fCalendar(other.fCalendar != NULL 79 ? new GregorianCalendar(*other.fCalendar) : NULL) 81 if (fCalendar == NULL && other.fCalendar != NULL) 102 if (fCalendar == NULL) 106 if (timeZone == NULL) { 117 if (icuTimeZone != NULL)
|