/external/chromium_org/net/base/ |
H A D | nss_memio.c | 69 static void memio_buffer_new(struct memio_buffer *mb, int size); 72 static void memio_buffer_destroy(struct memio_buffer *mb); 75 static int memio_buffer_used_contiguous(const struct memio_buffer *mb); 78 static int memio_buffer_wrapped_bytes(const struct memio_buffer *mb); 81 static int memio_buffer_unused_contiguous(const struct memio_buffer *mb); 84 static int memio_buffer_put(struct memio_buffer *mb, const char *buf, int n); 87 static int memio_buffer_get(struct memio_buffer *mb, char *buf, int n); 90 static void memio_buffer_new(struct memio_buffer *mb, int size) argument 92 mb->head = 0; 93 mb 99 memio_buffer_destroy(struct memio_buffer *mb) argument 108 memio_buffer_used_contiguous(const struct memio_buffer *mb) argument 114 memio_buffer_wrapped_bytes(const struct memio_buffer *mb) argument 120 memio_buffer_unused_contiguous(const struct memio_buffer *mb) argument 127 memio_buffer_put(struct memio_buffer *mb, const char *buf, int n) argument 161 memio_buffer_get(struct memio_buffer *mb, char *buf, int n) argument 217 struct memio_buffer *mb; local 261 struct memio_buffer *mb; local 412 struct memio_buffer* mb = &((PRFilePrivate *)secret)->readbuf; local 421 struct memio_buffer* mb = &((PRFilePrivate *)secret)->readbuf; local 429 struct memio_buffer* mb = &((PRFilePrivate *)secret)->readbuf; local 448 struct memio_buffer* mb = &((PRFilePrivate *)secret)->writebuf; local 459 struct memio_buffer* mb = &((PRFilePrivate *)secret)->writebuf; local 489 struct memio_buffer mb; local [all...] |
/external/chromium/net/base/ |
H A D | nss_memio.c | 65 static void memio_buffer_new(struct memio_buffer *mb, int size); 68 static void memio_buffer_destroy(struct memio_buffer *mb); 71 static int memio_buffer_used_contiguous(const struct memio_buffer *mb); 74 static int memio_buffer_wrapped_bytes(const struct memio_buffer *mb); 77 static int memio_buffer_unused_contiguous(const struct memio_buffer *mb); 80 static int memio_buffer_put(struct memio_buffer *mb, const char *buf, int n); 83 static int memio_buffer_get(struct memio_buffer *mb, char *buf, int n); 86 static void memio_buffer_new(struct memio_buffer *mb, int size) argument 88 mb->head = 0; 89 mb 95 memio_buffer_destroy(struct memio_buffer *mb) argument 104 memio_buffer_used_contiguous(const struct memio_buffer *mb) argument 110 memio_buffer_wrapped_bytes(const struct memio_buffer *mb) argument 116 memio_buffer_unused_contiguous(const struct memio_buffer *mb) argument 123 memio_buffer_put(struct memio_buffer *mb, const char *buf, int n) argument 157 memio_buffer_get(struct memio_buffer *mb, char *buf, int n) argument 213 struct memio_buffer *mb; local 246 struct memio_buffer *mb; local 387 struct memio_buffer* mb = &((PRFilePrivate *)secret)->readbuf; local 396 struct memio_buffer* mb = &((PRFilePrivate *)secret)->readbuf; local 415 struct memio_buffer* mb = &((PRFilePrivate *)secret)->writebuf; local 426 struct memio_buffer* mb = &((PRFilePrivate *)secret)->writebuf; local 456 struct memio_buffer mb; local [all...] |
/external/libvpx/libvpx/vp8/encoder/x86/ |
H A D | vp8_enc_stubs_sse2.c | 18 int vp8_mbblock_error_xmm(MACROBLOCK *mb, int dc) argument 20 short *coeff_ptr = mb->block[0].coeff; 21 short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; 26 int vp8_mbuverror_xmm(MACROBLOCK *mb) argument 28 short *s_ptr = &mb->coeff[256]; 29 short *d_ptr = &mb->e_mbd.dqcoeff[256];
|
H A D | vp8_enc_stubs_mmx.c | 53 int vp8_mbblock_error_mmx(MACROBLOCK *mb, int dc) argument 55 short *coeff_ptr = mb->block[0].coeff; 56 short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; 61 int vp8_mbuverror_mmx(MACROBLOCK *mb) argument 63 short *s_ptr = &mb->coeff[256]; 64 short *d_ptr = &mb->e_mbd.dqcoeff[256];
|
/external/chromium/base/ |
H A D | sys_string_conversions_win.cc | 32 std::wstring SysMultiByteToWide(const StringPiece& mb, uint32 code_page) { argument 33 if (mb.empty()) 36 int mb_length = static_cast<int>(mb.length()); 39 mb.data(), mb_length, NULL, 0); 45 MultiByteToWideChar(code_page, 0, mb.data(), mb_length, &wide[0], charcount); 62 std::string mb; 63 mb.resize(charcount); 65 &mb[0], charcount, NULL, NULL); 67 return mb;
|
/external/chromium_org/base/strings/ |
H A D | sys_string_conversions_win.cc | 32 std::wstring SysMultiByteToWide(const StringPiece& mb, uint32 code_page) { argument 33 if (mb.empty()) 36 int mb_length = static_cast<int>(mb.length()); 39 mb.data(), mb_length, NULL, 0); 45 MultiByteToWideChar(code_page, 0, mb.data(), mb_length, &wide[0], charcount); 62 std::string mb; 63 mb.resize(charcount); 65 &mb[0], charcount, NULL, NULL); 67 return mb;
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_modecosts.c | 25 vp9_cost_tokens((int *)c->mb.y_mode_costs[i][j], vp9_kf_y_mode_prob[i][j], 31 vp9_cost_tokens(c->mb.mbmode_cost, cm->fc.y_mode_prob[1], 33 vp9_cost_tokens(c->mb.intra_uv_mode_cost[1], 35 vp9_cost_tokens(c->mb.intra_uv_mode_cost[0], 40 vp9_cost_tokens((int *)c->mb.switchable_interp_costs[i],
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_bitstream.c | 662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 664 int dmv = mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_DUAL_PRIME; 667 if (mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_FIELD) { 668 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; 670 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); 671 mb->PMV[0][s][1] = wrap(DIV2DOWN(mb->PMV[0][s][1]) + delta[1], bs->desc->f_code[s][1]) * 2; 673 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); 675 mb 686 motion_vector_field(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 710 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) argument 792 struct pipe_mpeg12_macroblock mb; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_bitstream.c | 662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 664 int dmv = mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_DUAL_PRIME; 667 if (mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_FIELD) { 668 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; 670 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); 671 mb->PMV[0][s][1] = wrap(DIV2DOWN(mb->PMV[0][s][1]) + delta[1], bs->desc->f_code[s][1]) * 2; 673 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); 675 mb 686 motion_vector_field(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 710 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) argument 792 struct pipe_mpeg12_macroblock mb; local [all...] |
/external/llvm/test/Bindings/Ocaml/ |
H A D | bitreader.ml | 24 let mb = Llvm.MemoryBuffer.of_file fn in var 26 let m = Llvm_bitreader.parse_bitcode context mb in 29 Llvm.MemoryBuffer.dispose mb; 36 let mb = Llvm.MemoryBuffer.of_file (fn ^ ".bogus") in var 37 Llvm.MemoryBuffer.dispose mb; 45 let mb = Llvm.MemoryBuffer.of_file fn in var 47 Llvm_bitreader.get_module context mb 49 Llvm.MemoryBuffer.dispose mb; 65 let mb = Llvm.MemoryBuffer.of_file fn in var 67 Llvm_bitreader.get_module context mb [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
H A D | error_concealment.h | 29 /* Interpolates all motion vectors for a macroblock mb at position 31 void vp8_interpolate_motion(MACROBLOCKD *mb,
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | encodeintra.h | 19 void vp8_encode_intra4x4mby(MACROBLOCK *mb);
|
H A D | encodemb.h | 19 void vp8_transform_mb(MACROBLOCK *mb);
|
H A D | pickinter.h | 23 extern int vp8_get_inter_mbpred_error(MACROBLOCK *mb,
|
/external/linux-tools-perf/util/ui/browsers/ |
H A D | map.c | 56 struct map_browser *mb = container_of(self, struct map_browser, b); local 62 mb->addrlen, sym->start, mb->addrlen, sym->end, 65 width = self->width - ((mb->addrlen * 2) + 4); 129 struct map_browser mb = { local 142 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { 149 *idx = mb.b.nr_entries; 151 ++mb.b.nr_entries; 154 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); 155 return map_browser__run(&mb); [all...] |
/external/icu4c/tools/toolutil/ |
H A D | ucm.c | 273 UCMapping *mb, *mbLimit; local 276 mb=base->mappings; 277 mbLimit=mb+base->mappingsLength; 279 while(mb<mbLimit) { 280 flag=mb->moveFlag; 283 mb->moveFlag=0; 287 ucm_addMapping(ext, mb, UCM_GET_CODE_POINTS(base, mb), UCM_GET_BYTES(base, mb)); 291 if(mb<(mbLimi 311 UCMapping *mb, *me, *mbLimit, *meLimit; local 415 UCMapping *mb, *me; local [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | ucm.c | 273 UCMapping *mb, *mbLimit; local 276 mb=base->mappings; 277 mbLimit=mb+base->mappingsLength; 279 while(mb<mbLimit) { 280 flag=mb->moveFlag; 283 mb->moveFlag=0; 287 ucm_addMapping(ext, mb, UCM_GET_CODE_POINTS(base, mb), UCM_GET_BYTES(base, mb)); 291 if(mb<(mbLimi 311 UCMapping *mb, *me, *mbLimit, *meLimit; local 415 UCMapping *mb, *me; local [all...] |
/external/opencv/cv/src/ |
H A D | cvmatchcontours.cpp | 63 double ma[7], mb[7]; local 97 mb[0] = huMoments.hu1; 98 mb[1] = huMoments.hu2; 99 mb[2] = huMoments.hu3; 100 mb[3] = huMoments.hu4; 101 mb[4] = huMoments.hu5; 102 mb[5] = huMoments.hu6; 103 mb[6] = huMoments.hu7; 112 double amb = fabs( mb[i] ); 120 if( mb[ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
H A D | nouveau_video.c | 104 nouveau_vpe_mb_dct_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) argument 107 unsigned cbp = mb->coded_block_pattern; 108 short *db = mb->blocks; 133 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 140 nouveau_vpe_mb_data_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) argument 143 unsigned cbp = mb->coded_block_pattern; 144 short *db = mb->blocks; 150 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 159 const struct pipe_mpeg12_macroblock *mb, 163 bool intra = mb 158 nouveau_vpe_mb_dct_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 282 nouveau_vpe_mb_mv_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 432 const struct pipe_mpeg12_macroblock *mb; local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_video.c | 104 nouveau_vpe_mb_dct_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) argument 107 unsigned cbp = mb->coded_block_pattern; 108 short *db = mb->blocks; 133 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 140 nouveau_vpe_mb_data_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) argument 143 unsigned cbp = mb->coded_block_pattern; 144 short *db = mb->blocks; 150 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 159 const struct pipe_mpeg12_macroblock *mb, 163 bool intra = mb 158 nouveau_vpe_mb_dct_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 282 nouveau_vpe_mb_mv_header(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb, bool luma) argument 432 const struct pipe_mpeg12_macroblock *mb; local [all...] |
/external/libppp/src/ |
H A D | mbuf.c | 106 struct mbucket **mb; local 121 mb = M_BUCKET(m_len); 124 if (*mb) { 126 bp = &(*mb)->u.m; 127 if (--(*mb)->u.f.count == 0) 128 *mb = (*mb)->u.f.next; 130 ((struct mbucket *)((char *)*mb + size))->u.f.count = (*mb)->u.f.count; 131 *mb 167 struct mbucket **mb, *f; local [all...] |
/external/llvm/bindings/ocaml/bitreader/ |
H A D | llvm_bitreader.mli | 17 (** [get_module context mb] reads the bitcode for a new module [m] from the 18 memory buffer [mb] in the context [context]. Returns [m] if successful, or 24 (** [parse_bitcode context mb] parses the bitcode for a new module [m] from the 25 memory buffer [mb] in the context [context]. Returns [m] if successful, or
|
/external/valgrind/main/VEX/test/ |
H A D | mmxtest.c | 508 mmx_t mb; local 524 mkRand(&mb); \ 525 ma0 = ma; mb0 = mb; \ 528 _name, ma0.q, mb0.q, mb.q); \ 534 do_test("paddd", paddd(ma,mb)); 535 do_test("paddw", paddw(ma,mb)); 536 do_test("paddb", paddb(ma,mb)); 538 do_test("paddsw", paddsw(ma,mb)); 539 do_test("paddsb", paddsb(ma,mb)); 541 do_test("paddusw", paddusw(ma,mb)); [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | analysis.c | 44 const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; local 45 int majority_seg = mb->segment_; 47 cnt[mb[-w - 1].segment_]++; // top-left 48 cnt[mb[-w + 0].segment_]++; // top 49 cnt[mb[-w + 1].segment_]++; // top-right 50 cnt[mb[ - 1].segment_]++; // left 51 cnt[mb[ + 1].segment_]++; // right 52 cnt[mb[ w - 1].segment_]++; // bottom-left 53 cnt[mb[ w + 0].segment_]++; // bottom 54 cnt[mb[ 65 VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; local 209 VP8MBInfo* const mb = &enc->mb_info_[n]; local 361 DefaultMBInfo(VP8MBInfo* const mb) argument [all...] |
/external/webp/src/enc/ |
H A D | analysis.c | 44 const VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; local 45 int majority_seg = mb->segment_; 47 cnt[mb[-w - 1].segment_]++; // top-left 48 cnt[mb[-w + 0].segment_]++; // top 49 cnt[mb[-w + 1].segment_]++; // top-right 50 cnt[mb[ - 1].segment_]++; // left 51 cnt[mb[ + 1].segment_]++; // right 52 cnt[mb[ w - 1].segment_]++; // bottom-left 53 cnt[mb[ w + 0].segment_]++; // bottom 54 cnt[mb[ 65 VP8MBInfo* const mb = &enc->mb_info_[x + w * y]; local 209 VP8MBInfo* const mb = &enc->mb_info_[n]; local 361 DefaultMBInfo(VP8MBInfo* const mb) argument [all...] |