/reactos/sdk/lib/ucrt/string/ |
H A D | strncmp.c | 42 const char *first, in strncmp() argument 64 first+=4; in strncmp() 67 if (*(first-4) == 0 || *(first-4) != *(last-4)) in strncmp() 69 return(*(unsigned char *)(first-4) - *(unsigned char *)(last-4)); in strncmp() 72 if (*(first-3) == 0 || *(first-3) != *(last-3)) in strncmp() 74 return(*(unsigned char *)(first-3) - *(unsigned char *)(last-3)); in strncmp() 77 if (*(first-2) == 0 || *(first-2) != *(last-2)) in strncmp() 82 if (*(first-1) == 0 || *(first-1) != *(last-1)) in strncmp() 92 if (*first == 0 || *first != *last) in strncmp() 94 return(*(unsigned char *)first - *(unsigned char *)last); in strncmp() [all …]
|
/reactos/base/shell/cmd/ |
H A D | call.c | 49 PTSTR first; in cmd_call() local 71 first = param; in cmd_call() 84 first = param; in cmd_call() 85 while (first) in cmd_call() 87 first = _tcschr(first, _T('^')); in cmd_call() 88 if (first) in cmd_call() 91 ++first; in cmd_call() 102 if (!first) in cmd_call() 111 Dest = first; in cmd_call() 134 first = param; in cmd_call() [all …]
|
/reactos/sdk/lib/3rdparty/freetype/src/cache/ |
H A D | ftcmru.c | 35 if ( first ) in FTC_MruNode_Prepend() 58 first->prev = node; in FTC_MruNode_Prepend() 79 FT_ASSERT( first ); in FTC_MruNode_Up() 81 if ( first != node ) in FTC_MruNode_Up() 108 last = first->prev; in FTC_MruNode_Up() 129 FT_ASSERT( first ); in FTC_MruNode_Remove() 210 first = list->nodes; in FTC_MruList_Find() 213 if ( first ) in FTC_MruList_Find() 215 node = first; in FTC_MruList_Find() 335 while ( first && ( !selection || selection( first, key ) ) ) in FTC_MruList_RemoveSelection() [all …]
|
H A D | ftcmanag.c | 474 FTC_Node node, first; in FTC_Manager_Check() local 477 first = manager->nodes_list; in FTC_Manager_Check() 480 if ( first ) in FTC_Manager_Check() 485 node = first; in FTC_Manager_Check() 500 } while ( node != first ); in FTC_Manager_Check() 508 if ( first ) in FTC_Manager_Check() 513 node = first; in FTC_Manager_Check() 519 } while ( node != first ); in FTC_Manager_Check() 540 FTC_Node node, first; in FTC_Manager_Compress() local 546 first = manager->nodes_list; in FTC_Manager_Compress() [all …]
|
/reactos/sdk/lib/3rdparty/stlport/test/unit/ |
H A D | alg_test.cpp | 229 vector<int>::iterator first; in find_first_of_test() local 232 CPPUNIT_ASSERT( *first == 1 ); in find_first_of_test() 241 vector<int>::iterator first; in find_first_of_test() local 244 CPPUNIT_ASSERT( *first == 2 ); in find_first_of_test() 259 vector<int>::iterator first; in find_first_of_test() local 262 CPPUNIT_ASSERT( *first == 1 ); in find_first_of_test() 271 vector<int>::iterator first; in find_first_of_test() local 285 vector<int>::iterator first; in find_first_of_test() local 299 vector<int>::iterator first; in find_first_of_test() local 314 vector<int>::iterator first; in find_first_of_test() local [all …]
|
H A D | equal_test.cpp | 45 CPPUNIT_ASSERT( (range.first - numbers) == 4 ); in equal_range0() 59 for (; range.first != range.second; ++range.first) in equal_range1() 60 CPPUNIT_ASSERT( *range.first == 2 ); in equal_range1() 63 CPPUNIT_ASSERT( range.first == range.second ); in equal_range1() 64 CPPUNIT_ASSERT( range.first == v.end() ); in equal_range1() 98 for (; range.first != range.second; ++range.first) in equal_range2() 99 CPPUNIT_ASSERT( *range.first == 'q' ); in equal_range2() 103 CPPUNIT_ASSERT( *range.first == 'm' ); in equal_range2() 122 CPPUNIT_ASSERT( p.first != p.second ); in equal_range2() 123 CPPUNIT_ASSERT( p.first != tv.end() ); in equal_range2() [all …]
|
H A D | map_test.cpp | 66 CPPUNIT_ASSERT( p.first != m.end() ); in map1() 67 CPPUNIT_ASSERT( (*p.first).first == 'c' ); in map1() 72 CPPUNIT_ASSERT( p.first != m.end() ); in map1() 73 CPPUNIT_ASSERT( (*p.first).first == 'c' ); in map1() 96 CPPUNIT_ASSERT((*i).first == 'X'); in mmap1() 99 CPPUNIT_ASSERT((*i).first == 'X'); in mmap1() 102 CPPUNIT_ASSERT((*i).first == 'Y'); in mmap1() 135 CPPUNIT_ASSERT((*i).first==3); in mmap2() 139 CPPUNIT_ASSERT((*i).first==6); in mmap2() 213 CPPUNIT_ASSERT( (*ri).first == 6 ); in iterators() [all …]
|
H A D | mismatch_test.cpp | 45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5)); in mismatch0() 48 CPPUNIT_ASSERT(!(result.first ==(n1 + 5) && result.second ==(n3 + 5))); in mismatch0() 49 CPPUNIT_ASSERT((result.first - n1)==3); in mismatch0() 60 CPPUNIT_ASSERT(result.first == v1.end() && result.second == v2.end()); in mismatch1() 64 CPPUNIT_ASSERT(!(result.first == v1.end() && result.second == v2.end())); in mismatch1() 65 CPPUNIT_ASSERT((result.first - v1.begin())==5); in mismatch1() 76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size); in mismatch2() 80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size)); in mismatch2() 81 CPPUNIT_ASSERT((result.first - n1)==2); in mismatch2()
|
H A D | istmit_test.cpp | 91 2, back_inserter(chars)).first, in copy_n_test() 92 2, back_inserter(chars)).first; in copy_n_test() 141 itr = copy_n(itr, 0, back_inserter(ints)).first; in copy_n_test() 143 itr = copy_n(itr, -1, back_inserter(ints)).first; in copy_n_test() 145 itr = copy_n(itr, 2, back_inserter(ints)).first; in copy_n_test() 149 itr = copy_n(itr, 2, back_inserter(ints)).first; in copy_n_test() 153 itr = copy_n(itr, 2, back_inserter(ints)).first; in copy_n_test()
|
/reactos/sdk/lib/ucrt/string/i386/ |
H A D | _memicmp.asm | 29 ; _memicmp (first, last, count) 30 ; char *first, *last; 37 ; first++; 44 ; char *first, *last - memory buffers to compare 48 ; returns <0 if first < last 49 ; returns 0 if first == last 50 ; returns >0 if first > last 63 first:ptr byte, \ 71 mov esi,[first] ; si = first 83 mov ah,[esi] ; ah = *first [all …]
|
H A D | _strnicm.asm | 32 ; _strncmpi (first, last, count) 33 ; char *first, *last; 43 ; first++; 52 ; char *first, *last - strings to compare 56 ; returns <0 if first < last 57 ; returns 0 if first == last 58 ; returns >0 if first > last 71 first:ptr byte, \ 79 mov esi,[first] ; si = first string 89 mov ah,[esi] ; *first [all …]
|
/reactos/sdk/lib/ucrt/string/amd64/ |
H A D | strncmp.asm | 16 ;int strncmp(first, last, count) - compare first count chars of strings 26 ; strncmp (first, last, count) 27 ; char *first, *last; 32 ; while (--count && *first && *first == *last) 34 ; first++; 37 ; return(*first - *last); 41 ; char *first, *last - strings to compare 45 ; returns <0 if first < last 46 ; returns 0 if first == last 47 ; returns >0 if first > last [all …]
|
/reactos/sdk/lib/ucrt/startup/ |
H A D | onexit.cpp | 91 _PVFV* first = __crt_fast_decode_pointer(table->_first); in _register_onexit_function() local 98 size_t const old_count = end - first; in _register_onexit_function() 127 first = new_first; in _register_onexit_function() 143 table->_first = __crt_fast_encode_pointer(first); in _register_onexit_function() 167 _PVFV* first = __crt_fast_decode_pointer(table->_first); in _execute_onexit_table() local 169 if (!first || first == reinterpret_cast<_PVFV*>(-1)) in _execute_onexit_table() 184 _PVFV* saved_first = first; in _execute_onexit_table() 194 if (last < first) in _execute_onexit_table() 212 first = saved_first = new_first; in _execute_onexit_table() 218 if (first != reinterpret_cast<_PVFV*>(-1)) in _execute_onexit_table() [all …]
|
/reactos/sdk/tools/rgenstat/ |
H A D | llmsort.c | 25 struct record *first, *last; in sort_linked_list() member 32 tape[0].first = NULL; in sort_linked_list() 37 ((struct record *)p)->next[index] = tape[base].first; in sort_linked_list() 38 tape[base].first = ((struct record *)p); in sort_linked_list() 77 else if ((*compare)(tape0->first, tape1->first) > 0) in sort_linked_list() 88 chosen_record = chosen_tape->first; in sort_linked_list() 89 chosen_tape->first = chosen_record->next[index]; in sort_linked_list() 91 output_tape->first = chosen_record; in sort_linked_list() 102 return tape[base].first; in sort_linked_list()
|
/reactos/sdk/lib/3rdparty/stlport/src/ |
H A D | num_put.cpp | 31 __insert_grouping_aux(Char* first, Char* last, const string& grouping, in __insert_grouping_aux() argument 36 if (first == last) in __insert_grouping_aux() 41 if (*first == Plus || *first == Minus) { in __insert_grouping_aux() 43 ++first; in __insert_grouping_aux() 46 first += basechars; in __insert_grouping_aux() 57 if ((groupsize <= 0) || (groupsize >= cur_group - first) || (groupsize == CHAR_MAX)) { in __insert_grouping_aux() 68 return (last - first) + sign + basechars; in __insert_grouping_aux() 135 __insert_grouping(char * first, char * last, const string& grouping, in __insert_grouping() argument 137 return __insert_grouping_aux(first, last, grouping, in __insert_grouping() 149 __insert_grouping(wchar_t* first, wchar_t* last, const string& grouping, in __insert_grouping() argument [all …]
|
/reactos/sdk/include/c++/stlport/stl/ |
H A D | _pair.h | 51 _T1 first; member 56 pair() : first(_T1()), second(_T2()) {} in pair() 58 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair() 62 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} in pair() 64 pair(const pair<_T1,_T2>& __o) : first(__o.first), second(__o.second) {} in pair() 68 pair(__move_source<pair<_T1, _T2> > src) : first(_STLP_PRIV _AsMoveSource(src.get().first)), in pair() 78 { return __x.first == __y.first && __x.second == __y.second; } 82 return __x.first < __y.first || 83 (!(__y.first < __x.first) && __x.second < __y.second);
|
/reactos/sdk/lib/ucrt/internal/ |
H A D | shared_initialization.cpp | 11 __acrt_initializer const* const first, in __acrt_execute_initializers() argument 15 if (first == last) in __acrt_execute_initializers() 19 __acrt_initializer const* it = first; in __acrt_execute_initializers() 36 for (; it != first; --it) in __acrt_execute_initializers() 50 __acrt_initializer const* const first, in __acrt_execute_uninitializers() argument 54 if (first == last) in __acrt_execute_uninitializers() 58 for (__acrt_initializer const* it = last; it != first; --it) in __acrt_execute_uninitializers()
|
/reactos/sdk/lib/3rdparty/freetype/src/base/ |
H A D | ftoutln.c | 85 first = 0; in FT_Outline_Decompose() 562 first = 0; in FT_Outline_Reverse() 604 first = last + 1; in FT_Outline_Reverse() 751 FT_Vector* first; 799 FT_Vector* first; 833 FT_Vector* first; 856 xmin_point = first; 937 first = 0; in FT_Outline_EmboldenXY() 1034 first = last + 1; in FT_Outline_EmboldenXY() 1077 first = 0; in FT_Outline_Get_Orientation() [all …]
|
/reactos/sdk/lib/ucrt/env/ |
H A D | get_environment_from_os.cpp | 40 …ar_t const* __cdecl find_end_of_double_null_terminated_sequence(wchar_t const* const first) throw() in find_end_of_double_null_terminated_sequence() argument 42 wchar_t const* last = first; in find_end_of_double_null_terminated_sequence() 59 wchar_t const* const first = environment.get(); in __dcrt_get_wide_environment_from_os() local 60 wchar_t const* const last = find_end_of_double_null_terminated_sequence(first); in __dcrt_get_wide_environment_from_os() 62 size_t const required_count = last - first; in __dcrt_get_wide_environment_from_os() 84 wchar_t const* const first = environment.get(); in __dcrt_get_narrow_environment_from_os() local 85 wchar_t const* const last = find_end_of_double_null_terminated_sequence(first); in __dcrt_get_narrow_environment_from_os() 87 size_t const required_wide_count = last - first; in __dcrt_get_narrow_environment_from_os()
|
/reactos/drivers/filesystems/udfs/Include/ |
H A D | getopt.cpp | 75 WCHAR *temp, **first, **last; in exchange() local 78 first = &argv[o->first_nonopt]; in exchange() 80 while (first < last) { in exchange() 81 temp = *first; *first = *last; *last = temp; first++; last--; in exchange() 84 first = &argv[o->first_nonopt]; in exchange() 87 while (first < last) { in exchange() 88 temp = *first; *first = *last; *last = temp; first++; last--; in exchange() 92 first = &argv[o->first_nonopt]; in exchange() 95 while (first < last) { in exchange() 96 temp = *first; *first = *last; *last = temp; first++; last--; in exchange()
|
/reactos/sdk/lib/3rdparty/stlport/test/eh/ |
H A D | test_insert.h | 118 return __x.first; in operator() 204 ++p.first; in VerifyInsertion() 209 first1 = p.first; in VerifyInsertion() 457 c_inst.insert( pos, first, last ); in do_insert_range() 464 c.insert( first, last ); in do_insert_range() 470 c.insert( first, last ); in do_insert_range() 476 c.insert( first, last ); in do_insert_range() 482 c.insert( first, last ); in do_insert_range() 488 c.insert( first, last ); in do_insert_range() 500 : fFirst( first ), in fFirst() [all …]
|
/reactos/sdk/lib/crt/math/libm_sse2/ |
H A D | remainder_piby2f.c | 44 int first, last, i, rexp, xexp, resexp, ltb, determ, bc; in __remainder_piby2f() local 67 first = xexp / bitsper; in __remainder_piby2f() 68 resexp = xexp - first * bitsper; in __remainder_piby2f() 73 last = first + 120 / bitsper; in __remainder_piby2f() 79 for (i = last; i >= first; i--) in __remainder_piby2f() 82 res[i - first] = u & mask; in __remainder_piby2f() 85 res[last - first + 1] = 0; in __remainder_piby2f() 99 u = pibits[first] * ux + carry; in __remainder_piby2f()
|
/reactos/sdk/lib/3rdparty/libxml2/ |
H A D | triostr.c | 401 TRIO_ARGS2((first, second), 402 TRIO_CONST char *first, 405 assert(first); 419 first++; 440 TRIO_ARGS2((first, second), 441 TRIO_CONST char *first, 444 assert(first); 473 assert(first); 500 assert(first); 528 assert(first); [all …]
|
/reactos/dll/directx/wine/dplayx/ |
H A D | name_server.c | 60 DPQ_HEAD(NSCacheData) first; 99 DPQ_REMOVE_ENTRY_CB( lpCache->first, next, data->guidInstance, cbUglyPig, in NS_AddRemoteComputerAsNameServer() 141 DPQ_INSERT(lpCache->first, lpCacheNode, next ); in NS_AddRemoteComputerAsNameServer() 165 if ( lpCache->first.lpQHFirst ) in NS_GetNSAddr() 166 return lpCache->first.lpQHFirst->lpNSAddrHdr; in NS_GetNSAddr() 253 DPQ_DELETEQ( lpCache->first, next, lpNSCacheData, cbDeleteNSNodeFromHeap ); in NS_InvalidateSessionCache() 274 DPQ_INIT(lpCache->first); in NS_InitializeSessionCache() 291 ((lpNSCache)lpNSInfo)->present = ((lpNSCache)lpNSInfo)->first.lpQHFirst; in NS_ResetSessionEnumeration() 336 if( DPQ_IS_EMPTY(lpCache->first) ) in NS_PruneSessionCache() 350 lpFirstData = DPQ_FIRST(lpCache->first); in NS_PruneSessionCache() [all …]
|
/reactos/sdk/lib/ucrt/lowio/ |
H A D | osfinfo.cpp | 22 __crt_lowio_handle_data* const first = array.get(); in __acrt_lowio_create_handle_array() local 23 __crt_lowio_handle_data* const last = first + IOINFO_ARRAY_ELTS; in __acrt_lowio_create_handle_array() 24 for (auto it = first; it != last; ++it) in __acrt_lowio_create_handle_array() 51 __crt_lowio_handle_data* const first = array; in __acrt_lowio_destroy_handle_array() local 52 __crt_lowio_handle_data* const last = first + IOINFO_ARRAY_ELTS; in __acrt_lowio_destroy_handle_array() 53 for (auto it = first; it != last; ++it) in __acrt_lowio_destroy_handle_array() 152 __crt_lowio_handle_data* const first = __pioinfo[i]; in _alloc_osfhnd() 153 __crt_lowio_handle_data* const last = first + IOINFO_ARRAY_ELTS; in _alloc_osfhnd() 154 for (__crt_lowio_handle_data* pio = first; pio != last; ++pio) in _alloc_osfhnd() 173 int const fh = i * IOINFO_ARRAY_ELTS + static_cast<int>(pio - first); in _alloc_osfhnd()
|