/external/vboot_reference/tests/ |
vb2_api_tests.c | 23 static struct vb2_shared_data *sd; variable in typeref:struct:vb2_shared_data 57 sd = vb2_get_sd(&cc); 69 memcpy(sd->gbb_hwid_digest, mock_hwid_digest, 70 sizeof(sd->gbb_hwid_digest)); 121 TEST_EQ(sd->recovery_reason, 0, " not recovery"); 129 TEST_EQ(sd->recovery_reason, VB2_RECOVERY_GBB_HEADER, 139 TEST_EQ(sd->recovery_reason, VB2_RECOVERY_DEV_SWITCH, 148 TEST_EQ(sd->recovery_reason, VB2_RECOVERY_SECDATA_INIT,
|
vb20_api_tests.c | 23 static struct vb2_shared_data *sd; variable in typeref:struct:vb2_shared_data 63 sd = vb2_get_sd(&cc); 75 sd->workbuf_preamble_offset = cc.workbuf_used; 76 sd->workbuf_preamble_size = sizeof(*pre); 77 cc.workbuf_used = sd->workbuf_preamble_offset 78 + sd->workbuf_preamble_size; 80 (cc.workbuf + sd->workbuf_preamble_offset); 88 sd->workbuf_data_key_offset = cc.workbuf_used; 89 sd->workbuf_data_key_size = sizeof(*k) + 8; 90 cc.workbuf_used = sd->workbuf_data_key_offset [all...] |
vb20_misc_tests.c | 23 static struct vb2_shared_data *sd; variable in typeref:struct:vb2_shared_data 71 sd = vb2_get_sd(&cc); 84 sd->fw_version_secdata = 0x20002; 85 vb2_secdata_set(&cc, VB2_SECDATA_VERSIONS, sd->fw_version_secdata); 87 sd->gbb_rootkey_offset = vb2_offset_of(&mock_gbb, &mock_gbb.rootkey); 88 sd->gbb_rootkey_size = sizeof(mock_gbb.rootkey_data); 89 sd->last_fw_result = VB2_FW_RESULT_SUCCESS; 183 TEST_EQ(sd->fw_version, 0x20000, "keyblock version"); 184 TEST_EQ(sd->vblock_preamble_offset, sizeof(mock_vblock.k), 186 TEST_EQ(sd->workbuf_data_key_offset [all...] |
vb21_api_tests.c | 29 static struct vb2_shared_data *sd; variable in typeref:struct:vb2_shared_data 80 sd = vb2_get_sd(&ctx); 94 sd->workbuf_preamble_offset = ctx.workbuf_used; 96 (ctx.workbuf + sd->workbuf_preamble_offset); 114 sd->workbuf_preamble_size = sig_offset; 115 ctx.workbuf_used = sd->workbuf_preamble_offset 116 + sd->workbuf_preamble_size; 207 (ctx.workbuf + sd->workbuf_preamble_offset); 213 TEST_EQ(sd->workbuf_hash_offset, 217 TEST_EQ(sd->workbuf_hash_size, sizeof(struct vb2_digest_context) [all...] |
vb21_misc_tests.c | 25 static struct vb2_shared_data *sd; variable in typeref:struct:vb2_shared_data 74 sd = vb2_get_sd(&ctx); 87 sd->fw_version_secdata = 0x20002; 88 vb2_secdata_set(&ctx, VB2_SECDATA_VERSIONS, sd->fw_version_secdata); 90 sd->gbb_rootkey_offset = vb2_offset_of(&mock_gbb, &mock_gbb.rootkey); 91 sd->gbb_rootkey_size = sizeof(mock_gbb.rootkey_data); 92 sd->last_fw_result = VB2_FW_RESULT_SUCCESS; 190 TEST_EQ(sd->fw_version, 0x20000, "keyblock version"); 191 TEST_EQ(sd->vblock_preamble_offset, sizeof(mock_vblock.k), 193 TEST_EQ(sd->workbuf_data_key_offset [all...] |
vb2_misc_tests.c | 21 static struct vb2_shared_data *sd; variable in typeref:struct:vb2_shared_data 40 sd = vb2_get_sd(&cc); 185 TEST_EQ(sd->gbb_flags, gbb.flags, "gbb flags"); 186 TEST_EQ(sd->gbb_rootkey_offset, gbb.rootkey_offset, "rootkey offset"); 187 TEST_EQ(sd->gbb_rootkey_size, gbb.rootkey_size, "rootkey size"); 200 sd->status &= ~VB2_SD_STATUS_NV_INIT; 202 TEST_NEQ(sd->status & VB2_SD_STATUS_NV_INIT, 0, "vb2_fail inits NV"); 219 sd->status |= VB2_SD_STATUS_CHOSE_SLOT; 220 sd->fw_slot = 0; 221 sd->last_fw_slot = 1 [all...] |
/external/wpa_supplicant_8/src/wps/ |
http_client.c | 23 int sd; member in struct:http_client 95 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, 100 eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE); 117 eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE); 121 c->hread = httpread_create(c->sd, http_client_got_response, c, 142 c->sd = -1; 148 c->sd = socket(AF_INET, SOCK_STREAM, 0); 149 if (c->sd < 0) { 154 if (fcntl(c->sd, F_SETFL, O_NONBLOCK) != 0) { 161 if (connect(c->sd, (struct sockaddr *) dst, sizeof(*dst))) [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectReader.cpp | 165 SectionData* sd = IRBuilder::CreateSectionData(**section); local 166 if (!m_pELFReader->readRegularSection(pInput, *sd)) 174 SectionData* sd = IRBuilder::CreateSectionData(**section); local 175 if (!m_pELFReader->readRegularSection(pInput, *sd)) 206 SectionData* sd = IRBuilder::CreateSectionData(**section); local 207 if (!m_pELFReader->readRegularSection(pInput, *sd)) 216 SectionData* sd = IRBuilder::CreateSectionData(**section); local 217 if (!m_pELFReader->readRegularSection(pInput, *sd)) { 244 SectionData* sd = IRBuilder::CreateSectionData(**section); local 245 if (!m_Backend.readSection(pInput, *sd)) { [all...] |
/frameworks/compile/mclinker/lib/Object/ |
SectionMap.cpp | 53 SectionData* sd = SectionData::Create(*m_pSection); local 54 m_pSection->setSectionData(sd); 55 new NullFragment(sd); 56 new NullFragment(sd); 65 SectionData* sd = SectionData::Create(*m_pSection); local 66 m_pSection->setSectionData(sd); 67 new NullFragment(sd); 68 new NullFragment(sd); 89 SectionData* sd = SectionData::Create(*m_pSection); local 90 m_pSection->setSectionData(sd); 101 SectionData* sd = SectionData::Create(*m_pSection); local [all...] |
/hardware/qcom/media/mm-core/omxcore/src/common/ |
qc_omx_core.c | 430 struct stat sd; local 433 if(stat("/dev/pmem_adsp",&sd) != 0)
|
/hardware/qcom/media/mm-core/src/common/ |
qc_omx_core.c | 410 struct stat sd; local
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.unique/ |
unique_copy_pred.pass.cpp | 69 const unsigned sd = sizeof(id)/sizeof(id[0]); local 70 int jd[sd] = {-1}; 72 r = std::unique_copy(InIter(id), InIter(id+sd), OutIter(jd), count_equal()); 76 assert(count_equal::count == sd-1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorGridDialog.java | 51 GradientDrawable sd = ((GradientDrawable) button.getBackground()); local 59 sd.setColor(c);
|
/system/core/libion/ |
ion_test.c | 119 int sd[2]; local 126 socketpair(AF_UNIX, SOCK_STREAM, 0, sd); 157 sendmsg(sd[0], &msg, 0); 158 if (recvmsg(sd[0], &msg, 0) < 0) 163 sendmsg(sd[0], &msg, 0); 165 if (recvmsg(sd[0], &msg, 0) < 0) 187 if (recvmsg(sd[1], &child_msg, 0) < 0) 208 sendmsg(sd[1], &child_msg, 0);
|
/external/clang/test/Sema/ |
ms_class_layout.cpp | 123 struct sd : virtual s, virtual ICh { struct in inherits:s,ICh 124 virtual ~sd(){} 158 sd *h; 410 // CHECK: 0 | struct sd 411 // CHECK-NEXT: 0 | (sd vbtable pointer) 434 // CHECK: %struct.sd = type { i32*, i32, i8, i32, %struct.f, %struct.s.base, i32, %class.IA, %class.ICh.base }
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_metrics.h | 122 double sd; local 128 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 130 return(sd); 136 double sd; local 142 sd=db_sqr((y[0]-x0*mult))+db_sqr((y[1]-x1*mult)); 144 return(sd); 156 double sd; local 157 sd=db_SquaredInhomogenousHomographyError(y,H,x); 158 return(1.0+sd*one_over_scale2);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
InputController.java | 31 SwitchDisplayer sd = new SwitchDisplayer(i); local 32 mSwitchDisplayers.add(sd); 68 SwitchDisplayer sd = mSwitchDisplayers.get(switchIndex); local 69 sd.onSwitchStateChange(switchState);
|
/external/eigen/Eigen/src/Eigenvalues/ |
ComplexSchur.h | 267 RealScalar sd = numext::norm1(m_matT.coeff(i+1,i)); local 268 if (internal::isMuchSmallerThan(sd, d, NumTraits<RealScalar>::epsilon()))
|
/external/fio/engines/ |
sg.c | 33 static void sgio_hdr_init(struct sgio_data *sd, struct sg_io_hdr *hdr, 36 struct sgio_cmd *sc = &sd->cmds[io_u->index]; 68 struct sgio_data *sd = td->io_ops->data; local 70 void *buf = sd->sgbuf; 82 sd->fd_flags[i] = fio_set_fd_nonblocking(f->fd, "sg"); 84 sd->fd_flags[i] = -1; 86 sd->pfds[i].fd = f->fd; 87 sd->pfds[i].events = POLLIN; 97 ret = poll(sd->pfds, td->o.nr_files, -1); 106 if (pollin_events(sd->pfds, td->o.nr_files) 163 struct sgio_data *sd = td->io_ops->data; local 208 struct sgio_data *sd = td->io_ops->data; local 276 struct sgio_data *sd = td->io_ops->data; local 283 struct sgio_data *sd = td->io_ops->data; local 311 struct sgio_data *sd = td->io_ops->data; local 325 struct sgio_data *sd; local 351 struct sgio_data *sd = td->io_ops->data; local 387 struct sgio_data *sd = td->io_ops->data; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
PeriodFormatterData.java | 97 ScopeData sd = dr.scopeData[ix]; local 98 if (sd != null) { 99 String prefix = sd.prefix; 102 return sd.requiresDigitPrefix; 120 ScopeData sd = dr.scopeData[ix]; local 121 if (sd != null) { 122 String suffix = sd.suffix;
|
/external/opencv/otherlibs/highgui/ |
grfmt_exr.cpp | 691 unsigned short *sd = (unsigned short *)data; local 693 buf[i] = sd[i] + offset; 697 int *sd = (int *)data; // FIXME 64-bit problems local 699 buf[i] = (uint) sd[i] + offset; 713 unsigned short *sd = (unsigned short *)data; local 715 buf[i] = sd[i];
|
/external/openfst/src/include/fst/ |
shortest-path.h | 141 Weight sd = (*distance)[s]; local 143 Weight w = Times(sd, ifst.Final(s)); 167 Weight w = Times(sd, arc.weight);
|
/external/selinux/libselinux/src/ |
label_file.h | 25 pcre_extra *sd; /* pointer to extra compiled stuff */ member in union:spec::__anon17911 74 return spec->sd;
|
/external/selinux/libselinux/utils/ |
sefcontext_compile.c | 38 pcre_extra *sd; local 110 sd = pcre_study(re, 0, &err); 111 if (!sd) { 116 spec->sd = sd; 223 pcre_extra *sd = get_pcre_extra(&specs[i]); local 282 rc = pcre_fullinfo(re, sd, PCRE_INFO_STUDYSIZE, &size); 293 len = fwrite(sd->study_data, 1, to_write, bin_file); 318 pcre_free_study(specs[i].sd);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
main_winsvc.c | 257 SERVICE_DESCRIPTION sd; local 278 os_memset(&sd, 0, sizeof(sd)); 279 sd.lpDescription = WPASVC_DESCRIPTION; 280 if (!ChangeServiceConfig2(svc, SERVICE_CONFIG_DESCRIPTION, &sd)) {
|