/reactos/base/services/nfsd/ |
H A D | list.h | 37 for (entry = (head)->next; entry != (head); entry = entry->next) 40 for (entry = (head)->next, tmp = entry->next; entry != (head); \ 41 entry = tmp, tmp = entry->next) 44 for (entry = (head)->prev; entry != (head); entry = entry->prev) 47 for (entry = (head)->next, tmp = entry->next; entry != (head); \ 48 entry = tmp, tmp = entry->next) 70 entry->prev = prev; in list_add() 71 entry->next = next; in list_add() 72 prev->next = entry; in list_add() 94 entry->next->prev = entry->prev; in list_remove() [all …]
|
H A D | name_cache.c | 163 entry->fileid, previous, entry->ref_count); in attr_cache_entry_ref() 172 entry->fileid, previous, entry->ref_count); in attr_cache_entry_deref() 182 (!entry->delegated && time(NULL) > entry->expiration); in attr_cache_entry_expired() 278 entry = NULL; in attr_cache_find_or_create() 434 name_cache_remove(entry, entry->parent); in name_cache_unlink() 498 while (entry) { in name_cache_entry_accessed() 504 if (entry == entry->parent) in name_cache_entry_accessed() 506 entry = entry->parent; in name_cache_entry_accessed() 616 if (entry) in name_cache_search() 621 return entry; in name_cache_search() [all …]
|
H A D | readdir.c | 157 &entry->attr_info); in readdir_copy_dir_info() 241 name.name = entry->name; in lookup_entry() 295 entry->name, entry->name_len, wname, NFS4_OPAQUE_LIMIT); in readdir_copy_entry() 405 StringCbCopyA(entry->name, entry->name_len, "."); in readdir_add_dots() 406 entry->next_entry_offset = entry_len + entry->name_len; in readdir_add_dots() 439 StringCbCopyA(entry->name, entry->name_len, ".."); in readdir_add_dots() 440 entry->next_entry_offset = entry_len + entry->name_len; in readdir_add_dots() 539 entry->cookie = 0; in handle_readdir() 541 StringCbCopyA(entry->name, entry->name_len, args->filter); in handle_readdir() 570 args->filter, entry->name, entry->cookie); in handle_readdir() [all …]
|
/reactos/modules/rosapps/applications/explorer-old/shell/ |
H A D | regfs.cpp | 56 RegEntry* entry; in read_directory() local 86 last = entry; in read_directory() 169 last = entry; in read_directory() 204 for(Entry*entry=_down; entry; entry=entry->_next) { in find_entry() local 210 return entry; in find_entry() 218 return entry; in find_entry() 261 last = entry; in read_directory() 268 last = entry; in read_directory() 275 last = entry; in read_directory() 282 last = entry; in read_directory() [all …]
|
H A D | unixfs.cpp | 45 Entry* entry; in read_directory() local 72 first_entry = entry; in read_directory() 75 last->_next = entry; in read_directory() 105 entry->_up = this; in read_directory() 108 entry->_level = level; in read_directory() 110 last = entry; in read_directory() 144 for(Entry*entry=_down; entry; entry=entry->_next) { in find_entry() local 150 return entry; in find_entry() 169 for(const Entry* entry=this; entry; level++) { in get_path() local 176 if (entry->_up) { in get_path() [all …]
|
H A D | shellfs.cpp | 299 first_entry = entry; in read_directory() 302 last->_next = entry; in read_directory() 306 entry->_level = level; in read_directory() 354 last = entry; in read_directory() 425 first_entry = entry; in read_directory() 467 last = entry; in read_directory() 503 for(Entry*entry=_down; entry; entry=entry->_next) in find_entry() local 508 return entry; in find_entry() 517 return entry; in find_entry() 528 for(Entry*entry=_down; entry; entry=entry->_next) in extract_icons() local [all …]
|
H A D | shellbrowser.cpp | 128 Entry* entry = NULL; in jump_to() local 150 if (!entry) in jump_to() 161 if (entry) { in jump_to() 169 if (!entry) in jump_to() 236 if (entry) { in OnTreeGetDispInfo() 295 if (entry) in OnTreeItemExpanding() 296 if (!InsertSubitems(pnmtv->itemNew.hItem, entry, entry->_folder)) { in OnTreeItemExpanding() 340 for(entry=entry->_down; entry; entry=entry->_next) { in InsertSubitems() 393 if (entry) in OnTreeItemSelected() 505 if (entry && (entry->_data.dwFileAttributes&FILE_ATTRIBUTE_DIRECTORY)) in OnDefaultCommand() [all …]
|
H A D | winfs.cpp | 41 Entry** pnext = &entry->_down; in ScanNTFSStreams() 131 Entry* entry; in read_directory() local 150 entry = new WinEntry(this); in read_directory() 153 first_entry = entry; in read_directory() 156 last->_next = entry; in read_directory() 159 entry->_level = level; in read_directory() 170 entry->_bhfi_valid = true; in read_directory() 216 for(Entry*entry=_down; entry; entry=entry->_next) { in find_entry() local 218 LPCTSTR q = entry->_data.cFileName; in find_entry() 222 return entry; in find_entry() [all …]
|
H A D | filechild.cpp | 130 Entry* entry = NULL; in FileChildWindow() local 249 if (entry) in FileChildWindow() 250 set_curdir(entry); in FileChildWindow() 272 _left->_cur = entry; in set_curdir() 273 _right->_root = entry&&entry->_down? entry->_down: entry; in set_curdir() 274 _right->_cur = entry; in set_curdir() 276 if (entry) { in set_curdir() 280 scan_entry(entry); in set_curdir() 563 set_curdir(entry); in Command() 581 if (!entry) in activate_entry() [all …]
|
/reactos/base/services/rpcss/ |
H A D | epmp.c | 30 struct list entry; member 59 list_remove(&entry->entry); in delete_registered_ept_entry() 81 return entry; in find_ept_entry() 110 if (!entry) in ept_insert() 117 rpc_status = TowerExplode(entries[i].tower, &entry->iface, &entry->syntax, in ept_insert() 118 &entry->protseq, &entry->endpoint, in ept_insert() 133 …ntry *old_entry = find_ept_entry(&entry->iface, &entry->syntax, entry->protseq, entry->endpoint, e… in ept_insert() 136 list_add_tail(®istered_ept_entry_list, &entry->entry); in ept_insert() 173 if (entry) in ept_delete() 242 rpc_status = TowerConstruct(&entry->iface, &entry->syntax, in ept_map() [all …]
|
/reactos/base/setup/usetup/ |
H A D | mui.c | 149 if (!entry) in MUIClearPage() 177 if (!entry) in MUIDisplayPage() 218 if (!entry) in MUIDisplayErrorV() 259 if (entry) in MUIGetString() 306 if (!entry) in MUIGetEntry() 354 if (!entry) in MUIClearText() 410 if (!entry) in MUIClearStyledText() 462 if (!entry) in MUISetText() 476 CONSOLE_SetTextXY(entry[Index].X, entry[Index].Y, entry[Index].Buffer); in MUISetText() 515 if (!entry) in MUISetStyledText() [all …]
|
/reactos/dll/opengl/mesa/ |
H A D | hash.c | 95 free(entry); in DeleteHashTable() 96 entry = next; in DeleteHashTable() 120 while (entry) { in HashLookup() 124 entry = entry->Next; in HashLookup() 152 while (entry) { in HashInsert() 158 entry = entry->Next; in HashInsert() 187 while (entry) { in HashRemove() 199 prev = entry; in HashRemove() 200 entry = entry->Next; in HashRemove() 234 printf("%u %p\n", entry->Key, entry->Data); in HashPrint() [all …]
|
/reactos/sdk/lib/3rdparty/adns/client/ |
H A D | adnsresfilter.c | 220 if (!entry || entry->addr || entry->textlen >= peroutqueuenode) { in queueoutchar() 223 entry= xmalloc(sizeof(*entry)); in queueoutchar() 225 entry->textp= entry->buffer; in queueoutchar() 231 entry->textp[entry->textlen++]= c; in queueoutchar() 242 r= write(1, entry->textp, entry->textlen); in writestdout() 255 free(entry); in writestdout() 276 entry->buffer= entry->textp= newbuf; in replacetextwithname() 332 entry= xmalloc(sizeof(*entry)); in procaddr() 334 entry->textp= entry->buffer; in procaddr() 432 entry->addr= 0; in main() [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/base/ |
H A D | ftsnames.c | 63 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_Name() 69 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_Name() 71 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_Name() 73 FT_FREE( entry->string ); in FT_Get_Sfnt_Name() 74 entry->stringLength = 0; in FT_Get_Sfnt_Name() 81 aname->name_id = entry->nameID; in FT_Get_Sfnt_Name() 119 if ( entry->stringLength > 0 && !entry->string ) in FT_Get_Sfnt_LangTag() 125 if ( FT_NEW_ARRAY ( entry->string, entry->stringLength ) || in FT_Get_Sfnt_LangTag() 127 FT_STREAM_READ( entry->string, entry->stringLength ) ) in FT_Get_Sfnt_LangTag() 129 FT_FREE( entry->string ); in FT_Get_Sfnt_LangTag() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/core/ |
H A D | dns.c | 448 iterator_fn(entry->name, &entry->addr, iterator_arg); in dns_local_iterate() 451 entry = entry->next; in dns_local_iterate() 511 entry = entry->next; in dns_lookup_local() 556 entry = entry->next; in dns_local_removehost() 561 entry = entry->next; in dns_local_removehost() 780 (u16_t)(entry->server_idx), entry->name)); in dns_send() 846 entry->txid, entry->name, entry->server_idx)); in dns_send() 1079 entry->tmr = 1; in dns_check_entry() 1111 entry->tmr = entry->retries; in dns_check_entry() 1124 if ((entry->ttl == 0) || (--entry->ttl == 0)) { in dns_check_entry() [all …]
|
/reactos/sdk/include/reactos/wine/ |
H A D | rbtree.h | 57 return entry && (entry->flags & WINE_RB_FLAG_RED); in wine_rb_is_red() 210 entry = c < 0 ? entry->left : entry->right; in wine_rb_get() 238 if (entry->parent == entry->parent->parent->left) in wine_rb_put() 243 entry = entry->parent->parent; in wine_rb_put() 247 if (entry == entry->parent->right) in wine_rb_put() 249 entry = entry->parent; in wine_rb_put() 262 entry = entry->parent->parent; in wine_rb_put() 266 if (entry == entry->parent->left) in wine_rb_put() 268 entry = entry->parent; in wine_rb_put() 288 if (entry->right && entry->left) in wine_rb_remove() [all …]
|
/reactos/dll/shellext/ntobjshex/ |
H A D | ntobjenum.cpp | 218 if (!entry) in EnumerateNext() 232 entry->cb += entry->entryNameLength + sizeof(WCHAR); in EnumerateNext() 368 if (!entry) in NextKey() 381 entry->cb += entry->entryNameLength + sizeof(WCHAR); in NextKey() 392 PWSTR contentData = (PWSTR) ((PBYTE) entry + entry->cb); in NextKey() 398 entry->cb += entry->contentsLength + sizeof(WCHAR); in NextKey() 433 if (!entry) in NextValue() 447 entry->cb += entry->entryNameLength + sizeof(WCHAR); in NextValue() 458 PBYTE contentData = (PBYTE) ((PBYTE) entry + entry->cb); in NextValue() 467 entry->cb += entry->contentsLength + sizeof(WCHAR); in NextValue() [all …]
|
/reactos/drivers/storage/class/classpnp/ |
H A D | dictlib.c | 88 PDICTIONARY_HEADER *entry; variable 115 while(*entry != NULL) { 132 entry = &((*entry)->Next); 140 header->Next = *entry; 141 *entry = header; 162 PDICTIONARY_HEADER entry; in GetDictionaryEntry() local 171 entry = Dictionary->List; in GetDictionaryEntry() 172 while (entry != NULL) { in GetDictionaryEntry() 178 entry = entry->Next; in GetDictionaryEntry() 205 while(*entry != NULL) { in FreeDictionaryEntry() [all …]
|
/reactos/drivers/filesystems/nfs/ |
H A D | nfs41_driver.c | 596 entry->version, entry->session, entry->open_state); in marshal_nfs41_header() 745 entry->u.Open.access_mode, entry->u.Open.attrs, entry->u.Open.copts, in marshal_nfs41_open() 746 entry->u.Open.disp, entry->u.Open.open_owner_id, entry->u.Open.mode, in marshal_nfs41_open() 805 entry->buf_len, entry->u.ReadWrite.offset, in marshal_nfs41_rw() 927 entry->u.Close.remove, entry->u.Close.srv_open, entry->u.Close.renamed); in marshal_nfs41_close() 1104 entry->filename, entry->buf_len, entry->u.SetEa.mode); in marshal_nfs41_easet() 1290 entry->u.Acl.query, entry->buf_len); in marshal_nfs41_setacl() 1458 entry->psec_ctx = &entry->sec_ctx; in nfs41_UpcallCreate() 1501 opcode2string(entry->opcode), entry, entry->xid); in nfs41_UpcallWaitForReply() 1510 entry, entry->xid); in nfs41_UpcallWaitForReply() [all …]
|
/reactos/dll/appcompat/apphelp/ |
H A D | sdbstringtable.c | 71 while (entry) in SdbpTableDestroy() 73 next = entry->Next; in SdbpTableDestroy() 74 SdbFree(entry); in SdbpTableDestroy() 75 entry = next; in SdbpTableDestroy() 138 while (*entry) in TableFindPtr() 141 return entry; in TableFindPtr() 142 entry = &(*entry)->Next; in TableFindPtr() 144 return entry; in TableFindPtr() 158 if (!entry) in HashAddString() 163 entry->Tagid = tagid; in HashAddString() [all …]
|
/reactos/sdk/lib/3rdparty/libxml2/ |
H A D | hash.c | 374 xmlFree(entry); in xmlHashDefaultDeallocator() 602 if (entry == NULL) in xmlHashAddEntry3() 732 if (entry == NULL) in xmlHashUpdateEntry3() 782 for (entry = &(table->table[key]); entry != NULL; entry = entry->next) { in xmlHashLookup3() 789 for (entry = &(table->table[key]); entry != NULL; entry = entry->next) { in xmlHashLookup3() 828 for (entry = &(table->table[key]); entry != NULL; entry = entry->next) { in xmlHashQLookup3() 1104 for (entry = &(table->table[key]); entry != NULL; entry = entry->next) { in xmlHashRemoveEntry3() 1109 f(entry->payload, entry->name); in xmlHashRemoveEntry3() 1124 entry->valid = 0; in xmlHashRemoveEntry3() 1126 entry = entry->next; in xmlHashRemoveEntry3() [all …]
|
/reactos/dll/win32/ole32/ |
H A D | git.c | 59 struct list entry; member 163 StdGITEntry* entry; in StdGlobalInterfaceTable_RegisterInterfaceInGlobal() local 186 if (!entry) in StdGlobalInterfaceTable_RegisterInterfaceInGlobal() 195 entry->iid = *riid; in StdGlobalInterfaceTable_RegisterInterfaceInGlobal() 201 list_add_tail(&This->list, &entry->entry); in StdGlobalInterfaceTable_RegisterInterfaceInGlobal() 217 StdGITEntry* entry; in StdGlobalInterfaceTable_RevokeInterfaceFromGlobal() local 225 if (entry == NULL) { in StdGlobalInterfaceTable_RevokeInterfaceFromGlobal() 231 list_remove(&entry->entry); in StdGlobalInterfaceTable_RevokeInterfaceFromGlobal() 254 StdGITEntry* entry; in StdGlobalInterfaceTable_GetInterfaceFromGlobal() local 263 if (entry == NULL) { in StdGlobalInterfaceTable_GetInterfaceFromGlobal() [all …]
|
/reactos/win32ss/user/ntuser/ |
H A D | object.c | 372 return entry; in alloc_user_entry() 404 return entry; in alloc_user_entry() 445 ret = entry->ptr; in free_user_entry() 447 entry->type = 0; in free_user_entry() 448 entry->flags = 0; in free_user_entry() 449 entry->pi = NULL; in free_user_entry() 465 if (!entry) in UserAllocHandle() 469 entry->flags = 0; in UserAllocHandle() 487 if (!(entry = handle_to_entry(ht, handle )) || entry->type != type) in UserGetObjectNoErr() 501 if (!(entry = handle_to_entry(ht, handle )) || entry->type != type) in UserGetObject() [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/sfnt/ |
H A D | ttload.c | 59 TT_Table entry; in tt_face_lookup_table() local 76 for ( ; entry < limit; entry++ ) in tt_face_lookup_table() 85 return entry; in tt_face_lookup_table() 424 else if ( entry.Length > stream->size - entry.Offset ) in tt_face_load_font_dir() 435 entry.Length = ( stream->size - entry.Offset ) & ~3U; in tt_face_load_font_dir() 902 for ( ; entry < limit; entry++ ) in tt_face_load_name() 909 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name() 945 entry->stringOffset + entry->stringLength > storage_limit ) in tt_face_load_name() 963 entry++; in tt_face_load_name() 1008 for ( ; entry < limit; entry++ ) in tt_face_free_name() [all …]
|
/reactos/base/shell/explorer/ |
H A D | startmnucust.cpp | 84 return GetAdvancedBool(entry->name, entry->bDefaultValue); in CustomGetAdvanced() 89 SetAdvancedDword(entry->name, bValue); in CustomSetAdvanced() 156 if (SHRestricted(entry->policy1) || SHRestricted(entry->policy2)) in AddCustomItem() 165 BOOL bChecked = entry->fnGetValue(entry); in AddCustomItem() 166 TRACE("%p: %d\n", entry->id, bChecked); in AddCustomItem() 170 Insert.item.lParam = entry->id; in AddCustomItem() 185 for (auto& entry : s_CustomEntries) in CustomizeClassic_OnInitDialog() local 187 AddCustomItem(hTreeView, &entry); in CustomizeClassic_OnInitDialog() 206 if (SHRestricted(entry.policy1) || SHRestricted(entry.policy2)) in CustomizeClassic_OnOK() 209 if (item.lParam == entry.id) in CustomizeClassic_OnOK() [all …]
|