id: 1 unit: napi_value _GetKeyMap() file: src/keyboard_x.cc start line: 165 end line: 243 size: 60 LOC McCabe index: 5 number of parameters: 2 id: 2 unit: napi_value _GetKeyMap() file: src/keyboard_mac.mm start line: 81 end line: 147 size: 50 LOC McCabe index: 10 number of parameters: 2 id: 3 unit: void Initialize() file: src/keyboard_x.cc start line: 29 end line: 83 size: 48 LOC McCabe index: 16 number of parameters: 1 id: 4 unit: std::pair ConvertKeyCodeToText() file: src/keyboard_mac.mm start line: 16 end line: 68 size: 46 LOC McCabe index: 11 number of parameters: 3 id: 5 unit: std::string UTF16to8() file: src/string_conversion.cc start line: 33 end line: 65 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: napi_value _GetKeyMap() file: src/keyboard_win.cc start line: 284 end line: 325 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 7 unit: int XStateFromKeyMod() file: src/keyboard_x.cc start line: 85 end line: 121 size: 27 LOC McCabe index: 10 number of parameters: 1 id: 8 unit: std::string GetStrFromKeyPress() file: src/keyboard_win.cc start line: 29 end line: 64 size: 26 LOC McCabe index: 10 number of parameters: 5 id: 9 unit: napi_value _GetCurrentKeyboardLayout() file: src/keyboard_x.cc start line: 245 end line: 277 size: 26 LOC McCabe index: 8 number of parameters: 2 id: 10 unit: napi_value Init() file: src/keymapping.cc start line: 107 end line: 133 size: 25 LOC McCabe index: 1 number of parameters: 2 id: 11 unit: napi_value _GetCurrentKeyboardLayout() file: src/keyboard_mac.mm start line: 149 end line: 175 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 12 unit: void StartListening() file: src/keyboard_win.cc start line: 383 end line: 408 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: napi_value _OnDidChangeKeyboardLayout() file: src/keymapping.cc start line: 74 end line: 100 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 14 unit: std::string UTF16toUTF8() file: src/string_conversion.cc start line: 12 end line: 30 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 15 unit: napi_value _GetCurrentKeyboardLayout() file: src/keyboard_win.cc start line: 347 end line: 366 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 16 unit: void readKbState() file: src/keyboard_x.cc start line: 293 end line: 310 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 17 unit: std::string GetStringRegKey() file: src/keyboard_win.cc start line: 327 end line: 345 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 18 unit: virtual HRESULT STDMETHODCALLTYPE OnActivated() file: src/keyboard_win.cc start line: 426 end line: 437 size: 11 LOC McCabe index: 1 number of parameters: 7 id: 19 unit: void StopListening() file: src/keyboard_win.cc start line: 410 end line: 419 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 20 unit: std::string GetStrFromXEvent() file: src/keyboard_x.cc start line: 140 end line: 152 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: NativeBinding.prototype.getKeyMap = function() file: index.js start line: 17 end line: 25 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 22 unit: NativeBinding.prototype.getCurrentKeyboardLayout = function() file: index.js start line: 26 end line: 34 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: virtual HRESULT STDMETHODCALLTYPE QueryInterface() file: src/keyboard_win.cc start line: 452 end line: 460 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 24 unit: NativeBinding.prototype.onDidChangeKeyboardLayout = function() file: index.js start line: 35 end line: 42 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 25 unit: NativeBinding.prototype.isISOKeyboard = function() file: index.js start line: 43 end line: 50 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: void ClearKeyboardBuffer() file: src/keyboard_win.cc start line: 19 end line: 27 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 27 unit: static void NotifyJS() file: src/keymapping.cc start line: 57 end line: 66 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 28 unit: NativeBinding.prototype._init = function() file: index.js start line: 10 end line: 16 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 29 unit: void registerKeyboardLayoutChangeListener() file: src/keyboard_mac.mm start line: 182 end line: 190 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: napi_value _isISOKeyboard() file: src/keyboard_mac.mm start line: 192 end line: 198 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: ULONG STDMETHODCALLTYPE Release() file: src/keyboard_win.cc start line: 444 end line: 450 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: bool kbStatesEqual() file: src/keyboard_x.cc start line: 285 end line: 291 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: explicit TfInputListener() file: src/keyboard_win.cc start line: 376 end line: 381 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: napi_status napi_set_named_property_string_utf8() file: src/keymapping.cc start line: 14 end line: 19 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 35 unit: napi_status napi_set_named_property_int32() file: src/keymapping.cc start line: 21 end line: 26 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 36 unit: void invokeNotificationCallback() file: src/keymapping.cc start line: 46 end line: 55 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: void registerKeyboardLayoutChangeListener() file: src/keyboard_win.cc start line: 467 end line: 471 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: napi_value napi_fetch_null() file: src/keymapping.cc start line: 28 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: napi_value napi_fetch_undefined() file: src/keymapping.cc start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: napi_value napi_fetch_boolean() file: src/keymapping.cc start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 41 unit: static void FinalizeThreadsafeFunction() file: src/keymapping.cc start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 42 unit: function NativeBinding() file: index.js start line: 6 end line: 9 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: void notificationCallback() file: src/keyboard_mac.mm start line: 177 end line: 180 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 44 unit: virtual ~TfInputListener() file: src/keyboard_win.cc start line: 421 end line: 424 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: void DeleteInstanceData() file: src/keymapping.cc start line: 102 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: exports.getCurrentKeyboardLayout = function() file: index.js start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 47 unit: exports.getKeyMap = function() file: index.js start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: exports.onDidChangeKeyboardLayout = function() file: index.js start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: exports.isISOKeyboard = function() file: index.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: ULONG STDMETHODCALLTYPE AddRef() file: src/keyboard_win.cc start line: 440 end line: 442 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: void ReleaseListener() file: src/keyboard_win.cc start line: 463 end line: 465 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: napi_value _isISOKeyboard() file: src/keyboard_win.cc start line: 473 end line: 475 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: void registerKeyboardLayoutChangeListener() file: src/keyboard_x.cc start line: 363 end line: 365 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: napi_value _isISOKeyboard() file: src/keyboard_x.cc start line: 367 end line: 369 size: 3 LOC McCabe index: 1 number of parameters: 2