Home
last modified time | relevance | path

Searched refs:nCode (Results 1 – 25 of 129) sorted by relevance

123456

/trunk/main/sal/textenc/
H A Dconvertgb18030.c79 sal_uInt32 nCode = 0; in ImplConvertGb18030ToUnicode() local
107 nCode = nChar - 0x81; in ImplConvertGb18030ToUnicode()
120 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode()
126 nCode = nCode * 190 + (nChar <= 0x7E ? nChar - 0x40 : in ImplConvertGb18030ToUnicode()
144 nCode = nCode * 126 + (nChar - 0x81); in ImplConvertGb18030ToUnicode()
157 nCode = nCode * 10 + (nChar - 0x30); in ImplConvertGb18030ToUnicode()
160 if (nCode >= 189000 && nCode <= 1237575) in ImplConvertGb18030ToUnicode()
163 nCode -= 189000 - 0x10000; in ImplConvertGb18030ToUnicode()
343 sal_uInt32 nCode in ImplConvertUnicodeToGb18030() local
349 if (nCode > 0xFFFF) in ImplConvertUnicodeToGb18030()
[all …]
/trunk/main/vcl/inc/vcl/
H A Dkeycod.hxx61 sal_uInt16 nCode; member in KeyCode
78 { return (nCode & KEY_CODE); } in GetCode()
81 { return (nCode & KEY_MODTYPE); } in GetModifier()
110 nCode = nKey; in KeyCode()
112 nCode |= KEY_SHIFT; in KeyCode()
114 nCode |= KEY_MOD1; in KeyCode()
116 nCode |= KEY_MOD2; in KeyCode()
118 nCode |= KEY_MOD3; in KeyCode()
125 return (nCode == rKeyCode.nCode); in operator ==()
133 return (nCode != rKeyCode.nCode); in operator !=()
[all …]
/trunk/main/filter/source/graphicfilter/itiff/
H A Dlzwdecom.cxx126 nCode=0; in GetNextCode()
130 nCode=(nCode<<nInputBitsBufSize) | nInputBitsBuf; in GetNextCode()
139 nCode=(nCode<<nBits) | (nInputBitsBuf>>(nInputBitsBufSize-nBits)); in GetNextCode()
146 return nCode; in GetNextCode()
165 sal_uInt16 i,nCode; in DecompressSome() local
167 nCode=GetNextCode(); in DecompressSome()
168 if (nCode==256) { in DecompressSome()
170 nCode=GetNextCode(); in DecompressSome()
173 else if (nCode<nTableSize) AddToTable(nOldCode,nCode); in DecompressSome()
177 nOldCode=nCode; in DecompressSome()
[all …]
H A Dccidecom.cxx747 pHufTab[i].nCode!=pHufTabSave[i].nCode || in MakeLookUp()
771 sal_uInt16 nCode; in ReadEOL() local
801 if ( nCode == 0x0001 ) in ReadEOL()
853 sal_uInt16 nCode,nCodeBits; in ReadCodeAndDecode() local
866 nCodeBits=pLookUp[nCode].nCodeBits; in ReadCodeAndDecode()
869 return pLookUp[nCode].nValue; in ReadCodeAndDecode()
929 sal_uInt16 nCode,nCodeBits,nDataBits,nTgtFreeByteBits; in Read1DScanlineData() local
956 nCodeBits=pBlackLookUp[nCode].nCodeBits; in Read1DScanlineData()
957 nDataBits=pBlackLookUp[nCode].nValue; in Read1DScanlineData()
960 nCodeBits=pWhiteLookUp[nCode].nCodeBits; in Read1DScanlineData()
[all …]
/trunk/main/sc/source/ui/dbgui/
H A Dscuiimoptdlg.cxx65 sal_Unicode nCode = 0; in GetCode() local
82 return nCode; in GetCode()
146 sal_Unicode nCode; in ScImportOptionsDlg() local
185 nCode = pOptions->nFieldSepCode; in ScImportOptionsDlg()
193 nCode = pOptions->nTextSepCode; in ScImportOptionsDlg()
275 sal_uInt16 nCode; in GetCodeFromCombo() local
284 nCode = 0; // kein Trennzeichen in GetCodeFromCombo()
288 nCode = pTab->GetCode( aStr ); in GetCodeFromCombo()
290 if ( nCode == 0 ) in GetCodeFromCombo()
291 nCode = (sal_uInt16)aStr.GetChar(0); in GetCodeFromCombo()
[all …]
H A Dcsvcontrol.cxx289 ScMoveMode ScCsvControl::GetHorzDirection( sal_uInt16 nCode, bool bHomeEnd ) in GetHorzDirection() argument
291 switch( nCode ) in GetHorzDirection()
296 if( bHomeEnd ) switch( nCode ) in GetHorzDirection()
304 ScMoveMode ScCsvControl::GetVertDirection( sal_uInt16 nCode, bool bHomeEnd ) in GetVertDirection() argument
306 switch( nCode ) in GetVertDirection()
313 if( bHomeEnd ) switch( nCode ) in GetVertDirection()
/trunk/main/vcl/unx/gtk/window/
H A Dgtkframe.cxx83 sal_uInt16 nCode = 0; in GetKeyModCode() local
85 nCode |= KEY_SHIFT; in GetKeyModCode()
87 nCode |= KEY_MOD1; in GetKeyModCode()
89 nCode |= KEY_MOD2; in GetKeyModCode()
94 nCode |= KEY_MOD3; in GetKeyModCode()
95 return nCode; in GetKeyModCode()
102 nCode |= MOUSE_LEFT; in GetMouseModCode()
106 nCode |= MOUSE_RIGHT; in GetMouseModCode()
108 return nCode; in GetMouseModCode()
113 sal_uInt16 nCode = 0; in GetKeyCode() local
[all …]
/trunk/main/svtools/source/filter/igif/
H A Ddecode.cxx144 sal_uInt16 nCode; in ProcessOneCode() local
163 nCode = sal::static_int_cast< sal_uInt16 >( in ProcessOneCode()
168 if ( nCode < nClearCode ) in ProcessOneCode()
171 AddToTable( nOldCode, nCode ); in ProcessOneCode()
173 else if ( ( nCode > nEOICode ) && ( nCode <= nTableSize ) ) in ProcessOneCode()
175 if ( nCode == nTableSize ) in ProcessOneCode()
178 AddToTable( nOldCode, nCode ); in ProcessOneCode()
182 if ( nCode == nClearCode ) in ProcessOneCode()
195 nOldCode = nCode; in ProcessOneCode()
198 pE = pTable + nCode; in ProcessOneCode()
/trunk/main/framework/source/accelerators/
H A Dkeymapping.cxx163 sal_Int16 nCode = KeyIdentifierMap[i].Code; in KeyMapping() local
165 m_lIdentifierHash[sIdentifier] = nCode ; in KeyMapping()
166 m_lCodeHash [nCode] = sIdentifier; in KeyMapping()
187 sal_uInt16 nCode = 0; in mapIdentifierToCode() local
194 return (sal_uInt16)nCode; in mapIdentifierToCode()
198 ::rtl::OUString KeyMapping::mapCodeToIdentifier(sal_uInt16 nCode) in mapCodeToIdentifier() argument
200 Code2IdentifierHash::const_iterator pIt = m_lCodeHash.find(nCode); in mapCodeToIdentifier()
205 return ::rtl::OUString::valueOf((sal_Int32)nCode); in mapCodeToIdentifier()
212 sal_Int32 nCode = sIdentifier.toInt32(); in impl_st_interpretIdentifierAsPureKeyCode() local
213 if (nCode > 0) in impl_st_interpretIdentifierAsPureKeyCode()
[all …]
/trunk/main/sw/source/filter/ww1/
H A Dw1sprm.cxx206 sal_uInt16 nCode; in STOP1() local
213 case 1: nCode = DEF_LINE_WIDTH_0; break; in STOP1()
214 case 2: nCode = DEF_LINE_WIDTH_1; break; in STOP1()
215 case 3: nCode = DEF_LINE_WIDTH_2; break; in STOP1()
216 case 4: nCode = DEF_LINE_WIDTH_3; break; in STOP1()
217 case 5: nCode = DEF_LINE_WIDTH_4; break; in STOP1()
219 pLine->SetOutWidth(nCode); in STOP1()
227 case 1: nCode = DEF_DOUBLE_LINE0_IN; break; in STOP1()
229 pLine->SetOutWidth(nCode); in STOP1()
235 pLine->SetInWidth(nCode); in STOP1()
[all …]
/trunk/main/vcl/source/window/
H A Dwinproc.cxx160 if ( nCode & MOUSE_LEFT ) in ImplHandleMouseFloatMode()
387 pWinFrameData->mnMouseCode = nCode; in ImplHandleMouseEvent()
471 MouseEvent aMEvt( aChildPos, pWinFrameData->mnClickCount, nMode, nCode, nCode ); in ImplHandleMouseEvent()
615 … MouseEvent aMLeaveEvt( aLeaveMousePos, nClicks, nMode | MOUSE_LEAVEWINDOW, nCode, nCode ); in ImplHandleMouseEvent()
705 MouseEvent aMEvt( aChildPos, nClicks, nMode, nCode, nCode ); in ImplHandleMouseEvent()
863 (nCode == MOUSE_MIDDLE) ) in ImplHandleMouseEvent()
1152 …else if ( ( (nCode == KEY_F2) && aKeyCode.IsShift() ) || ( (nCode == KEY_F1) && aKeyCode.IsMod1() … in ImplHandleKey()
1169 else if ( (nCode == KEY_F1) || (nCode == KEY_HELP) ) in ImplHandleKey()
1467 sal_uInt16 nCode = rEvt.mnCode; in ImplHandleWheelEvent() local
1470 if ( nCode & KEY_MOD1 ) in ImplHandleWheelEvent()
[all …]
H A Dsplit.cxx368 sal_uInt16 nCode = aKeyCode.GetCode(); in ImplKbdTracking() local
369 if ( nCode == KEY_ESCAPE || nCode == KEY_RETURN ) in ImplKbdTracking()
376 if ( nCode != KEY_ESCAPE ) in ImplKbdTracking()
431 switch( nCode ) in ImplKbdTracking()
657 sal_uInt16 nCode = aKeyCode.GetCode(); in KeyInput() local
658 switch ( nCode ) in KeyInput()
/trunk/main/framework/qa/complex/accelerators/
H A DKeyMapping.java31 protected Short nCode; field in KeyIdentifierInfo
36 nCode = nC; in KeyIdentifierInfo()
42 public void put(String sIdentifier, Short nCode) in put() argument
44 super.put(sIdentifier, nCode); in put()
54 public void put(Short nCode, String sIdentifier) in put() argument
56 super.put(nCode, sIdentifier); in put()
58 public String get(Short nCode) in get() argument
60 return (String)super.get(nCode); in get()
151 aCodeHashMap.put(aInfoMap[i].nCode, aInfoMap[i].sIdentifier); in KeyMapping()
160 public String mapCode2Identifier(short nCode) in mapCode2Identifier() argument
[all …]
/trunk/main/svx/workben/
H A Dedittest.cxx1534 USHORT nCode = rKEvt.GetKeyCode().GetCode(); in KeyInput() local
1556 else if ( ( ( nCode == KEY_ADD ) || ( nCode == KEY_SUBTRACT ) )&& rKEvt.GetKeyCode().IsMod2() ) in KeyInput()
1558 short nDiff = ( nCode == KEY_ADD ) ? (+5) : (-5); in KeyInput()
1577 ( ( nCode == KEY_UP) || ( nCode == KEY_DOWN ) || in KeyInput()
1578 ( nCode == KEY_LEFT ) || ( nCode == KEY_RIGHT ) ) ) in KeyInput()
1590 if ( ( nCode == KEY_DOWN ) && ( nY > 5 ) ) in KeyInput()
1592 else if ( nCode == KEY_UP ) in KeyInput()
1594 else if ( nCode == KEY_RIGHT ) in KeyInput()
1596 else if ( ( nCode == KEY_LEFT ) && ( nX > 5 ) ) in KeyInput()
1607 if ( nCode == KEY_RIGHT ) in KeyInput()
[all …]
/trunk/main/sdext/source/presenter/
H A DPresenterPaneBorderManager.cxx170 sal_Int32 nCode = 0; in ClassifyBorderElementUnderMouse() local
175 nCode = mnOutside; in ClassifyBorderElementUnderMouse()
177 nCode = mnLeft; in ClassifyBorderElementUnderMouse()
180 nCode = mnOutside; in ClassifyBorderElementUnderMouse()
182 nCode = mnRight; in ClassifyBorderElementUnderMouse()
189 nCode |= mnOutside; in ClassifyBorderElementUnderMouse()
191 nCode |= mnTop; in ClassifyBorderElementUnderMouse()
194 nCode |= mnOutside; in ClassifyBorderElementUnderMouse()
196 nCode |= mnBottom; in ClassifyBorderElementUnderMouse()
198 nCode |= mnVerticalCenter; in ClassifyBorderElementUnderMouse()
[all …]
/trunk/main/chart2/source/controller/main/
H A DChartController_Window.cxx1403 if( nCode == KEY_ADD || in execute_KeyInput()
1404 nCode == KEY_SUBTRACT ) in execute_KeyInput()
1410 nCode == KEY_LEFT || in execute_KeyInput()
1411 nCode == KEY_RIGHT || in execute_KeyInput()
1412 nCode == KEY_UP || in execute_KeyInput()
1413 nCode == KEY_DOWN ) in execute_KeyInput()
1444 if( nCode == KEY_ADD || in execute_KeyInput()
1494 switch( nCode ) in execute_KeyInput()
1547 nCode == KEY_F2 ) in execute_KeyInput()
1559 nCode == KEY_ESCAPE ) in execute_KeyInput()
[all …]
/trunk/main/filter/source/graphicfilter/egif/
H A Dgiflzwc.cxx52 inline void WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen );
72 inline void GIFImageDataOutputStream::WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen ) in WriteBits() argument
77 nBitsBuf |= (sal_uLong) nCode << nBitsBufSize; in WriteBits()
126 sal_uInt16 nCode; // Der Code fuer den String von Pixelwerten, der sich ergibt, wenn member
170 pTable[i].nValue = (sal_uInt8) ( pTable[i].nCode = i ); in StartCompression()
208 pIDOS->WriteBits(pPrefix->nCode,nCodeSize); in Compress()
245 pIDOS->WriteBits(pPrefix->nCode,nCodeSize); in EndCompression()
/trunk/main/vcl/unx/generic/window/
H A Dsalobj.cxx454 sal_uInt16 nCode = 0; in sal_GetCode() local
457 nCode |= MOUSE_LEFT; in sal_GetCode()
459 nCode |= MOUSE_MIDDLE; in sal_GetCode()
461 nCode |= MOUSE_RIGHT; in sal_GetCode()
464 nCode |= KEY_SHIFT; in sal_GetCode()
466 nCode |= KEY_MOD1; in sal_GetCode()
468 nCode |= KEY_MOD2; in sal_GetCode()
470 nCode |= KEY_MOD3; in sal_GetCode()
472 return nCode; in sal_GetCode()
/trunk/main/unotools/source/config/
H A Daccelcfg.cxx229 sal_Int16 nCode=rKeyEvent.KeyCode, nModifier=rKeyEvent.Modifiers; in GetCommand() local
230 if ( !nCode ) in GetCommand()
231 nCode = rKeyEvent.KeyFunc; in GetCommand()
235 if ( p->nCode == nCode && p->nModifier == nModifier ) in GetCommand()
250 if ( p->nCode == rItem.nCode && p->nModifier == rItem.nModifier ) in SetCommand()
/trunk/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/
H A DParser.java61 final int nCode = maReader.next(); in Parse() local
62 switch(nCode) in Parse()
104 Log.Err.printf("can't handle XML event of type %d\n", nCode); in Parse()
153 final int nCode = maReader.next(); in Skip() local
154 switch (nCode) in Skip()
187 Log.Dbg.printf("%s\n", nCode); in Skip()
/trunk/main/sc/source/ui/view/
H A Dolinewin.cxx999 sal_uInt16 nCode = rKCode.GetCode(); in KeyInput() local
1000 bool bUpDownKey = (nCode == KEY_UP) || (nCode == KEY_DOWN); in KeyInput()
1001 bool bLeftRightKey = (nCode == KEY_LEFT) || (nCode == KEY_RIGHT); in KeyInput()
1004 if ( (nCode == KEY_TAB) && (bNoMod || bShift) ) in KeyInput()
1011 bool bForward = (nCode == KEY_DOWN) || (nCode == KEY_RIGHT); in KeyInput()
1021 else if ( bCtrl && (nCode >= KEY_1) && (nCode <= KEY_9) ) in KeyInput()
1023 size_t nLevel = static_cast< size_t >( nCode - KEY_1 ); in KeyInput()
/trunk/main/filter/source/graphicfilter/etiff/
H A Detiff.cxx61 sal_uInt16 nCode; // Der Code fuer den String von Pixelwerten, der sich ergibt, wenn member
113 inline void WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen );
496 inline void TIFFWriter::WriteBits( sal_uInt16 nCode, sal_uInt16 nCodeLen ) in WriteBits() argument
498 dwShift |= ( nCode << ( nOffset - nCodeLen ) ); in WriteBits()
506 if ( nCode == 257 && nOffset != 32 ) in WriteBits()
532 pTable[ i ].nValue = (sal_uInt8)( pTable[ i ].nCode = i ); in StartCompression()
564 WriteBits( pPrefix->nCode, nCodeSize ); in Compress()
598 WriteBits( pPrefix->nCode, nCodeSize ); in EndCompression()
/trunk/main/sal/osl/w32/
H A Ddiagnose.c87 int nCode; in osl_assertFailedLine()
127 nCode = MessageBox(hWndParent, szBoxMessage, "Assertion Failed!", nFlags); in osl_assertFailedLine()
129 if (nCode == IDYES) in osl_assertFailedLine()
132 if (nCode == IDNO) in osl_assertFailedLine()
135 if (nCode == IDCANCEL) in osl_assertFailedLine()
/trunk/main/forms/source/richtext/
H A Drichtextvclcontrol.cxx222 sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode(); in PreNotify() local
226 if ( ( KEY_TAB == nCode ) && bCtrl && !bAlt ) in PreNotify()
237 if ( ( ( KEY_F12 == nCode ) in PreNotify()
238 || ( KEY_F11 == nCode ) in PreNotify()
244 bool bLoad = KEY_F11 == nCode; in PreNotify()
/trunk/main/editeng/source/editeng/
H A Dediteng.cxx849 sal_uInt16 nCode = rKeyEvent.GetKeyCode().GetCode(); in PostKeyEvent() local
886 switch ( nCode ) in PostKeyEvent()
971 … if ( !rKeyEvent.GetKeyCode().IsMod2() || ( nCode == KEY_LEFT ) || ( nCode == KEY_RIGHT ) ) in PostKeyEvent()
984 if ( nCode == KEY_HOME ) in PostKeyEvent()
986 else if ( nCode == KEY_END ) in PostKeyEvent()
1007 if (pFmt && nCode == KEY_BACKSPACE && in PostKeyEvent()
1035 switch( nCode ) in PostKeyEvent()
1250 if ( ( !IsVertical() && ( nCode != KEY_UP ) && ( nCode != KEY_DOWN ) ) || in PostKeyEvent()
1251 ( IsVertical() && ( nCode != KEY_LEFT ) && ( nCode != KEY_RIGHT ) )) in PostKeyEvent()
1257 ( !IsVertical() && ( nCode != KEY_LEFT ) && ( nCode != KEY_RIGHT ) ) || in PostKeyEvent()
[all …]

Completed in 153 milliseconds

123456