Lines Matching defs:NULL

50 static image_t** sPreloadedAddons = NULL;
67 return NULL;
88 if (path == NULL)
93 status_t status = load_image(path, B_LIBRARY_IMAGE, NULL, NULL, NULL, image);
100 if ((*image)->find_undefined_symbol == NULL)
110 preload_images(image_t **image, int32 *_count = NULL)
113 if (imagePaths == NULL) {
114 if (_count != NULL)
140 if (image == NULL) {
153 if (_count != NULL)
165 const char *rpath = NULL, *runpath;
173 preload_images(NULL, &preloadedCount);
183 if (image->needed == NULL) {
194 if (runpath == NULL)
260 for (image_t* otherImage = image; otherImage != NULL;
270 for (image_t* otherImage = image; otherImage != NULL;
324 image_t **initList = NULL;
342 initList[--count] = NULL;
345 TRACE(("%ld: init dependencies\n", find_thread(NULL)));
349 TRACE(("%ld: init: %s\n", find_thread(NULL), image->name));
376 TRACE(("%ld: init done.\n", find_thread(NULL)));
432 if (newArray == NULL)
445 if (path == NULL)
450 image_t *image = NULL;
451 status_t status = load_image(path, B_LIBRARY_IMAGE, NULL, NULL, NULL, &image);
458 if (image->find_undefined_symbol == NULL)
505 if (imagePaths == NULL)
553 status = load_image(path, B_APP_IMAGE, NULL, NULL, NULL, &gProgramImage);
557 if (gProgramImage->find_undefined_symbol == NULL)
606 -1, 0, find_thread(NULL));
621 image_t *image = NULL;
624 const char* rpath = NULL, *runpath = NULL;
625 const char* requestingObjectPath = NULL;
627 if (path == NULL && addOn)
638 // a NULL path is fine -- it means the global scope shall be opened
639 if (path == NULL) {
645 if (image != NULL && (flags & RTLD_GLOBAL) != 0)
658 for (; callerImage != NULL; callerImage = callerImage->next) {
666 if (callerImage != NULL) {
668 if (runpath == NULL)
681 if (image->find_undefined_symbol == NULL) {
731 if (handle == NULL && imageID < 0)
749 if (handle != NULL) {
755 if (image != NULL) {
766 while ((image = get_disposable_images().head) != NULL) {
816 if (image == NULL)
842 if (_type != NULL)
844 if (_location != NULL)
867 if (image == NULL)
870 if (_imageID != NULL)
872 if (_imagePath != NULL)
874 if (_imageName != NULL)
879 if (_symbolName == NULL && _type == NULL && _location == NULL)
883 elf_sym* foundSymbol = NULL;
884 addr_t foundLocation = (addr_t)NULL;
905 if (_exactMatch != NULL)
908 if (foundSymbol != NULL) {
911 if (_type != NULL) {
921 if (_location != NULL)
924 *_symbolName = NULL;
925 if (_location != NULL)
926 *_location = NULL;
942 if (symbolName == NULL)
959 if (image != NULL) {
963 SymbolLookupInfo(symbolName, symbolType, NULL,
968 SymbolLookupInfo(symbolName, symbolType, NULL,
973 if (status == B_OK && _inImage != NULL)
988 if (symbolName == NULL)
999 SymbolLookupInfo(symbolName, B_SYMBOL_TYPE_ANY, NULL,
1002 if (symbol != NULL) {
1015 for (; callerImage != NULL; callerImage = callerImage->next) {
1024 if (callerImage != NULL) {
1030 elf_sym* candidateSymbol = NULL;
1031 image_t* candidateImage = NULL;
1034 for (; image != NULL; image = image->next) {
1050 SymbolLookupInfo(symbolName, B_SYMBOL_TYPE_TEXT, NULL,
1052 if (symbol == NULL)
1057 if (candidateImage == NULL || !isWeak) {
1068 if (candidateSymbol != NULL) {
1084 SymbolLookupInfo(symbolName, B_SYMBOL_TYPE_ANY, NULL,
1100 if (_name == NULL)
1106 if (image == NULL)
1110 if (dynamicSection == NULL || image->num_needed <= searchIndex)
1179 count = get_sorted_image_list(NULL, &termList, RFLAG_TERMINATED);
1188 TRACE(("%ld: terminate dependencies\n", find_thread(NULL)));
1192 TRACE(("%ld: term: %s\n", find_thread(NULL), image->name));
1200 TRACE(("%ld: term done.\n", find_thread(NULL)));
1230 if (buffer == NULL)