HomeSort by relevance Sort by last modified time
    Searched refs:switchCode (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/third_party/mesa/src/src/mesa/main/
es_generator.py 275 switchCode = []
453 switchCode.append(" switch(%s) {" % paramName)
493 switchCode.append(" case %s: /* size %s */" % (paramValue, dependentVecSize))
495 switchCode.append(" case %s:" % paramValue)
529 switchCode.append(" if (%s) {" % conditional[4:])
532 switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s=0x%s)", %s);' % (errorCode, funcName, paramName, "%x", paramName))
533 switchCode.append(" %s;" % errorReturn)
534 switchCode.append(" }")
541 switchCode.append(" convert_%s_value = 0;" % dependentParamName)
547 switchCode.append(" n_%s = %s;" % (dependentParamName, dependentVecSize)
    [all...]
  /external/mesa3d/src/mesa/main/
es_generator.py 275 switchCode = []
453 switchCode.append(" switch(%s) {" % paramName)
493 switchCode.append(" case %s: /* size %s */" % (paramValue, dependentVecSize))
495 switchCode.append(" case %s:" % paramValue)
529 switchCode.append(" if (%s) {" % conditional[4:])
532 switchCode.append(' _mesa_error(_mesa_get_current_context(), %s, "gl%s(%s=0x%s)", %s);' % (errorCode, funcName, paramName, "%x", paramName))
533 switchCode.append(" %s;" % errorReturn)
534 switchCode.append(" }")
541 switchCode.append(" convert_%s_value = 0;" % dependentParamName)
547 switchCode.append(" n_%s = %s;" % (dependentParamName, dependentVecSize)
    [all...]
  /frameworks/base/services/java/com/android/server/
AppOpsService.java 583 final int switchCode = AppOpsManager.opToSwitch(code);
584 final Op switchOp = switchCode != code ? getOpLocked(ops, switchCode, true) : op;
587 + switchCode + " (" + code + ") uid " + uid + " package " + packageName);
612 final int switchCode = AppOpsManager.opToSwitch(code);
613 final Op switchOp = switchCode != code ? getOpLocked(ops, switchCode, true) : op;
616 + switchCode + " (" + code + ") uid " + uid + " package " + packageName);
    [all...]
  /frameworks/base/services/input/
InputReader.h 537 int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
937 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode);
    [all...]
InputReader.cpp 594 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
597 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
    [all...]
  /frameworks/base/services/java/com/android/server/input/
InputManagerService.java 388 * @param switchCode The switch code to check.
391 public int getSwitchState(int deviceId, int sourceMask, int switchCode) {
392 return nativeGetSwitchState(mPtr, deviceId, sourceMask, switchCode);
    [all...]
  /frameworks/base/services/input/tests/
InputReader_test.cpp 396 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) {
398 device->switchStates.replaceValueFor(switchCode, state);
839 void setSwitchState(int32_t switchCode, int32_t state) {
840 mSwitchStates.replaceValueFor(switchCode, state);
884 virtual int32_t getSwitchState(uint32_t sourceMask, int32_t switchCode) {
885 ssize_t index = mSwitchStates.indexOfKey(switchCode);
    [all...]

Completed in 815 milliseconds