Home
last modified time | relevance | path

Searched refs:body (Results 1 – 25 of 88) sorted by relevance

1234

/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dschema_generator.py170 body = ""
184body += " \"" + elem.text + "\": {\"$ref\": \"#/definitions/uint64_t" + "\"},"
196body += " \"" + elem.text + "\": {\"oneOf\": [{\"$ref\": \"#/definitions/" + storeType + "\"},{…
198body += " \"" + elem.text + "\": {\"oneOf\": [{\"$ref\": \"#/definitions/" + storeType + "\"},{…
200body += " \"" + elem.text + "\": {\"$ref\": \"#/definitions/" + storeType + "\"},"
202 if body:
203 self.appendSection(section, body)
256 body = ""
262 body = ''
263 body += " \"" + typeName + "\": {\n"
[all …]
Ddocgenerator.py347 body = self.genRequirements(name)
350 body += 'typedef ' + alias + ' ' + name + ';\n'
352 name, body)
357 body += noneStr(typeElem.text)
360 body += self.genOpts.apientry + noneStr(elem.tail)
362 body += noneStr(elem.text) + noneStr(elem.tail)
364 if body:
366 name, body + '\n')
377 body = 'typedef ' + typeElem.get('category') + ' ' + typeName + ' {\n'
381 body += self.makeCParamDecl(member, targetLen + 4)
[all …]
Dcgenerator.py340 body = 'typedef ' + alias + ' ' + name + ';\n'
345 body = noneStr(typeElem.text)
348 body += self.genOpts.apientry + noneStr(elem.tail)
350 body += noneStr(elem.text) + noneStr(elem.tail)
352 body = body.replace("(uint32_t)", "static_cast<uint32_t>")
353 if body:
355 if '\n' in body[0:-1]:
356 body += '\n'
357 self.appendSection(section, body)
422 body = 'typedef ' + alias + ' ' + typeName + ';\n'
[all …]
Djson_c_generator.py345 body = ""
363body += self.genBitmaskCode("const ", " * obj,", elem.text, typeElem.get('requires'))
366body += self.genBasetypeCode("const ", " * obj,", typeElem.find('name').text, typeElem.find('type'…
371 body += self.genHandleCode("const ", " * obj,", elem.text)
372 if body:
373 self.appendSection(section, body, extension)
575 body = ""
583 body = 'typedef ' + alias + ' ' + typeName + ';\n'
592body += "void print_%s(%s%s%s\n" %(typeName, genStr1[index], typeName, genStr3[index])
593 body += " (void)s;\n"
[all …]
Djson_generator.py657 body = ""
673body += self.genBitmaskCode("", " obj,", elem.text, typeElem.get('requires'))
674body += self.genBitmaskCode("const ", " * obj,", elem.text, typeElem.get('requires'))
679 body += self.genBasetypeCode("", " obj,", elem.text)
680 body += self.genBasetypeCode("const ", " * obj,", elem.text)
685 body += self.genHandleCode("", " obj,", elem.text)
686 body += self.genHandleCode("const ", " * obj,", elem.text)
687 if body:
688 self.appendSection(section, body)
917 body = ""
[all …]
Djson_parser.py686 body = ""
700body += self.genBitmaskCode("(", " obj,", elem.text, typeElem.get('requires'))
705 body += self.genBasetypeCode("(", " obj,", elem.text)
710 body += self.genHandleCode("(", " obj,", elem.text)
712 if body:
713 self.appendSection(section, body)
951 body = ""
958 body = "#ifdef %s\n" %(self.featureDict[typeName])
961 body += 'typedef ' + alias + ' ' + typeName + ';\n'
969body += "static void parse_%s(const char* s, Json::Value& obj, %s& o) {\n" %(typeName, typeName)
[all …]
Dspirvcapgenerator.py96 body = []
107 body.append('| {}code:{} +'.format(anchor, elem.get('name')))
193 body.append('ifdef::{}[]'.format(enable))
194 body.append('{} {}{}'.format(indent, linktext, continuation))
196 body.append('endif::{}[]'.format(enable))
199 captable += prefix + body + suffix
201 exttable += prefix + body + suffix
Dgenerator.py627 body = "// Flag bits for " + flagTypeName + "\n"
630 body += "typedef VkFlags64 %s;\n" % flagTypeName;
632 body += "typedef VkFlags %s;\n" % flagTypeName;
669 body += '#ifdef {}\n'.format(protect)
688 body += decl
693 body += '#endif\n'
696 body += aliasText
700 return ("bitmask", body)
718 body = ["typedef enum %s {" % groupName]
775 body.append(decl)
[all …]
Dreflib.py139 self.body = None
185 printPageInfoField('BODY ', pi.body, file)
327 if pi.body is None:
328 pi.body = nextPara(file, pi.param)
330 if pi.body is None:
331 pi.body = nextPara(file, pi.include)
338 pi.body = clampToBlock(pi.body, pi.param, pi.end)
608 pi.body = line
609 logDiag('added BODY =', pi.body)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/
Drender-a11y-string.js381 buildA11yStrings(tree.body, regionStrings, atomType);
443 buildA11yStrings(tree.body, regionStrings, atomType);
457 buildA11yStrings(tree.body, a11yStrings, atomType);
469 var body = tree.body,
472 if (body) {
473 buildA11yStrings(body, a11yStrings, atomType);
490 buildA11yStrings(tree.body, a11yStrings, atomType);
498 buildA11yStrings(tree.body, a11yStrings, atomType);
512 buildA11yStrings(tree.body, a11yStrings, atomType);
524 buildA11yStrings(tree.body, a11yStrings, atomType);
[all …]
Drender-a11y-string.min.js1body,r,t),r.push("end color "+o)});break;case"color-token":break;case"delimsizing":e.delim&&"."!==…
Drender-a11y-string.mjs269 buildA11yStrings(tree.body, regionStrings, atomType);
331 buildA11yStrings(tree.body, regionStrings, atomType);
345 buildA11yStrings(tree.body, a11yStrings, atomType);
357 const body = tree.body, constant
360 if (body) {
361 buildA11yStrings(body, a11yStrings, atomType);
378 buildA11yStrings(tree.body, a11yStrings, atomType);
386 buildA11yStrings(tree.body, a11yStrings, atomType);
400 buildA11yStrings(tree.body, a11yStrings, atomType);
412 buildA11yStrings(tree.body, a11yStrings, atomType);
[all …]
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dnan_rsp.cpp451 pRsp->body.publish_response.publish_id = \ in getNanResponse()
462 pRsp->body.publish_response.publish_id = \ in getNanResponse()
473 pRsp->body.subscribe_response.subscribe_id = \ in getNanResponse()
484 pRsp->body.subscribe_response.subscribe_id = \ in getNanResponse()
505 pRsp->body.stats_response.stats_type = \ in getNanResponse()
508 pRsp->body.stats_response.stats_type); in getNanResponse()
521 sizeof(pRsp->body.stats_response.data)) { in getNanResponse()
522 handleNanStatsResponse(pRsp->body.stats_response.stats_type, in getNanResponse()
524 &pRsp->body.stats_response, in getNanResponse()
574 pRsp->body.nan_capabilities.max_concurrent_nan_clusters = \ in getNanResponse()
[all …]
Dnan.cpp916 (msg->key_info.body.pmk_info.pmk_len == 0) && in nan_data_request_initiator()
917 (msg->key_info.body.passphrase_info.passphrase_len == 0)) { in nan_data_request_initiator()
987 msg->key_info.body.pmk_info.pmk_len == NAN_PMK_INFO_LEN) { in nan_data_request_initiator()
989 (char *)msg->key_info.body.pmk_info.pmk, in nan_data_request_initiator()
990 msg->key_info.body.pmk_info.pmk_len)) in nan_data_request_initiator()
993 msg->key_info.body.passphrase_info.passphrase_len >= in nan_data_request_initiator()
995 msg->key_info.body.passphrase_info.passphrase_len <= in nan_data_request_initiator()
998 (char *)msg->key_info.body.passphrase_info.passphrase, in nan_data_request_initiator()
999 msg->key_info.body.passphrase_info.passphrase_len)) in nan_data_request_initiator()
1038 (msg->key_info.body.pmk_info.pmk_len == 0) && in nan_data_indication_response()
[all …]
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dnan_rsp.cpp485 pRsp->body.publish_response.publish_id = \ in getNanResponse()
496 pRsp->body.publish_response.publish_id = \ in getNanResponse()
507 pRsp->body.subscribe_response.subscribe_id = \ in getNanResponse()
518 pRsp->body.subscribe_response.subscribe_id = \ in getNanResponse()
539 pRsp->body.stats_response.stats_type = \ in getNanResponse()
542 pRsp->body.stats_response.stats_type); in getNanResponse()
555 sizeof(pRsp->body.stats_response.data)) { in getNanResponse()
556 handleNanStatsResponse(pRsp->body.stats_response.stats_type, in getNanResponse()
558 &pRsp->body.stats_response, in getNanResponse()
608 pRsp->body.nan_capabilities.max_concurrent_nan_clusters = \ in getNanResponse()
[all …]
Dnan.cpp1229 (msg->key_info.body.pmk_info.pmk_len == 0) && in nan_data_request_initiator()
1230 (msg->key_info.body.passphrase_info.passphrase_len == 0)) { in nan_data_request_initiator()
1311 if (msg->key_info.body.pmk_info.pmk_len != NAN_PMK_INFO_LEN) { in nan_data_request_initiator()
1314 msg->key_info.body.pmk_info.pmk_len); in nan_data_request_initiator()
1318 (char *)msg->key_info.body.pmk_info.pmk, in nan_data_request_initiator()
1319 msg->key_info.body.pmk_info.pmk_len)){ in nan_data_request_initiator()
1324 if (msg->key_info.body.passphrase_info.passphrase_len < in nan_data_request_initiator()
1326 msg->key_info.body.passphrase_info.passphrase_len > in nan_data_request_initiator()
1330 msg->key_info.body.passphrase_info.passphrase_len); in nan_data_request_initiator()
1343 msg->key_info.body.pmk_info.pmk, in nan_data_request_initiator()
[all …]
/hardware/interfaces/tv/cec/1.1/default/
DHdmiCecMock.cpp48 cecMessage.body = message.body; in onCecMessage_1_1()
107 cecMessage.body = message.body; in sendMessage()
174 if (message.body.size() == 0) { in sendMessage_1_1()
229 size_t length = std::min(static_cast<size_t>(message.body.size()), in sendMessageToFifo()
232 msgBuf[i + 1] = static_cast<unsigned char>(message.body[i]); in sendMessageToFifo()
290 message.body.resize(length); in handleCecMessage()
293 message.body[i] = static_cast<uint8_t>(msgBuf[i + 1]); in handleCecMessage()
294 ALOGD("[halimp] msg body %x", message.body[i]); in handleCecMessage()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/
Dkatex.js328 if (group.body.length === 1) {
329 return getBaseElem(group.body[0]);
334 if (group.body.length === 1) {
335 return getBaseElem(group.body[0]);
340 return getBaseElem(group.body);
6370 return node ? node.body : [arg];
6635 …var body = buildHTML_makeSpan(["base"], children, options); // Add strut, which ensures that the t…
6644 strut.style.height = body.height + body.depth + "em";
6645 strut.style.verticalAlign = -body.depth + "em";
6646 body.children.unshift(strut);
[all …]
Dkatex.min.js1body.length?t(e.body[0]):e:"color"===e.type?1===e.body.length?t(e.body[0]):e:"font"===e.type?t(e.b… property
/hardware/interfaces/tv/hdmi/cec/aidl/default/
DHdmiCecMock.cpp78 if (message.body.size() == 0) { in sendMessage()
162 size_t length = std::min(static_cast<size_t>(message.body.size()), in sendMessageToFifo()
165 msgBuf[i + 1] = static_cast<unsigned char>(message.body[i]); in sendMessageToFifo()
202 message.body.resize(length); in handleCecMessage()
205 message.body[i] = static_cast<uint8_t>(msgBuf[i + 1]); in handleCecMessage()
206 ALOGD("[halimp_aidl] msg body %x", message.body[i]); in handleCecMessage()
/hardware/interfaces/tv/cec/1.0/default/
DHdmiCecMock.cpp77 if (message.body.size() == 0) { in sendMessage()
178 size_t length = std::min(static_cast<size_t>(message.body.size()), in sendMessageToFifo()
181 msgBuf[i + 1] = static_cast<unsigned char>(message.body[i]); in sendMessageToFifo()
239 message.body.resize(length); in handleCecMessage()
242 message.body[i] = static_cast<uint8_t>(msgBuf[i + 1]); in handleCecMessage()
243 ALOGD("[halimp] msg body %x", message.body[i]); in handleCecMessage()
DHdmiCec.h75 cecMessage.body.resize(length); in eventCallback()
77 cecMessage.body[i] = static_cast<uint8_t>(event->cec.body[i]); in eventCallback()
/hardware/qcom/sm8150/display/hdmi_cec/
Dqhdmi_cec.cpp221 hex_to_string((char*)msg->body, msg->length, dump); in cec_send_message()
235 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
237 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
299 size_t copy_size = event.cec.length > sizeof(event.cec.body) ? in cec_receive_message()
300 sizeof(event.cec.body) : event.cec.length; in cec_receive_message()
301 memcpy(event.cec.body, &msg[CEC_OFFSET_OPCODE],copy_size); in cec_receive_message()
302 hex_to_string((char *) event.cec.body, copy_size, dump); in cec_receive_message()
/hardware/qcom/display/msm8998/hdmi_cec/
Dqhdmi_cec.cpp225 hex_to_string((char*)msg->body, msg->length, dump); in cec_send_message()
239 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
241 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
303 size_t copy_size = event.cec.length > sizeof(event.cec.body) ? in cec_receive_message()
304 sizeof(event.cec.body) : event.cec.length; in cec_receive_message()
305 memcpy(event.cec.body, &msg[CEC_OFFSET_OPCODE],copy_size); in cec_receive_message()
306 hex_to_string((char *) event.cec.body, copy_size, dump); in cec_receive_message()
/hardware/qcom/sm7250/display/hdmi_cec/
Dqhdmi_cec.cpp221 hex_to_string((char*)msg->body, msg->length, dump); in cec_send_message()
235 write_msg[CEC_OFFSET_OPCODE] = msg->body[0]; in cec_send_message()
237 memcpy(&write_msg[CEC_OFFSET_OPERAND], &msg->body[1], in cec_send_message()
299 size_t copy_size = event.cec.length > sizeof(event.cec.body) ? in cec_receive_message()
300 sizeof(event.cec.body) : event.cec.length; in cec_receive_message()
301 memcpy(event.cec.body, &msg[CEC_OFFSET_OPCODE],copy_size); in cec_receive_message()
302 hex_to_string((char *) event.cec.body, copy_size, dump); in cec_receive_message()

1234