AddInt16
status_t AddInt16(const char *name, int16 value);
status_t AddInt16(const char* name, int16 value);
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(ofg, ocf));
inline status_t AddInt16(const char* name, int16 value);
status_t AddInt16(const char* name, int16 value);
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND, OCF_RESET));
message.AddInt16("id", fKeyboardID);
fSendMessage.AddInt16(argString.String(), (int16)atoi(value));
return message->AddInt16(name, v);
pArchive->AddInt16("digits", m_digitCount);
pArchive->AddInt16("scaleFactor", m_scaleFactor);
data->AddInt16("showLevel", fShowLevel);
ret = archive->AddInt16("cols", fColumns);
ret = archive->AddInt16("rows", fRows);
result = into->AddInt16(kKeyMinimumAge, (int16)fMinimumAge);
m.AddInt16("fMaxConnections", fMaxConnections);
to_message->AddInt16(curname, atol(valuestring + strlen("int16(")));
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(ofg, ocf));
request.AddInt16("eventExpected", HCI_EVENT_CMD_STATUS);
request.AddInt16("opcodeExpected",
request.AddInt16("eventExpected", HCI_EVENT_CMD_STATUS);
request.AddInt16("opcodeExpected",
request.AddInt16("eventExpected", HCI_EVENT_INQUIRY_RESULT);
request.AddInt16("eventExpected", HCI_EVENT_INQUIRY_RESULT_WITH_RSSI);
request.AddInt16("eventExpected", HCI_EVENT_EXTENDED_INQUIRY_RESULT);
request.AddInt16("eventExpected", HCI_EVENT_INQUIRY_COMPLETE);
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_INFORMATIONAL_PARAM,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_INFORMATIONAL_PARAM,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_INFORMATIONAL_PARAM,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_INFORMATIONAL_PARAM,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_RETURN_LINK_KEYS);
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_CONTROL_BASEBAND,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_VENDOR_CMD,
request.AddInt16("eventExpected", HCI_EVENT_CMD_STATUS);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL,
request.AddInt16("eventExpected", HCI_EVENT_LINK_KEY_REQ);
request.AddInt16("eventExpected", HCI_EVENT_ROLE_CHANGE);
request.AddInt16("eventExpected", HCI_EVENT_CONN_COMPLETE);
authRequestMsg.AddInt16("eventExpected", HCI_EVENT_CMD_STATUS);
authRequestMsg.AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL, OCF_AUTH_REQUESTED));
authRequestMsg.AddInt16("eventExpected", HCI_EVENT_AUTH_COMPLETE);
request.AddInt16("eventExpected", HCI_EVENT_CMD_STATUS);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL,
request.AddInt16("eventExpected", HCI_EVENT_DISCONNECTION_COMPLETE);
request.AddInt16("eventExpected", HCI_EVENT_CMD_STATUS);
request.AddInt16("opcodeExpected",
request.AddInt16("eventExpected", HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE);
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL,
request.AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
request.AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL,
ret = archive->AddInt16("_hashloc", fHashMarks);
ret = archive->AddInt16("_sstyle", fStyle);
result = archive->AddInt16("_but_width", fTabWidthSetting);
ret = data->AddInt16("_lmcapjoin", (int16)LineCapMode());
ret = data->AddInt16("_lmcapjoin", (int16)LineJoinMode());
ret = data->AddInt16("_fillrule", (int16)FillRule());
ret = data->AddInt16("_blend", (int16)alphaSourceMode);
ret = data->AddInt16("_blend", (int16)alphaFunctionMode);
ret = data->AddInt16("_show", fShowLevel);
res = archive.AddInt16("c:ver", kCatArchiveVersion);
if (into->AddInt16("bnaddr_family", fFamily) != B_OK)
if (into->AddInt16("bnaddr_port", fPort) != B_OK)
status = into->AddInt16("_BNetEndpoint_addr_port", addrPort);
status = into->AddInt16("_BNetEndpoint_peer_port", peerPort);
msg.AddInt16(UrlEventData::HttpStatusCode, fStatus.code);
msg.AddInt16(UrlEventData::HttpStatusCode, fStatus.code);
return fCurrentMessage->AddInt16(name, value);
ret = AddInt16(name, value);
return message.AddInt16(fieldName, fInt16);
msg.AddInt16("scroll_xstepsize", fSettings.scroll_xstepsize);
msg.AddInt16("scroll_ystepsize", fSettings.scroll_ystepsize);
msg.AddInt16("padblocker_threshold", fSettings.padblocker_threshold);
reply.AddInt16(key_count, fTaskQueue.CountItems());
reply.AddInt16(key_count, fTaskQueue.CountItems()-1);
reply.AddInt16(key_count, fTaskQueue.CountItems()-1);
newrequest->AddInt16("eventExpected", HCI_EVENT_CMD_STATUS);
newrequest->AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL,
newrequest->AddInt16("eventExpected", HCI_EVENT_PAGE_SCAN_REP_MODE_CHANGE);
newrequest->AddInt16("eventExpected", HCI_EVENT_LINK_KEY_REQ);
newrequest->AddInt16("eventExpected", HCI_EVENT_ROLE_CHANGE);
newrequest->AddInt16("eventExpected", HCI_EVENT_CONN_COMPLETE);
newrequest->AddInt16("eventExpected", HCI_EVENT_MAX_SLOT_CHANGE);
newrequest->AddInt16("eventExpected", HCI_EVENT_DISCONNECTION_COMPLETE);
newrequest->AddInt16("eventExpected", HCI_EVENT_IO_CAPABILITY_REQUEST);
newrequest->AddInt16("eventExpected", HCI_EVENT_IO_CAPABILITY_RESPONSE);
newrequest->AddInt16("eventExpected", HCI_EVENT_LINK_KEY_NOTIFY);
reply.AddInt16("handle", event->handle);
newrequest->AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
newrequest->AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL, OCF_LINK_KEY_NEG_REPLY));
newrequest->AddInt16("eventExpected", HCI_EVENT_PIN_CODE_REQ);
newrequest->AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
newrequest->AddInt16("opcodeExpected",
newrequest->AddInt16("eventExpected", HCI_EVENT_USER_CONFIRMATION_REQUEST);
newrequest->AddInt16("eventExpected", HCI_EVENT_USER_PASSKEY_REQUEST);
newrequest->AddInt16("eventExpected", HCI_EVENT_SIMPLE_PAIRING_COMPLETE);
newrequest->AddInt16("eventExpected", HCI_EVENT_CMD_COMPLETE);
newrequest->AddInt16("opcodeExpected", PACK_OPCODE(OGF_LINK_CONTROL, OCF_USER_CONFIRM_REPLY));
reply.AddInt16("handle", handle);
fProperties->AddInt16("hci_revision",
fProperties->AddInt16("lmp_subversion",
fProperties->AddInt16("manufacturer",
fProperties->AddInt16("page_timeout",
fProperties->AddInt16("packet_type", packetType);
fProperties->AddInt16("acl_mtu", buffer->acl_mtu);
fProperties->AddInt16("acl_max_pkt", buffer->acl_max_pkt);
fProperties->AddInt16("sco_max_pkt", buffer->sco_max_pkt);
return reply->AddInt16("id", fKeyboardID);
return AddInt16(name, i);
return AddInt16(name, i);
res = archive.AddInt16("c:ver", kCatArchiveVersion);