htmlkywd.cxx (5900e8ec) | htmlkywd.cxx (27ead02a) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 188 unchanged lines hidden (view full) --- 197 198extern "C" 199{ 200 201static int 202#if defined( WNT ) 203 __cdecl 204#endif | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 188 unchanged lines hidden (view full) --- 197 198extern "C" 199{ 200 201static int 202#if defined( WNT ) 203 __cdecl 204#endif |
205#if defined( ICC ) && defined( OS2 ) 206 _Optlink 207#endif | |
208 HTMLKeyCompare( const void *pFirst, const void *pSecond) 209{ 210 int nRet = 0; 211 if( -1 == ((HTML_TokenEntry*)pFirst)->nToken ) 212 { 213 if( -1 == ((HTML_TokenEntry*)pSecond)->nToken ) 214 nRet = ((HTML_TokenEntry*)pFirst)->pUToken->CompareTo( 215 *((HTML_TokenEntry*)pSecond)->pUToken ); --- 336 unchanged lines hidden (view full) --- 552 553extern "C" 554{ 555 556static int 557#if defined( WNT ) 558 __cdecl 559#endif | 205 HTMLKeyCompare( const void *pFirst, const void *pSecond) 206{ 207 int nRet = 0; 208 if( -1 == ((HTML_TokenEntry*)pFirst)->nToken ) 209 { 210 if( -1 == ((HTML_TokenEntry*)pSecond)->nToken ) 211 nRet = ((HTML_TokenEntry*)pFirst)->pUToken->CompareTo( 212 *((HTML_TokenEntry*)pSecond)->pUToken ); --- 336 unchanged lines hidden (view full) --- 549 550extern "C" 551{ 552 553static int 554#if defined( WNT ) 555 __cdecl 556#endif |
560#if defined( ICC ) && defined( OS2 ) 561 _Optlink 562#endif | |
563 HTMLCharNameCompare( const void *pFirst, const void *pSecond) 564{ 565 int nRet = 0; 566 if( USHRT_MAX == ((HTML_CharEntry*)pFirst)->cChar ) 567 { 568 if( USHRT_MAX == ((HTML_CharEntry*)pSecond)->cChar ) 569 nRet = ((HTML_CharEntry*)pFirst)->pUName->CompareTo( 570 *((HTML_CharEntry*)pSecond)->pUName ); --- 442 unchanged lines hidden (view full) --- 1013 1014extern "C" 1015{ 1016 1017static int 1018#if defined( WNT ) 1019 __cdecl 1020#endif | 557 HTMLCharNameCompare( const void *pFirst, const void *pSecond) 558{ 559 int nRet = 0; 560 if( USHRT_MAX == ((HTML_CharEntry*)pFirst)->cChar ) 561 { 562 if( USHRT_MAX == ((HTML_CharEntry*)pSecond)->cChar ) 563 nRet = ((HTML_CharEntry*)pFirst)->pUName->CompareTo( 564 *((HTML_CharEntry*)pSecond)->pUName ); --- 442 unchanged lines hidden (view full) --- 1007 1008extern "C" 1009{ 1010 1011static int 1012#if defined( WNT ) 1013 __cdecl 1014#endif |
1021#if defined( ICC ) && defined( OS2 ) 1022 _Optlink 1023#endif | |
1024 HTMLColorNameCompare( const void *pFirst, const void *pSecond) 1025{ 1026 int nRet = 0; 1027 if( HTML_NO_COLOR == ((HTML_ColorEntry*)pFirst)->nColor ) 1028 { 1029 if( HTML_NO_COLOR == ((HTML_ColorEntry*)pSecond)->nColor ) 1030 nRet = ((HTML_ColorEntry*)pFirst)->pUName->CompareTo( 1031 *((HTML_ColorEntry*)pSecond)->pUName ); --- 46 unchanged lines hidden --- | 1015 HTMLColorNameCompare( const void *pFirst, const void *pSecond) 1016{ 1017 int nRet = 0; 1018 if( HTML_NO_COLOR == ((HTML_ColorEntry*)pFirst)->nColor ) 1019 { 1020 if( HTML_NO_COLOR == ((HTML_ColorEntry*)pSecond)->nColor ) 1021 nRet = ((HTML_ColorEntry*)pFirst)->pUName->CompareTo( 1022 *((HTML_ColorEntry*)pSecond)->pUName ); --- 46 unchanged lines hidden --- |