Searched defs:code (Results 1 - 25 of 1408) sorted by path

1234567891011>>

/external/android-clat/
H A Dicmp.c63 uint8_t icmp_to_icmp6_type(uint8_t type, uint8_t code) { argument
76 if (code != ICMP_UNREACH_PROTOCOL && code != ICMP_UNREACH_NEEDFRAG) {
89 * code - the ICMP code
91 uint8_t icmp_to_icmp6_code(uint8_t type, uint8_t code) { argument
98 return code;
101 switch (code) {
115 // Otherwise, we don't understand this ICMP type/code combination. Fall through.
118 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp_to_icmp6_code: unhandled ICMP type/code
126 icmp6_to_icmp_type(uint8_t type, uint8_t code) argument
151 icmp6_to_icmp_code(uint8_t type, uint8_t code) argument
[all...]
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DCodeGenerator.java9 * 1. Redistributions of source code must retain the above copyright
49 /** ANTLR's code generator.
58 * To make a new code generation target, define X.stg for language X
61 * bunch of templates that are needed by the code generator. You can add
91 /** Which grammar are we generating code for? Each generator
104 /** Where are the templates this generator should use to generate code? */
271 * Finally, walk the AST again to generate code.
312 // create a dummy to avoid null-checks all over code generator
416 // Walk the AST holding the input grammar, this time generating code
624 /** Generate code tha
809 genTokenTypeConstants(ST code) argument
827 genTokenTypeNames(ST code) argument
1260 write(ST code, String fileName) argument
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DGrammarAST.java9 * 1. Redistributions of source code must retain the above copyright
77 * purposes (Nullable tree child list needs special code gen when matching).
83 * computed during code gen for automatic error recovery.
116 * early, before code gen, for refs to rule predefined properties
119 * the {$ID...} is not seen as an action until code gen pulls apart.
123 /** if this is a TOKEN_REF or RULE_REF node, this is the code ST
127 public ST code; field in class:GrammarAST
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DJDWPConstants.java650 * @param code
654 public static String getName(int code) { argument
655 switch (code) {
680 * @param code
684 public static String getName(int code) { argument
685 switch (code) {
710 * @param code
714 public static String getName(int code) { argument
715 switch (code) {
739 * @param code
743 getName(int code) argument
807 getName(int code) argument
[all...]
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
H A DHandlerTest.java345 public void reportError(String msg, Exception ex, int code) { argument
346 super.reportError(msg, ex, code);
/external/apache-http/src/org/apache/http/
H A DHttpResponse.java60 * @return the status line, or <code>null</code> if not yet set
77 * @param code the status code
79 void setStatusLine(ProtocolVersion ver, int code); argument
85 * @param code the status code
86 * @param reason the reason phrase, or <code>null</code> to omit
88 void setStatusLine(ProtocolVersion ver, int code, Strin argument
108 setStatusCode(int code) argument
[all...]
/external/apache-http/src/org/apache/http/message/
H A DBasicHttpResponse.java73 * <code>null</code> to disable automatic
76 * <code>null</code> for the system locale
107 * @param code the status code of the response
108 * @param reason the reason phrase to the status code, or
109 * <code>null</code>
112 final int code,
111 BasicHttpResponse(final ProtocolVersion ver, final int code, final String reason) argument
147 setStatusLine(final ProtocolVersion ver, final int code) argument
153 setStatusLine(final ProtocolVersion ver, final int code, final String reason) argument
160 setStatusCode(int code) argument
204 getReason(int code) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DElemLiteralResult.java310 // This loop is ok here because this code only runs during
567 * node indices is <code>0</code> to <code>length-1</code> inclusive
581 * @param name The <code>nodeName</code> of a node to retrieve.
582 * @return A <code>Node</code> (of any type) with the specified
583 * <code>nodeNam
1470 throwDOMException(short code, String msg) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/dtm/
H A DDTMDOMException.java36 * @param code
39 public DTMDOMException(short code, String message) argument
41 super(code, message);
48 * @param code
50 public DTMDOMException(short code) argument
52 super(code, "");
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMNamedNodeMap.java94 * @param name The <code>nodeName</code> of a node to retrieve.
95 * @return A <code>Node</code> (of any type) with the specified
96 * <code>nodeName</code>, or <code>null</code> if it does not identify
113 * Returns the <code>index</code>t
284 DTMException(short code, String message) argument
295 DTMException(short code) argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
H A DLSSerializerImpl.java1498 private static LSException createLSException(short code, Throwable cause) { argument
1499 LSException lse = new LSException(code, cause != null ? cause.getMessage() : null);
/external/bison/src/
H A Dmuscle-tab.c631 char const *code, location code_loc)
635 muscle_code_grow (name, code, code_loc);
630 muscle_percent_code_grow(char const *qualifier, location qualifier_loc, char const *code, location code_loc) argument
H A Doutput.c39 #include "scan-code.h" /* max_left_semantic_context */
407 char const *code = (*get) (sym)->code; local
408 if (code)
413 code, optional typename. */
419 fprintf (out, ", %d, [[%s]]", sym->number, code);
676 | Output the parsing tables and the parser code to ftable. |
H A Dparse-gram.c111 #include "scan-code.h"
344 char *code; member in union:GRAM_STYPE
721 "\"%dprec\"", "\"%merge\"", "\"%code\"", "\"%debug\"",
1003 we won't break user code: when these are the locations we know. */
1102 { fprintf (stderr, "{\n%s\n}", ((*yyvaluep).code)); };
1997 /* User initialization code. */
2209 plain_code.code, (yylsp[(1) - (1)]));
2288 code_props_symbol_action_init (&action, (yyvsp[(2) - (2)].code), (yylsp[(2) - (2)]));
2291 muscle_code_grow ("initial_action", action.code, (yylsp[(2) - (2)]));
2305 { add_param ("lex_param", (yyvsp[(2) - (2)].code), (yyls
2439 code_props code; local
2455 code_props code; local
[all...]
H A Dparse-gram.h185 char *code; member in union:GRAM_STYPE
H A Dscan-code.c1 #line 2 "scan-code.c"
3 #line 4 "scan-code.c"
460 /* %% [2.0] code to fiddle code_text and code_leng for yymore() goes here \ */\
464 /* %% [3.0] code to copy yytext_ptr to code_text[] goes here, if %array \ */\
654 #line 1 "scan-code.l"
674 #line 24 "scan-code.l"
686 #include "scan-code.h"
719 /* C and C++ comments in code. */
721 /* Strings and characters in code. */
734 #line 735 "scan-code
3078 code_props_plain_init(code_props *self, char const *code, location code_loc) argument
3090 code_props_symbol_action_init(code_props *self, char const *code, location code_loc) argument
3102 code_props_rule_action_init(code_props *self, char const *code, location code_loc, symbol_list *rule, named_ref *name) argument
[all...]
H A Dscan-code.h1 /* Bison code properties structure and scanner.
36 * A code passage captured from the grammar file and possibly translated,
37 * and/or properties associated with such a code passage. Don't break
52 char const *code; member in struct:code_props
53 /** Undefined iff \c code_props::code is \c NULL. */
59 * the \c code_props that would contain the code passage associated
65 * referenced in the code passage.
80 * - \c self has been overwritten to contain no code.
94 * - <tt>code != NULL</tt>.
95 * - \c code i
[all...]
H A Dscan-gram.c460 /* %% [2.0] code to fiddle gram_text and gram_leng for yymore() goes here \ */\
464 /* %% [3.0] code to copy yytext_ptr to gram_text[] goes here, if %array \ */\
1035 /* Three types of user code:
1036 - prologue (code between '%{' '%}' in the first section, before %%);
1040 /* C and C++ comments in code. */
1042 /* Strings and characters in code. */
1310 /* Nesting level of the current code in braces. */
1319 /* Where containing code started, when applicable. Its initial
1372 /* %% [8.0] yymore()-related code goes here */
1383 /* %% [9.0] code t
3601 unsigned long int code = strtoul (ucn + 2, NULL, 16); local
[all...]
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_cmd.c57 #define AT_SET_RES_CB(res_cb, c, p, i) {res_cb.code = c; res_cb.p_arg = p; res_cb.int_arg = i;}
59 /* type for AT result code block */
62 UINT8 code; member in struct:__anon402
156 /* AT result code table element */
163 /* AT result code argument types */
200 /* AT result code constant table (Indexed by result code) */
271 /* translation of API result code values to internal values */
326 ** Description Send an AT result code.
332 static void bta_ag_send_result(tBTA_AG_SCB *p_scb, UINT8 code, cha argument
1320 UINT8 code = bta_ag_trans_result[p_result->result]; local
1433 UINT8 code = bta_ag_trans_result[p_result->result]; local
[all...]
H A Dbta_ag_rfc.c43 void bta_ag_port_cback_1(UINT32 code, UINT16 port_handle);
44 void bta_ag_port_cback_2(UINT32 code, UINT16 port_handle);
45 void bta_ag_port_cback_3(UINT32 code, UINT16 port_handle);
47 void bta_ag_mgmt_cback_1(UINT32 code, UINT16 port_handle);
48 void bta_ag_mgmt_cback_2(UINT32 code, UINT16 port_handle);
49 void bta_ag_mgmt_cback_3(UINT32 code, UINT16 port_handle);
89 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
93 UNUSED(code);
124 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
132 APPL_TRACE_DEBUG("ag_mgmt_cback : code
219 bta_ag_mgmt_cback_1(UINT32 code, UINT16 handle) argument
220 bta_ag_mgmt_cback_2(UINT32 code, UINT16 handle) argument
221 bta_ag_mgmt_cback_3(UINT32 code, UINT16 handle) argument
222 bta_ag_port_cback_1(UINT32 code, UINT16 handle) argument
223 bta_ag_port_cback_2(UINT32 code, UINT16 handle) argument
224 bta_ag_port_cback_3(UINT32 code, UINT16 handle) argument
[all...]
/external/bluetooth/bluedroid/bta/hf_client/
H A Dbta_hf_client_at.c477 static void bta_hf_client_handle_cmeerror(UINT32 code) argument
479 bta_hf_client_handle_error(BTA_HF_CLIENT_AT_RESULT_CME, code);
563 static void bta_hf_client_handle_btrh( UINT16 code) argument
565 APPL_TRACE_DEBUG("%s %lu", __FUNCTION__, code);
567 bta_hf_client_evt_val(BTA_HF_CLIENT_BTRH_EVT, code);
1110 UINT16 code = 0; local
1116 res = sscanf(buffer, "%hu%n", &code, &offset);
1126 bta_hf_client_handle_btrh(code);
1698 void bta_hf_client_send_at_vts(char code) argument
1705 at_len = snprintf(buf, sizeof(buf), "AT+VTS=%c\r", code);
[all...]
H A Dbta_hf_client_rfc.c44 static void bta_hf_client_port_cback(UINT32 code, UINT16 port_handle) argument
47 UNUSED(code);
74 static void bta_hf_client_mgmt_cback(UINT32 code, UINT16 port_handle) argument
79 APPL_TRACE_DEBUG("bta_hf_client_mgmt_cback : code = %d, port_handle = %d, conn_handle = %d, serv_handle = %d",
80 code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle);
83 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle))
89 if (code == PORT_SUCCESS)
/external/bluetooth/bluedroid/bta/include/
H A Dbta_av_api.h397 tBTA_AV_CODE code; member in struct:__anon742
408 tBTA_AV_CODE code; member in struct:__anon743
503 tBTA_AV_CODE rc_pass_rsp; /* the default response code for pass through commands */
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_act.c1908 static void bta_jv_port_mgmt_cl_cback(UINT32 code, UINT16 port_handle) argument
1917 APPL_TRACE_DEBUG( "bta_jv_port_mgmt_cl_cback:code:%d, port_handle%d", code, port_handle);
1921 APPL_TRACE_DEBUG( "bta_jv_port_mgmt_cl_cback code=%d port_handle:%d handle:%d",
1922 code, port_handle, p_cb->handle);
1926 if(code == PORT_SUCCESS)
1938 evt_data.rfc_close.port_status = code;
1962 static void bta_jv_port_event_cl_cback(UINT32 code, UINT16 port_handle) argument
1972 APPL_TRACE_DEBUG( "bta_jv_port_event_cl_cback code=x%x port_handle:%d handle:%d",
1973 code, port_handl
2141 bta_jv_port_mgmt_sr_cback(UINT32 code, UINT16 port_handle) argument
2213 bta_jv_port_event_sr_cback(UINT32 code, UINT16 port_handle) argument
[all...]

Completed in 1231 milliseconds

1234567891011>>