| /external/opencv/otherlibs/highgui/ |
| utils.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 622 int code = src_cn*10 + dst_cn; local 632 switch( code )
|
| /external/opencv3/3rdparty/libwebp/utils/ |
| huffman_encode.c | 3 // Use of this source code is governed by a BSD-style license 33 // 1) Let's make the Huffman code more compatible with rle encoding. 45 // with an rle code. 287 tokens->code = value; 296 tokens->code = value; 302 tokens->code = 16; 307 tokens->code = 16; 322 tokens->code = 0; // 0-value 328 tokens->code = 17; 333 tokens->code = 18 412 uint32_t code = 0; local [all...] |
| /external/opencv3/modules/calib3d/test/ |
| test_cornerssubpix.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 122 int code = cvtest::TS::OK; local 181 code = cvtest::TS::FAIL_INVALID_OUTPUT; 195 code = cvtest::TS::FAIL_INVALID_OUTPUT; 208 code = cvtest::TS::FAIL_INVALID_OUTPUT; 218 if( code < 0 ) 219 ts->set_failed_test_info( code );
|
| /external/opencv3/modules/imgcodecs/src/ |
| grfmt_bmp.cpp | 20 // * Redistribution's of source code must retain the above copyright notice, 256 int code = m_strm.getWord(); local 257 int len = code & 255; 258 code >>= 8; 265 clr[0] = m_palette[code >> 4]; 266 clr[1] = m_palette[code & 15]; 267 gray_clr[0] = gray_palette[code >> 4]; 268 gray_clr[1] = gray_palette[code & 15]; 282 else if( code > 2 ) // absolute mode 284 if( data + code*nch > line_end ) goto decode_rle4_bad 345 int code = m_strm.getWord(); local [all...] |
| grfmt_pxm.cpp | 20 // * Redistribution's of source code must retain the above copyright notice, 54 int code; local 58 code = strm.getByte(); 60 if( !isdigit(code)) 64 if( code == '#' ) 68 code = strm.getByte(); 70 while( code != '\n' && code != '\r' ); 73 code = strm.getByte(); 75 while( isspace(code)) 142 int code = m_strm.getByte(); local 267 int code = ReadNumber( m_strm, INT_MAX ); local [all...] |
| loadsave.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 454 bool code = encoder->write( *pimage, params ); local 456 // CV_Assert( code ); 457 return code; 535 bool code = decoder->readData( *data ); local 539 if( !code ) 588 bool code; local 591 code = encoder->write(image, params); 593 CV_Assert( code ); 598 code = encoder->setDestination(filename) 698 bool code = cv::imencode(ext, img, buf, local [all...] |
| /external/opencv3/modules/imgproc/test/ |
| test_approxpoly.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 113 int code = cvtest::BaseTest::read_params( fs ); 114 if( code < 0 ) 115 return code; 285 int code = cvtest::TS::OK; local 331 code = cvtest::TS::FAIL_INVALID_OUTPUT; 335 code = check( SrcSeq, DstSeq, Eps ); 336 if( code != 0 ) 340 code = cvtest::TS::FAIL_BAD_ACCURACY; 354 if( code < 0 [all...] |
| test_canny.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 107 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); local 108 if( code > 0 ) 114 return code; 260 int code = cvtest::TS::OK, nz0; local 265 return code; 271 return code; 282 return code;
|
| test_moments.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 48 #define OCL_TUNING_MODE_ONLY(code) code 50 #define OCL_TUNING_MODE_ONLY(code) 158 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); local 159 if( code > 0 ) 166 return code; 383 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); local 384 if( code > 0 ) 389 return code; [all...] |
| /external/opencv3/modules/ml/test/ |
| test_save_load.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 57 int code = cvtest::TS::OK; local 58 code = prepare_test_case( testCaseIdx ); 60 if( code == cvtest::TS::OK ) 63 code = train( testCaseIdx ); 64 if( code == cvtest::TS::OK ) 77 return code; 82 int code = cvtest::TS::OK; local 88 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 89 if( code >= 0 188 int code = cvtest::TS::OK; local [all...] |
| /external/opencv3/modules/ts/src/ |
| ts_arrtest.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 85 int code = BaseTest::read_params( fs ); local 86 if( code < 0 ) 87 return code; 98 return code; 135 int code = 1; local 224 return code; 300 int code; local 306 code = cmpEps2(ts, test_mat[i0][j], test_mat[i1][j], err_level, element_wise_relative_error, arr_names[i0]); 308 if (code == 0) continue [all...] |
| /external/opencv3/modules/video/test/ |
| test_camshift.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 95 int code = cvtest::BaseTest::read_params( fs ); local 96 if( code < 0 ) 97 return code; 229 int code = CV_TrackBaseTest::prepare_test_case( test_case_idx ); local 232 if( code <= 0 ) 233 return code; 259 return i < 100 ? code : 0; 271 int code = cvtest::TS::OK; local 284 code = cvtest::TS::FAIL_INVALID_OUTPUT 396 int code = CV_TrackBaseTest::prepare_test_case( test_case_idx ); local 438 int code = cvtest::TS::OK; local [all...] |
| /external/opencv3/modules/videoio/test/ |
| test_ffmpeg.cpp | 20 // * Redistribution's of source code must retain the above copyright notice, 430 int code = remove(i->c_str()); local 431 if (code == 1)
|
| /external/pcre/dist/ |
| pcre_study.c | 15 * Redistributions of source code must retain the above copyright notice, 70 code pointer to start of group (the bracket) 71 startcode pointer to start of the whole pattern's code 83 find_minlength(const REAL_PCRE *re, const pcre_uchar *code, 93 register pcre_uchar *cc = (pcre_uchar *)code + 1 + LINK_SIZE; 97 if (*code == OP_CBRA || *code == OP_SCBRA || 98 *code == OP_CBRAPOS || *code == OP_SCBRAPOS) cc += IMM2_SIZE; 153 the end of the outer call. All can be handled by the same code. If a 1468 pcre_uchar *code; local [all...] |
| /external/pdfium/third_party/freetype/src/cff/ |
| cffparse.c | 40 FT_UInt code, 47 parser->object_code = code; 684 #define CFF_FIELD_NUM( code, name, id ) \ 685 CFF_FIELD( code, name, id, cff_kind_num ) 686 #define CFF_FIELD_FIXED( code, name, id ) \ 687 CFF_FIELD( code, name, id, cff_kind_fixed ) 688 #define CFF_FIELD_FIXED_1000( code, name, id ) \ 689 CFF_FIELD( code, name, id, cff_kind_fixed_thousand ) 690 #define CFF_FIELD_STRING( code, name, id ) \ 691 CFF_FIELD( code, name, id, cff_kind_string 1009 FT_UInt code; local [all...] |
| /external/pdfium/third_party/libjpeg/ |
| fpdfapi_jdhuff.c | 38 * structure assignment. You'll need to fix this code if you have 161 unsigned int code; local 163 /* Note that huffsize[] and huffcode[] are filled in code-length order, 183 /* Figure C.1: make table of Huffman code length for each symbol */ 197 /* We also validate that the counts represent a legal Huffman code tree. */ 199 code = 0; 204 huffcode[p++] = code; 205 code++; 207 /* code is now 1 more than the last code used for codelength si; bu 406 register INT32 code; local [all...] |
| /external/pdfium/xfa/src/fxbarcode/oned/ |
| BC_OnedCode128Reader.cpp | 2 // Use of this source code is governed by a BSD-style license that can be
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 // Original code is licensed as follows:
213 int32_t code = 0;
local 220 lastCode = code;
221 code = DecodeCode(row, &counters, nextStart, e);
223 if (code != CODE_STOP) {
226 if (code != CODE_STOP) {
228 checksumTotal += multiplier * code;
234 switch (code) {
[all...] |
| /external/pdfium/xfa/src/fxbarcode/pdf417/ |
| BC_PDF417DecodedBitStreamParser.cpp | 2 // Use of this source code is governed by a BSD-style license that can be
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 // Original code is licensed as follows:
68 int32_t code = codewords.GetAt(codeIndex);
local 72 switch (code) {
77 codeIndex = byteCompaction(code, codewords, codeIndex, result);
84 codeIndex = byteCompaction(code, codewords, codeIndex, result);
87 codeIndex = byteCompaction(code, codewords, codeIndex, result);
102 code = codewords[codeIndex++];
153 int32_t code = codewords[codeIndex++]; local 189 int32_t code = codewords[codeIndex++]; local 407 int32_t code = codewords[codeIndex++]; local 449 int32_t code = codewords[codeIndex++]; local [all...] |
| /external/ppp/pppd/ |
| chap-new.c | 10 * 1. Redistributions of source code must retain the above copyright 122 static void chap_handle_response(struct chap_server_state *ss, int code, 130 static void chap_handle_status(struct chap_client_state *cs, int code, int id, 208 if (dp->code == digest_code) 238 if (dp->code == digest_code) 394 ss->digest->code, 491 chap_handle_status(struct chap_client_state *cs, int code, int id, 501 if (code == CHAP_SUCCESS) { 505 code = CHAP_FAILURE; 520 if (code == CHAP_SUCCESS 534 unsigned char code, id; local 592 int code, id, len; local [all...] |
| upap.c | 10 * 1. Redistributions of source code must retain the above copyright 320 u_char code, id; local 324 * Parse header (code, id and length). 332 GETCHAR(code, inp); 346 * Action depends on code. 348 switch (code) { 361 default: /* XXX Need code reject */ 583 upap_sresp(u, code, id, msg, msglen) 585 u_char code, id; 596 PUTCHAR(code, outp) 618 int code, id, len; local [all...] |
| /external/skia/src/gpu/glsl/ |
| GrGLSLShaderBuilder.h | 4 * Use of this source code is governed by a BSD-style license that can be 47 /** Version of above that appends the result to the fragment shader code instead.*/ 83 * Called by GrGLSLProcessors to add code to one of the shaders. 88 this->code().appendVAList(format, args); 92 void codeAppend(const char* str) { this->code().append(str); } 97 this->code().prependVAList(format, args); 125 * Helper for begining and ending a block in the shader code. 185 fCompilerStrings.push_back(this->code().c_str()); 186 fCompilerStringLengths.push_back((int)this->code().size()); 200 SkString& code() { return fShaderStrings[fCodeIndex]; function in class:GrGLSLShaderBuilder [all...] |
| /external/snakeyaml/src/test/java/org/pyyaml/ |
| CanonicalScanner.java | 259 int code = Integer.parseInt(data.substring(index, index + length), 16); local 260 chunks.append(String.valueOf((char) code)); 264 throw new CanonicalException("invalid escape code");
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
| BeanConstructorTest.java | 240 private Integer code; field in class:BeanConstructorTest.ExceptionChild 242 public ExceptionChild(Integer code) { 247 return code;
|
| /external/tcpdump/ |
| print-eap.c | 5 * modification, are permitted provided that: (1) source code distributions 7 * distributions including binary code include the above copyright notice and 57 unsigned char code; member in struct:eap_packet_t
|
| /external/v8/src/arm/ |
| code-stubs-arm.h | 2 // Use of this source code is governed by a BSD-style license that can be 19 // Generate code for copying a large number of characters. This function 63 minor_key_ = ObjectBits::encode(object.code()) | 64 ValueBits::encode(value.code()) | 65 AddressBits::encode(address.code()) | 91 static Mode GetMode(Code* stub) { 111 static void Patch(Code* stub, Mode mode) { 211 void Activate(Code* code) override { 212 code->GetHeap()->incremental_marking()->ActivateGeneratedStub(code) variable [all...] |