/external/chromium_org/third_party/ots/src/ |
H A D | loca.cc | 69 bool ots_loca_serialise(OTSStream *out, OpenTypeFile *file) { argument 79 if (!out->WriteU16(loca->offsets[i] >> 1)) { 85 if (!out->WriteU32(loca->offsets[i])) {
|
H A D | ltsh.cc | 62 bool ots_ltsh_serialise(OTSStream *out, OpenTypeFile *file) { argument 65 if (!out->WriteU16(ltsh->version) || 66 !out->WriteU16(ltsh->ypels.size())) { 70 if (!out->Write(&(ltsh->ypels[i]), 1)) {
|
H A D | maxp.cc | 77 bool ots_maxp_serialise(OTSStream *out, OpenTypeFile *file) { argument 80 if (!out->WriteU32(maxp->version_1 ? 0x00010000 : 0x00005000) || 81 !out->WriteU16(maxp->num_glyphs)) { 87 if (!out->WriteU16(maxp->max_points) || 88 !out->WriteU16(maxp->max_contours) || 89 !out->WriteU16(maxp->max_c_points) || 90 !out->WriteU16(maxp->max_c_contours)) { 95 if (!out->WriteU16(maxp->max_zones) || 96 !out->WriteU16(maxp->max_t_points) || 97 !out [all...] |
H A D | metrics.cc | 79 bool SerialiseMetricsHeader(OTSStream *out, argument 81 if (!out->WriteU32(header->version) || 82 !out->WriteS16(header->ascent) || 83 !out->WriteS16(header->descent) || 84 !out->WriteS16(header->linegap) || 85 !out->WriteU16(header->adv_width_max) || 86 !out->WriteS16(header->min_sb1) || 87 !out->WriteS16(header->min_sb2) || 88 !out->WriteS16(header->max_extent) || 89 !out 162 SerialiseMetricsTable(OTSStream *out, const OpenTypeMetricsTable *metrics) argument [all...] |
H A D | vdmx.cc | 128 bool ots_vdmx_serialise(OTSStream *out, OpenTypeFile *file) { argument 131 if (!out->WriteU16(vdmx->version) || 132 !out->WriteU16(vdmx->num_recs) || 133 !out->WriteU16(vdmx->num_ratios)) { 139 if (!out->Write(&rec.charset, 1) || 140 !out->Write(&rec.x_ratio, 1) || 141 !out->Write(&rec.y_start_ratio, 1) || 142 !out->Write(&rec.y_end_ratio, 1)) { 148 if (!out->WriteU16(vdmx->offsets[i])) { 155 if (!out [all...] |
H A D | vorg.cc | 72 bool ots_vorg_serialise(OTSStream *out, OpenTypeFile *file) { argument 75 if (!out->WriteU16(vorg->major_version) || 76 !out->WriteU16(vorg->minor_version) || 77 !out->WriteS16(vorg->default_vert_origin_y) || 78 !out->WriteU16(vorg->metrics.size())) { 84 if (!out->WriteU16(rec.glyph_index) || 85 !out->WriteS16(rec.vert_origin_y)) {
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | EdgeWalkerQuadralaterals_Test.cpp | 14 SkPath path, out; local 25 testSimplify(path, true, out, bitmap); 29 SkPath path, out; local 40 testSimplify(path, true, out, bitmap); 44 SkPath path, out; local 55 testSimplify(path, true, out, bitmap); 59 SkPath path, out; local 70 testSimplify(path, true, out, bitmap); 74 SkPath path, out; local 85 testSimplify(path, true, out, bitma 89 SkPath path, out; local [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkBitmapHasher.cpp | 18 static void write_int32_to_buffer(uint32_t val, SkWStream* out) { argument 21 out->write8((uint8_t)(val & 0xff)); 34 SkMD5 out; local 37 write_int32_to_buffer(SkToU32(bitmap.width()), &out); local 38 write_int32_to_buffer(SkToU32(bitmap.height()), &out); local 42 if (!enc->encodeStream(&out, bitmap, SkImageEncoder::kDefaultQuality)) { 47 out.finish(digest);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | stack_trace_table.cc | 116 void** out = new void*[out_len]; local 117 if (out == NULL) { 120 out_len * sizeof(*out)); 129 out[idx++] = reinterpret_cast<void*>(static_cast<uintptr_t>(b->count)); 130 out[idx++] = reinterpret_cast<void*>(b->trace.size); // cumulative size 131 out[idx++] = reinterpret_cast<void*>(b->trace.depth); 133 out[idx++] = b->trace.stack[d]; 138 out[idx++] = NULL; 156 return out;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | stack_trace_table.cc | 116 void** out = new void*[out_len]; local 117 if (out == NULL) { 120 out_len * sizeof(*out)); 129 out[idx++] = reinterpret_cast<void*>(static_cast<uintptr_t>(b->count)); 130 out[idx++] = reinterpret_cast<void*>(b->trace.size); // cumulative size 131 out[idx++] = reinterpret_cast<void*>(b->trace.depth); 133 out[idx++] = b->trace.stack[d]; 138 out[idx++] = static_cast<uintptr_t>(0); 156 return out;
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | json_unittest.cc | 32 std::string out; local 33 EXPECT_TRUE(GetStringFromJson(in_s, &out)); 34 EXPECT_EQ("foo", out); 35 EXPECT_TRUE(GetStringFromJson(in_sn, &out)); 36 EXPECT_EQ("99", out); 37 EXPECT_TRUE(GetStringFromJson(in_si, &out)); 38 EXPECT_EQ("-99", out); 39 EXPECT_TRUE(GetStringFromJson(in_i, &out)); 40 EXPECT_EQ("-12", out); 41 EXPECT_TRUE(GetStringFromJson(in_n, &out)); 53 int out; local 75 unsigned int out; local 97 bool out; local 120 double out; local 141 Json::Value a, out; local 153 Json::Value o, out; local 185 Json::Value out = ValueVectorToJsonArray(in); local 201 Json::Value out = IntVectorToJsonArray(in); local 217 Json::Value out = UIntVectorToJsonArray(in); local 233 Json::Value out = StringVectorToJsonArray(in); local 249 Json::Value out = BoolVectorToJsonArray(in); local 265 Json::Value out = DoubleVectorToJsonArray(in); local [all...] |
/external/chromium_org/third_party/webrtc/common_audio/ |
H A D | fir_filter_neon.cc | 45 void FIRFilterNEON::Filter(const float* in, size_t length, float* out) { argument 65 out[i] = vget_lane_f32(vpadd_f32(m_half, m_half), 0);
|
H A D | fir_filter_sse.cc | 45 void FIRFilterSSE2::Filter(const float* in, size_t length, float* out) { argument 73 _mm_store_ss(out + i, _mm_add_ss(m_sum, _mm_shuffle_ps(m_sum, m_sum, 1)));
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | resample_48khz.c | 27 void WebRtcSpl_Resample48khzTo16khz(const int16_t* in, int16_t* out, argument 32 // int32_t out[480] 38 // int32_t out[320] 47 // int16_t out[160] 49 WebRtcSpl_DownBy2IntToShort(tmpmem, 320, out, state->S_32_16); 65 void WebRtcSpl_Resample16khzTo48khz(const int16_t* in, int16_t* out, argument 70 // int32_t out[320] 76 // int32_t out[240] 85 // int16_t out[480] 87 WebRtcSpl_UpBy2IntToShort(tmpmem, 240, out, stat 103 WebRtcSpl_Resample48khzTo8khz(const int16_t* in, int16_t* out, WebRtcSpl_State48khzTo8khz* state, int32_t* tmpmem) argument 148 WebRtcSpl_Resample8khzTo48khz(const int16_t* in, int16_t* out, WebRtcSpl_State8khzTo48khz* state, int32_t* tmpmem) argument [all...] |
H A D | resample_by_2_internal.c | 31 void WebRtcSpl_DownBy2IntToShort(int32_t *in, int32_t len, int16_t *out, argument 109 out[i] = (int16_t)tmp0; 114 out[i + 1] = (int16_t)tmp1; 126 int32_t *out, 159 out[i] = (state[3] >> 1); 189 out[i] += (state[7] >> 1); 200 void WebRtcSpl_UpBy2ShortToInt(const int16_t *in, int32_t len, int32_t *out, argument 231 out[i << 1] = state[7] >> 15; 234 out++; 261 out[ 124 WebRtcSpl_DownBy2ShortToInt(const int16_t *in, int32_t len, int32_t *out, int32_t *state) argument 270 WebRtcSpl_UpBy2IntToInt(const int32_t *in, int32_t len, int32_t *out, int32_t *state) argument 340 WebRtcSpl_UpBy2IntToShort(const int32_t *in, int32_t len, int16_t *out, int32_t *state) argument 419 WebRtcSpl_LPBy2ShortToInt(const int16_t* in, int32_t len, int32_t* out, int32_t* state) argument 552 WebRtcSpl_LPBy2IntToInt(const int32_t* in, int32_t len, int32_t* out, int32_t* state) argument [all...] |
H A D | vector_scaling_operations_mips.c | 29 int16_t *out = out_vector; local 45 "sh %[value32], 0(%[out]) \n\t" 46 "addiu %[out], %[out], 2 \n\t" 47 : [value32] "=&r" (value32), [out] "+r" (out), [in1] "+r" (in1),
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
H A D | combpath_test.c | 44 const char *out; member in struct:Test_Entry 96 char *out; local 104 out = test->combpath(test->from, test->to); 106 if (strcmp(out, test->out) != 0) { 109 funcname, test->from, test->to, test->out, out); 110 yasm_xfree(out); 114 yasm_xfree(out);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/ |
H A D | genmacro.c | 37 FILE *in, *out; local 48 fprintf(stderr, "Usage: %s <out> <var> <file> [<file> ...]\n", argv[0]); 52 out = fopen(argv[1], "wt"); 54 if (!out) { 61 fprintf(out, "/* This file auto-generated from standard.mac by genmacro.c" 69 fclose(out); 92 fclose(out); 114 fprintf(out, " \""); 117 fputc('\\', out); 118 fputc(*strp, out); [all...] |
/external/chromium_org/tools/gn/ |
H A D | ninja_target_writer_unittest.cc | 18 std::ostream& out) 19 : NinjaTargetWriter(target, out) { 16 TestingNinjaTargetWriter(const Target* target, const Toolchain* toolchain, std::ostream& out) argument
|
H A D | path_output.cc | 26 void PathOutput::WriteFile(std::ostream& out, const SourceFile& file) const { argument 27 WritePathStr(out, file.value()); 30 void PathOutput::WriteDir(std::ostream& out, argument 37 out << "/."; 39 out << "/"; 41 // Writing out the source root. 44 // can't just write it out. 46 out << "."; 48 out.write(inverse_current_dir_.c_str(), 53 out << " 73 WriteFile(std::ostream& out, const OutputFile& file) const argument 78 WriteFiles(std::ostream& out, const std::vector<OutputFile>& files) const argument 86 WriteDir(std::ostream& out, const OutputFile& file, DirSlashEnding slash_ending) const argument 112 WriteFile(std::ostream& out, const base::FilePath& file) const argument 118 WriteSourceRelativeString( std::ostream& out, const base::StringPiece& str) const argument 141 WritePathStr(std::ostream& out, const base::StringPiece& str) const argument [all...] |
H A D | string_utils_unittest.cc | 68 // doesn't like this escape sequence so we have to put it out-of-line. 70 const char* out = "\"$\\"; local 71 EXPECT_TRUE(CheckExpansionCase(in, out, true));
|
H A D | substitution_writer_unittest.cc | 46 ASSERT_EQ("//out/Debug/gen/foo/bar/myfile.tmp", result.value()); 73 std::ostringstream out; local 75 setup.settings(), SourceFile("//foo/bar/baz.txt"), types, options, out); 82 out.str()); 89 "-i {{source}} --out=bar\"{{source_name_part}}\".o", 96 std::ostringstream out; local 97 SubstitutionWriter::WriteWithNinjaVariables(pattern, options, out); 100 "-i ${in} --out=bar\"${source_name_part}\".o", 101 out.str()); 153 EXPECT_EQ("//out/Debu [all...] |
/external/chromium_org/tools/json_schema_compiler/test/ |
H A D | choices_unittest.cc | 118 ChoiceType out; local 119 ASSERT_TRUE(ChoiceType::Populate(value, &out)); 120 ASSERT_TRUE(out.integers.as_integer.get()); 121 EXPECT_FALSE(out.integers.as_integers.get()); 122 EXPECT_EQ(4, *out.integers.as_integer); 124 EXPECT_FALSE(out.strings->as_string.get()); 125 ASSERT_TRUE(out.strings->as_strings.get()); 126 EXPECT_EQ(strings, *out.strings->as_strings); 139 ChoiceType out; local 140 ASSERT_TRUE(ChoiceType::Populate(value, &out)); [all...] |
/external/chromium_org/tools/json_schema_compiler/ |
H A D | util.cc | 12 bool GetItemFromList(const base::ListValue& from, int index, int* out) { argument 13 return from.GetInteger(index, out); 16 bool GetItemFromList(const base::ListValue& from, int index, bool* out) { argument 17 return from.GetBoolean(index, out); 20 bool GetItemFromList(const base::ListValue& from, int index, double* out) { argument 21 return from.GetDouble(index, out); 24 bool GetItemFromList(const base::ListValue& from, int index, std::string* out) { argument 25 return from.GetString(index, out); 30 linked_ptr<base::Value>* out) { 34 *out 28 GetItemFromList(const base::ListValue& from, int index, linked_ptr<base::Value>* out) argument 38 GetItemFromList(const base::ListValue& from, int index, linked_ptr<base::DictionaryValue>* out) argument 47 AddItemToList(const int from, base::ListValue* out) argument 51 AddItemToList(const bool from, base::ListValue* out) argument 55 AddItemToList(const double from, base::ListValue* out) argument 59 AddItemToList(const std::string& from, base::ListValue* out) argument 63 AddItemToList(const linked_ptr<base::Value>& from, base::ListValue* out) argument 68 AddItemToList(const linked_ptr<base::DictionaryValue>& from, base::ListValue* out) argument [all...] |
/external/chromium_org/ui/compositor/ |
H A D | debug_utils.cc | 31 std::wostringstream* out) { 38 *out << UTF8ToWide(indent_str); 40 *out << L'*'; 42 *out << L' '; 44 *out << UTF8ToWide(layer->name()) << L' ' << layer; 48 *out << L" not_drawn"; 51 *out << L" textured"; 53 *out << L" opaque"; 56 *out << L" solid"; 59 *out << 28 PrintLayerHierarchyImp(const Layer* layer, int indent, gfx::Point mouse_location, std::wostringstream* out) argument 114 std::wostringstream out; local [all...] |