/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-roccat-kone.c | 475 unsigned long state; in kone_sysfs_set_tcu() local 481 retval = kstrtoul(buf, 10, &state); in kone_sysfs_set_tcu() 485 if (state != 0 && state != 1) in kone_sysfs_set_tcu() 490 if (state == 1) { /* state activate */ in kone_sysfs_set_tcu() 521 /* only write settings back if activation state is different */ in kone_sysfs_set_tcu() 522 if (kone->settings.tcu != state) { in kone_sysfs_set_tcu() 523 kone->settings.tcu = state; in kone_sysfs_set_tcu() 528 dev_err(&usb_dev->dev, "couldn't set tcu state\ in kone_sysfs_set_tcu() [all...] |
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 514 event->hw.state = 0; in etm_event_start() 532 event->hw.state = PERF_HES_STOPPED; in etm_event_start() 558 if (event->hw.state == PERF_HES_STOPPED) in etm_event_stop() 573 event->hw.state = PERF_HES_STOPPED; in etm_event_stop() 593 event->hw.state = PERF_HES_STOPPED; in etm_event_stop() 639 if (hwc->state & PERF_HES_STOPPED) in etm_event_add() 642 hwc->state = PERF_HES_STOPPED; in etm_event_add()
|
/kernel/linux/linux-6.6/drivers/leds/flash/ |
H A D | leds-mt6370-flash.c | 195 static int mt6370_strobe_set(struct led_classdev_flash *fl_cdev, bool state) in mt6370_strobe_set() argument 204 u32 val = state ? led_enable_mask : 0; in mt6370_strobe_set() 220 if (state) in mt6370_strobe_set() 230 dev_err(lcdev->dev, "[%d] control current source %d fail\n", led->led_no, state); in mt6370_strobe_set() 238 ret = _mt6370_flash_brightness_set(fl_cdev, state ? s->val : s->min); in mt6370_strobe_set() 260 static int mt6370_strobe_get(struct led_classdev_flash *fl_cdev, bool *state) in mt6370_strobe_get() argument 266 *state = !!(priv->fled_strobe_used & BIT(led->led_no)); in mt6370_strobe_get()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_qp_grp.c | 48 const char *usnic_ib_qp_grp_state_to_string(enum ib_qp_state state) in usnic_ib_qp_grp_state_to_string() argument 50 switch (state) { in usnic_ib_qp_grp_state_to_string() 86 qp_grp->state), in usnic_ib_qp_grp_dump_rows() 399 old_state = qp_grp->state; in usnic_ib_qp_grp_modify() 450 * Doesn't make sense to go into INIT state in usnic_ib_qp_grp_modify() 451 * from INIT state w/o adding filters. in usnic_ib_qp_grp_modify() 516 qp_grp->state = new_state; in usnic_ib_qp_grp_modify() 702 qp_grp->state = IB_QPS_RESET; in usnic_ib_qp_grp_create() 734 WARN_ON(qp_grp->state != IB_QPS_RESET); in usnic_ib_qp_grp_destroy()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.c | 192 * state mutex to avoid dereferencing the IB device which 203 if (unlikely(iser_conn->state != ISER_CONN_UP)) in iser_initialize_task_headers() 450 * state is not UP (teardown already started). 476 if (iser_conn->state != ISER_CONN_UP) { in iscsi_iser_conn_bind() 478 iser_err("iser_conn %p state is %d, teardown started\n", in iscsi_iser_conn_bind() 479 iser_conn, iser_conn->state); in iscsi_iser_conn_bind() 528 * handle, so we call it under iser the state lock to protect against 635 if (iser_conn->state != ISER_CONN_UP) { in iscsi_iser_session_create() 839 * or more likely iser connection state transitioned to TEMINATING or 852 if (iser_conn->state in iscsi_iser_ep_poll() [all...] |
/kernel/linux/linux-6.6/tools/objtool/arch/x86/ |
H A D | decode.c | 730 void arch_initial_func_cfi_state(struct cfi_init_state *state) in arch_initial_func_cfi_state() argument 735 state->regs[i].base = CFI_UNDEFINED; in arch_initial_func_cfi_state() 736 state->regs[i].offset = 0; in arch_initial_func_cfi_state() 740 state->cfa.base = CFI_SP; in arch_initial_func_cfi_state() 741 state->cfa.offset = 8; in arch_initial_func_cfi_state() 744 state->regs[CFI_RA].base = CFI_CFA; in arch_initial_func_cfi_state() 745 state->regs[CFI_RA].offset = -8; in arch_initial_func_cfi_state()
|
/kernel/linux/linux-6.6/drivers/scsi/libsas/ |
H A D | sas_discover.c | 186 set_bit(SAS_DEV_FOUND, &dev->state); in sas_notify_lldd_dev_found() 201 if (test_and_clear_bit(SAS_DEV_FOUND, &dev->state)) { in sas_notify_lldd_dev_gone() 392 if (!test_bit(SAS_DEV_DESTROY, &dev->state) && in sas_unregister_dev() 401 if (!test_and_set_bit(SAS_DEV_DESTROY, &dev->state)) { in sas_unregister_dev() 402 if (test_bit(SAS_DEV_GONE, &dev->state)) in sas_unregister_dev() 415 set_bit(SAS_DEV_GONE, &dev->state); in sas_unregister_domain_devices() 522 if (test_bit(SAS_HA_ATA_EH_ACTIVE, &ha->state)) { in sas_revalidate_domain()
|
/kernel/linux/linux-6.6/net/atm/ |
H A D | svc.c | 112 if (sock->state == SS_CONNECTED) { in svc_bind() 116 if (sock->state != SS_UNCONNECTED) { in svc_bind() 172 switch (sock->state) { in svc_connect() 184 sock->state = SS_UNCONNECTED; in svc_connect() 214 sock->state = SS_CONNECTING; in svc_connect() 279 sock->state = SS_CONNECTED; in svc_connect() 420 newsock->state = SS_CONNECTED; in svc_accept()
|
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | sendmsg.c | 285 enum rxrpc_call_state state; in rxrpc_send_data() local 296 if (call->conn->state == RXRPC_CONN_CLIENT_UNSECURED) { in rxrpc_send_data() 309 state = rxrpc_call_state(call); in rxrpc_send_data() 311 if (state >= RXRPC_CALL_COMPLETE) in rxrpc_send_data() 314 if (state != RXRPC_CALL_CLIENT_SEND_REQUEST && in rxrpc_send_data() 315 state != RXRPC_CALL_SERVER_ACK_REQUEST && in rxrpc_send_data() 316 state != RXRPC_CALL_SERVER_SEND_REPLY) { in rxrpc_send_data() 750 * Allow a kernel service to send data on a call. The call must be in an state 789 * Allow a kernel service to abort a call, if it's still in an abortable state
|
/test/xts/acts/communication_lite/wifiservice_hal/src/ |
H A D | wifiservice_func_test.c | 97 static void OnWifiScanStateChangedHandler(int state, int size) in OnWifiScanStateChangedHandler() argument 99 if (state != WIFI_STATE_AVAILABLE) { in OnWifiScanStateChangedHandler() 100 printf("ScanStateChanged:state is unavailable.\n"); in OnWifiScanStateChangedHandler() 102 printf("ScanStateChanged:state[%d], size[%d].\n", state, size); in OnWifiScanStateChangedHandler() 120 static void OnWifiConnectionChangedHandler(int state, WifiLinkedInfo* info) in OnWifiConnectionChangedHandler() argument 123 printf("WifiConnectionChanged:info is null, stat is %d.\n", state); in OnWifiConnectionChangedHandler() 176 static void OnHotspotStateChangedHandler(int state) in OnHotspotStateChangedHandler() argument 178 printf("HotspotStateChanged:state is %d.\n", state); in OnHotspotStateChangedHandler() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RBBIRuleScanner.java | 26 private final static int kStackSize = 100; // The size of the state stack for 50 RBBIRuleChar fC = new RBBIRuleChar(); // Current char for parse state machine 54 short fStack[] = new short[kStackSize]; // State stack, holds state pushes 55 int fStackPtr; // and pops as specified in the state 84 // perl script that builds the state tables. 129 // Called by the parse state machine. 147 // Scanned a '^' while on the rule start state. in doParseActions() 271 // the state table to chain into another rule for a longer match. in doParseActions() 845 // Parse RBBI rules. The state machine for rules parsing is here. 846 // The state table [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | RBBIRuleScanner.java | 27 private final static int kStackSize = 100; // The size of the state stack for 51 RBBIRuleChar fC = new RBBIRuleChar(); // Current char for parse state machine 55 short fStack[] = new short[kStackSize]; // State stack, holds state pushes 56 int fStackPtr; // and pops as specified in the state 85 // perl script that builds the state tables. 130 // Called by the parse state machine. 148 // Scanned a '^' while on the rule start state. in doParseActions() 272 // the state table to chain into another rule for a longer match. in doParseActions() 846 // Parse RBBI rules. The state machine for rules parsing is here. 847 // The state table [all...] |
/third_party/jinja2/ |
H A D | lexer.py | 451 """A special tuple for marking a point in the state that can have 607 state: t.Optional[str] = None, 610 stream = self.tokeniter(source, name, filename, state) 672 state: t.Optional[str] = None, 691 if state is not None and state != "root": 692 assert state in ("variable", "block"), "invalid state" 693 stack.append(state + "_begin") 824 # handle state change [all...] |
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | lexer.py | 447 """A special tuple for marking a point in the state that can have 613 def tokenize(self, source, name=None, filename=None, state=None): 615 stream = self.tokeniter(source, name, filename, state) 662 def tokeniter(self, source, name, filename=None, state=None): 677 if state is not None and state != "root": 678 assert state in ("variable", "block"), "invalid state" 679 stack.append(state + "_begin") 805 # handle state change [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | utils.c | 1166 enum { F_INIT, F_PERCENT, F_FIRST } state; in ntfs_utils_reformat() local 1171 state = F_INIT; in ntfs_utils_reformat() 1173 switch (state) { in ntfs_utils_reformat() 1176 state = F_PERCENT; in ntfs_utils_reformat() 1182 state = F_FIRST; in ntfs_utils_reformat() 1187 state = F_INIT; in ntfs_utils_reformat() 1204 state = F_INIT; in ntfs_utils_reformat()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_sampler.c | 49 struct pipe_sampler_state *state = mem_dup(sampler, sizeof *sampler); in llvmpipe_create_sampler_state() local 52 if (state->min_mip_filter == PIPE_TEX_MIPFILTER_LINEAR) in llvmpipe_create_sampler_state() 53 state->min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST; in llvmpipe_create_sampler_state() 57 state->min_mip_filter = PIPE_TEX_MIPFILTER_NONE; in llvmpipe_create_sampler_state() 60 state->mag_img_filter = PIPE_TEX_FILTER_NEAREST; in llvmpipe_create_sampler_state() 61 state->min_img_filter = PIPE_TEX_FILTER_NEAREST; in llvmpipe_create_sampler_state() 64 return state; in llvmpipe_create_sampler_state() 206 * XXX: bind flags from OpenGL state tracker are notoriously unreliable. in llvmpipe_create_sampler_view()
|
/third_party/python/Include/cpython/ |
H A D | unicodeobject.h | 69 structure. state.ascii and state.compact are set, and the data 204 } state; member 209 PyCompactUnicodeObject structure. state.compact is set, and the data 251 /* Values for PyASCIIObject.state: */ 253 /* Interning state. */ 260 return _PyASCIIObject_CAST(op)->state.interned; in PyUnicode_CHECK_INTERNED() 269 return _PyASCIIObject_CAST(op)->state.ready; in PyUnicode_IS_READY() 280 return _PyASCIIObject_CAST(op)->state.ascii; in PyUnicode_IS_ASCII() 289 return _PyASCIIObject_CAST(op)->state in PyUnicode_IS_COMPACT() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-http.c | 76 enum state { enum 94 enum state state; member 643 switch (c->state) { in line_callback() 656 c->state = STATE_MIME_HEADER; in line_callback() 667 c->state = STATE_DATA; in line_callback() 700 c->state = STATE_REQUEST_LINE; in pa_http_protocol_connect()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/contrib/ |
H A D | mhchem.min.js | 1 !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("katex"));else if("function"==typeof define&&define.amd)define(["katex"],e);else{var n="object"==typeof exports?e(require("katex")):e(t.katex);for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}("undefined"!=typeof self?self:this,function(t){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var a=e[o]={i:o,l:!1,exports:{}};return t[o].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(o,a,function(e){return t[e]}.bind(null,a));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t},function(t,e,n){"use strict";n.r(e);var o=n(0),a=n.n(o);a.a.__defineMacro("\\ce",function(t){return r(t.consumeArgs(1)[0],"ce")}),a.a.__defineMacro("\\pu",function(t){return r(t.consumeArgs(1)[0],"pu")}),a.a.__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var r=function(t,e){for(var n="",o=t[t.length-1].loc.start,a=t.length-1;a>=0;a--)t[a].loc.start>o&&(n+=" ",o=t[a].loc.start),n+=t[a].text,o+=t[a].text.length;return c.go(i.go(n,e))},i={go:function(t,e){if(!t)return[];void 0===e&&(e="ce");var n,o="0",a={};a.parenthesisLevel=0,t=(t=(t=t.replace(/\n/g," ")).replace(/[\u2212\u2013\u2014\u2010]/g,"-")).replace(/[\u2026]/g,"...");for(var r=10,c=[];;){n!==t?(r=10,n=t):r--;var u=i.stateMachines[e],p=u.transitions[o]||u.transitions["*"];t:for(var s=0;s<p.length;s++){var _=i.patterns.match_(p[s].pattern,t);if(_){for(var d=p[s].task,m=0;m<d.action_.length;m++){var l;if(u.actions[d.action_[m].type_])l=u.actions[d.action_[m].type_](a,_.match_,d.action_[m].option);else{if(!i.actions[d.action_[m].type_])throw["MhchemBugA","mhchem bug A. Please report. ("+d.action_[m].type_+")"];l=i.actions[d.action_[m].type_](a,_.match_,d.action_[m].option)}i.concatArray(c,l)}if(o=d.nextState||o,!(t.length>0))return c;if(d.revisit||(t=_.remainder),!d.toContinue)break t}}if(r<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(t,e){if(e)if(Array.isArray(e))for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(t){var e=t.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return e&&e[0]?{match_:e.splice(1),remainder:t.substr(e[0].length)}:null},"(-)(9)^(-9)":function(t){var e=t.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return e&&e[0]?{match_:e.splice(1),remainder:t.substr(e[0].length)}:null},"state of aggregation $":function(t){var e=i.patterns.findObserveGroups(t,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(e&&e.remainder.match(/^($|[\s,;\)\]\}])/))return e;var n=t.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return n?{match_:n[0],remainder:t.substr(n[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(t){return i.patterns.findObserveGroups(t,"^{","","","}")},"^($...$)":function(t){return i.patterns.findObserveGroups(t,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(t){return i.patterns.findObserveGroups(t,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(t){return i.patterns.findObserveGroups(t,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(t){return i.patterns.findObserveGroups(t,"_{","","","}")},"_($...$)":function(t){return i.patterns.findObserveGroups(t,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(t){return i.patterns.findObserveGroups(t,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(t){return i.patterns.findObserveGroups(t,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(t){return i.patterns.findObserveGroups(t,"","{","}","")},"{(...)}":function(t){return i.patterns.findObserveGroups(t,"{","","","}")},"$...$":function(t){return i.patterns.findObserveGroups(t,"","$","$","")},"${(...)}$":function(t){return i.patterns.findObserveGroups(t,"${","","","}$")},"$(...)$":function(t){return i.patterns.findObserveGroups(t,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]\/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(t){return i.patterns.findObserveGroups(t,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(t){return i.patterns.findObserveGroups(t,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(t){return i.patterns.findObserveGroups(t,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(t){return i.patterns.findObserveGroups(t,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(t){return i.patterns.findObserveGroups(t,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(t){return i.patterns.findObserveGroups(t,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(t){return i.patterns.findObserveGroups(t,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(t){return i.patterns.findObserveGroups(t,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(t){return i.patterns.findObserveGroups(t,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(t){return i.patterns.findObserveGroups(t,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(t){return i.patterns.findObserveGroups(t,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(t){return i.patterns.findObserveGroups(t,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(t){var e;if(e=t.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/))return{match_:e[0],remainder:t.substr(e[0].length)};var n=i.patterns.findObserveGroups(t,"","$","$","");return n&&(e=n.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/))?{match_:e[0],remainder:t.substr(e[0].length)}:null},amount2:function(t){return this.amount(t)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(t){if(t.match(/^\([a-z]+\)$/))return null;var e=t.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return e?{match_:e[0],remainder:t.substr(e[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(t,e,n,o,a,r,i,c,u,p){var s=function(t,e){if("string"==typeof e)return 0!==t.indexOf(e)?null:e;var n=t.match(e);return n?n[0]:null},_=s(t,e);if(null===_)return null;if(t=t.substr(_.length),null===(_=s(t,n)))return null;var d=function(t,e,n){for(var o=0;e<t.length;){var a=t.charAt(e),r=s(t.substr(e),n);if(null!==r&&0===o)return{endMatchBegin:e,endMatchEnd:e+r.length};if("{"===a)o++;else if("}"===a){if(0===o)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];o--}e++}return null}(t,_.length,o||a);if(null===d)return null;var m=t.substring(0,o?d.endMatchEnd:d.endMatchBegin);if(r||i){var l=this.findObserveGroups(t.substr(d.endMatchEnd),r,i,c,u);if(null===l)return null;var f=[m,l.match_];return{match_:p?f.join(""):f,remainder:l.remainder}}return{match_:m,remainder:t.substr(d.endMatchEnd)}},match_:function(t,e){var n=i.patterns.patterns[t];if(void 0===n)throw["MhchemBugP","mhchem bug P. Please report. ("+t+")"];if("function"==typeof n)return i.patterns.patterns[t](e);var o=e.match(n);return o?{match_:o[2]?[o[1],o[2]]:o[1]?o[1]:o[0],remainder:e.substr(o[0].length)}:null}},actions:{"a=":function(t,e){t.a=(t.a||"")+e},"b=":function(t,e){t.b=(t.b||"")+e},"p=":function(t,e){t.p=(t.p||"")+e},"o=":function(t,e){t.o=(t.o||"")+e},"q=":function(t,e){t.q=(t.q||"")+e},"d=":function(t,e){t.d=(t.d||"")+e},"rm=":function(t,e){t.rm=(t.rm||"")+e},"text=":function(t,e){t.text_=(t.text_||"")+e},insert:function(t,e,n){return{type_:n}},"insert+p1":function(t,e,n){return{type_:n,p1:e}},"insert+p1+p2":function(t,e,n){return{type_:n,p1:e[0],p2:e[1]}},copy:function(t,e){return e},rm:function(t,e){return{type_:"rm",p1:e||""}},text:function(t,e){return i.go(e,"text")},"{text}":function(t,e){var n=["{"];return i.concatArray(n,i.go(e,"text")),n.push("}"),n},"tex-math":function(t,e){return i.go(e,"tex-math")},"tex-math tight":function(t,e){return i.go(e,"tex-math tight")},bond:function(t,e,n){return{type_:"bond",kind_:n||e}},"color0-output":function(t,e){return{type_:"color0",color:e[0]}},ce:function(t,e){return i.go(e)},"1/2":function(t,e){var n=[];e.match(/^[+\-]/)&&(n.push(e.substr(0,1)),e=e.substr(1));var o=e.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return o[1]=o[1].replace(/\$/g,""),n.push({type_:"frac",p1:o[1],p2:o[2]}),o[3]&&(o[3]=o[3].replace(/\$/g,""),n.push({type_:"tex-math",p1:o[3]})),n},"9,9":function(t,e){return i.go(e,"9,9")}},createTransitions:function(t){var e,n,o,a,r={};for(e in t)for(n in t[e])for(o=n.split("|"),t[e][n].stateArray=o,a=0;a<o.length;a++)r[o[a]]=[];for(e in t)for(n in t[e])for(o=t[e][n].stateArray||[],a=0;a<o.length;a++){var i=t[e][n];if(i.action_){i.action_=[].concat(i.action_);for(var c=0;c<i.action_.length;c++)"string"==typeof i.action_[c]&&(i.action_[c]={type_:i.action_[c]})}else i.action_=[];for(var u=e.split("|"),p=0;p<u.length;p++)if("*"===o[a])for(var s in r)r[s].push({pattern:u[p],task:i});else r[o[a]].push({pattern:u[p],task:i})}return r},stateMachines:{}};i.stateMachines={ce:{transitions:i.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(t,e){var n;if((t.d||"").match(/^[0-9]+$/)){var o=t.d;t.d=void 0,n=this.output(t),t.b=o}else n=this.output(t);return i.actions["o="](t,e),n},"d= kv":function(t,e){t.d=e,t.dType="kv"},"charge or bond":function(t,e){if(t.beginsWithBond){var n=[];return i.concatArray(n,this.output(t)),i.concatArray(n,i.actions.bond(t,e,"-")),n}t.d=e},"- after o/d":function(t,e,n){var o=i.patterns.match_("orbital",t.o||""),a=i.patterns.match_("one lowercase greek letter $",t.o||""),r=i.patterns.match_("one lowercase latin letter $",t.o||""),c=i.patterns.match_("$one lowercase latin letter$ $",t.o||""),u="-"===e&&(o&&""===o.remainder||a||r||c);!u||t.a||t.b||t.p||t.d||t.q||o||!r||(t.o="$"+t.o+"$");var p=[];return u?(i.concatArray(p,this.output(t)),p.push({type_:"hyphen"})):(o=i.patterns.match_("digits",t.d||""),n&&o&&""===o.remainder?(i.concatArray(p,i.actions["d="](t,e)),i.concatArray(p,this.output(t))):(i.concatArray(p,this.output(t)),i.concatArray(p,i.actions.bond(t,e,"-")))),p},"a to o":function(t){t.o=t.a,t.a=void 0},"sb=true":function(t){t.sb=!0},"sb=false":function(t){t.sb=!1},"beginsWithBond=true":function(t){t.beginsWithBond=!0},"beginsWithBond=false":function(t){t.beginsWithBond=!1},"parenthesisLevel++":function(t){t.parenthesisLevel++},"parenthesisLevel--":function(t){t.parenthesisLevel--},"state of aggregation":function(t,e){return{type_:"state of aggregation",p1:i.go(e,"o")}},comma:function(t,e){var n=e.replace(/\s*$/,"");return n!==e&&0===t.parenthesisLevel?{type_:"comma enumeration L",p1:n}:{type_:"comma enumeration M",p1:n}},output:function(t,e,n){var o,a,r;t.r?(a="M"===t.rdt?i.go(t.rd,"tex-math"):"T"===t.rdt?[{type_:"text",p1:t.rd||""}]:i.go(t.rd),r="M"===t.rqt?i.go(t.rq,"tex-math"):"T"===t.rqt?[{type_:"text",p1:t.rq||""}]:i.go(t.rq),o={type_:"arrow",r:t.r,rd:a,rq:r}):(o=[],(t.a||t.b||t.p||t.o||t.q||t.d||n)&&(t.sb&&o.push({type_:"entitySkip"}),t.o||t.q||t.d||t.b||t.p||2===n?t.o||t.q||t.d||!t.b&&!t.p?t.o&&"kv"===t.dType&&i.patterns.match_("d-oxidation$",t.d||"")?t.dType="oxidation":t.o&&"kv"===t.dType&&!t.q&&(t.dType=void 0):(t.o=t.a,t.d=t.b,t.q=t.p,t.a=t.b=t.p=void 0):(t.o=t.a,t.a=void 0),o.push({type_:"chemfive",a:i.go(t.a,"a"),b:i.go(t.b,"bd"),p:i.go(t.p,"pq"),o:i.go(t.o,"o"),q:i.go(t.q,"pq"),d:i.go(t.d,"oxidation"===t.dType?"oxidation":"bd"),dType:t.dType})));for(var c in t)"parenthesisLevel"!==c&&"beginsWithBond"!==c&&delete t[c];return o},"oxidation-output":function(t,e){var n=["{"];return i.concatArray(n,i.go(e,"oxidation")),n.push("}"),n},"frac-output":function(t,e){return{type_:"frac-ce",p1:i.go(e[0]),p2:i.go(e[1])}},"overset-output":function(t,e){return{type_:"overset",p1:i.go(e[0]),p2:i.go(e[1])}},"underset-output":function(t,e){return{type_:"underset",p1:i.go(e[0]),p2:i.go(e[1])}},"underbrace-output":function(t,e){return{type_:"underbrace",p1:i.go(e[0]),p2:i.go(e[1])}},"color-output":function(t,e){return{type_:"color",color1:e[0],color2:i.go(e[1])}},"r=":function(t,e){t.r=e},"rdt=":function(t,e){t.rdt=e},"rd=":function(t,e){t.rd=e},"rqt=":function(t,e){t.rqt=e},"rq=":function(t,e){t.rq=e},operator:function(t,e,n){return{type_:"operator",kind_:n||e}}}},a:{transitions:i.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:i.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:i.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(t){if(t.text_){var e={type_:"text",p1:t.text_};for(var n in t)delete t[n];return e}}}},pq:{transitions:i.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state o [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | lexer.py | 447 """A special tuple for marking a point in the state that can have 613 def tokenize(self, source, name=None, filename=None, state=None): 615 stream = self.tokeniter(source, name, filename, state) 662 def tokeniter(self, source, name, filename=None, state=None): 677 if state is not None and state != "root": 678 assert state in ("variable", "block"), "invalid state" 679 stack.append(state + "_begin") 805 # handle state change [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-pipe-sink.c | 145 if (s->thread_info.state == PA_SINK_SUSPENDED || s->thread_info.state == PA_SINK_INIT) { in sink_set_state_in_io_thread_cb() 148 } else if (PA_SINK_IS_OPENED(s->thread_info.state)) { in sink_set_state_in_io_thread_cb() 153 /* Continuously dropping data (clear counter on entering suspended state. */ in sink_set_state_in_io_thread_cb() 327 if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) in thread_func_use_timing() 334 if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) { in thread_func_use_timing() 379 if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) { in thread_func() 389 pollfd->events = (short) (u->sink->thread_info.state == PA_SINK_RUNNING ? POLLOUT : 0); in thread_func()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | dependentDestructuredVariables.js | 174 const reducerBroken = (state: number, { type, payload }: Action3) => { 177 return state + payload.toAdd; 179 return state - payload.toRemove; 541 const reducerBroken = (state, { type, payload }) => {
544 return state + payload.toAdd;
546 return state - payload.toRemove;
752 declare const reducerBroken: (state: number, { type, payload }: Action3) => number;
|
/device/soc/rockchip/common/sdk_linux/net/bluetooth/ |
H A D | l2cap_sock.c | 177 chan->state = BT_BOUND; in l2cap_sock_bind() 337 chan->state = BT_LISTEN; in l2cap_sock_listen() 393 newsock->state = SS_CONNECTED; in l2cap_sock_accept() 981 chan->state = BT_CONFIG; in l2cap_sock_setsockopt() 1214 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg() 1218 pi->chan->state = BT_CONNECTED; in l2cap_sock_recvmsg() 1222 pi->chan->state = BT_CONFIG; in l2cap_sock_recvmsg() 1280 BT_DBG("sk %p state %s", sk, state_to_string(sk->sk_state)); in l2cap_sock_kill() 1326 } while (chan->unacked_frames > 0 && chan->state == BT_CONNECTED); in __l2cap_wait_ack() 1368 BT_DBG("chan %p state in l2cap_sock_shutdown() 1623 l2cap_sock_state_change_cb(struct l2cap_chan *chan, int state, int err) l2cap_sock_state_change_cb() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | 3w-sas.c | 281 tw_dev->state[request_id] = TW_S_POSTED; in twl_post_command_packet() 455 tw_dev->state[*request_id] = TW_S_STARTED; in twl_get_request_id() 462 tw_dev->state[request_id] = TW_S_FINISHED; in twl_free_request_id() 513 tw_dev->state[request_id] = TW_S_COMPLETED; in twl_aen_complete() 637 tw_dev->state[request_id] = TW_S_INITIAL; in twl_aen_drain_queue() 809 tw_dev->state[request_id] = TW_S_COMPLETED; in twl_chrdev_ioctl() 964 tw_dev->state[request_id] = TW_S_INITIAL; in twl_get_param() 1028 tw_dev->state[request_id] = TW_S_INITIAL; in twl_initconnection() 1066 tw_dev->state[i] = TW_S_INITIAL; in twl_initialize_device_extension() 1102 tw_dev->state[request_i in twl_handle_attention_interrupt() 1761 twl_suspend(struct pci_dev *pdev, pm_message_t state) twl_suspend() argument [all...] |
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | tcp.c | 79 /* send state */ 82 enum nvmet_tcp_send_state state; member 101 /* send state */ 110 /* recv state */ 117 /* digest state */ 124 enum nvmet_tcp_queue_state state; member 417 cmd->state = NVMET_TCP_SEND_DATA_PDU; in nvmet_setup_c2h_data_pdu() 449 cmd->state = NVMET_TCP_SEND_R2T; in nvmet_setup_r2t_pdu() 474 cmd->state = NVMET_TCP_SEND_RESPONSE; in nvmet_setup_response_pdu() 578 cmd->state in nvmet_try_send_data_pdu() [all...] |