Home
last modified time | relevance | path

Searched refs:hat (Results 1 - 9 of 9) sorted by relevance

/third_party/glfw/tests/
H A Djoysticks.c295 int hat = 0; in main() local
319 hat |= GLFW_HAT_UP; in main()
321 hat |= GLFW_HAT_RIGHT; in main()
323 hat |= GLFW_HAT_DOWN; in main()
325 hat |= GLFW_HAT_LEFT; in main()
328 hat_widget(nk, hat); in main()
/third_party/glfw/src/
H A Dinput.c221 const unsigned long hat = strtoul(c + 1, (char**) &c, 10); in parseMapping() local
223 e->index = (uint8_t) ((hat << 4) | bit); in parseMapping()
455 // Notifies shared code of the new value of a joystick hat
457 void _glfwInputJoystickHat(_GLFWjoystick* js, int hat, char value) in _glfwInputJoystickHat() argument
462 assert(hat >= 0); in _glfwInputJoystickHat()
463 assert(hat < js->hatCount); in _glfwInputJoystickHat()
465 // Valid hat values only use the least significant nibble in _glfwInputJoystickHat()
467 // Valid hat values do not have both bits of an axis set in _glfwInputJoystickHat()
471 base = js->buttonCount + hat * 4; in _glfwInputJoystickHat()
478 js->hats[hat] in _glfwInputJoystickHat()
1444 const unsigned int hat = e->index >> 4; glfwGetGamepadState() local
1463 const unsigned int hat = e->index >> 4; glfwGetGamepadState() local
[all...]
H A Dlinux_joystick.c72 const int hat = (code - ABS_HAT0X) / 2; in handleAbsEvent() local
74 int* state = js->linjs.hats[hat]; in handleAbsEvent()
76 // NOTE: Looking at several input drivers, it seems all hat events use in handleAbsEvent()
H A Dinternal.h945 void _glfwInputJoystickHat(_GLFWjoystick* js, int hat, char value);
/third_party/elfutils/debuginfod/
H A Ddebuginfod.cxx2849 const char *hat = dwarf_filesrc (files, f, NULL, NULL); variable
2850 if (hat == NULL)
2853 if (string(hat) == "<built-in>") // gcc intrinsics, don't bother record
2857 if (hat[0] == '/') // absolute
2858 waldo = (string (hat));
2860 waldo = (string (comp_dir) + string("/") + string (hat));
2864 obatched(clog) << "skipping hat=" << hat << " due to empty comp_dir" << endl;
/third_party/icu/icu4c/source/test/intltest/
H A Dnumfmtst.cpp1791 UChar hat = 0x005E; /*^*/ in TestPatterns2() local
1793 expectPad(fmt, "*^#", DecimalFormat::kPadBeforePrefix, 1, hat); in TestPatterns2()
1794 expectPad(fmt, "$*^#", DecimalFormat::kPadAfterPrefix, 2, hat); in TestPatterns2()
1795 expectPad(fmt, "#*^", DecimalFormat::kPadBeforeSuffix, 1, hat); in TestPatterns2()
1796 expectPad(fmt, "#$*^", DecimalFormat::kPadAfterSuffix, 2, hat); in TestPatterns2()
1808 fmt.setPadCharacter(hat); in TestPatterns2()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberFormatTest.java1455 char hat = 0x005E; /*^*/ in TestPatterns2()
1457 expectPad(fmt, "*^#", DecimalFormat.PAD_BEFORE_PREFIX, 1, hat); in TestPatterns2()
1458 expectPad(fmt, "$*^#", DecimalFormat.PAD_AFTER_PREFIX, 2, hat); in TestPatterns2()
1459 expectPad(fmt, "#*^", DecimalFormat.PAD_BEFORE_SUFFIX, 1, hat); in TestPatterns2()
1460 expectPad(fmt, "#$*^", DecimalFormat.PAD_AFTER_SUFFIX, 2, hat); in TestPatterns2()
1468 fmt.setPadCharacter(hat); in TestPatterns2()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java1452 char hat = 0x005E; /*^*/ in TestPatterns2()
1454 expectPad(fmt, "*^#", DecimalFormat.PAD_BEFORE_PREFIX, 1, hat); in TestPatterns2()
1455 expectPad(fmt, "$*^#", DecimalFormat.PAD_AFTER_PREFIX, 2, hat); in TestPatterns2()
1456 expectPad(fmt, "#*^", DecimalFormat.PAD_BEFORE_SUFFIX, 1, hat); in TestPatterns2()
1457 expectPad(fmt, "#$*^", DecimalFormat.PAD_AFTER_SUFFIX, 2, hat); in TestPatterns2()
1465 fmt.setPadCharacter(hat); in TestPatterns2()
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex2828 \let\^=\hat
2858 \def\ctrl #1{{\tt \rawbackslash \hat}#1}
4479 \definedummyword\hat
8211 % character, we would end up writing a line like this: 'xrdef {'hat
8212 % b-title}{'hat b} and \xrdef does a \csname...\endcsname on the first
8213 % argument, and \hat is not an expandable control sequence. It could
8217 % \def\auxhat{\def^{'hat }}% extra space so ok if followed by letter
9926 \chardef\hat=`\^
9928 \def^{{\tt \hat}}

Completed in 53 milliseconds