| /external/libpcap/bpf/net/ |
| bpf_filter.c | 5 * This code is derived from the Stanford/CMU enet packet filter, 6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed 13 * 1. Redistributions of source code must retain the above copyright 253 switch (pc->code) { 304 int code = BPF_S_ANC_NONE; local 305 #define ANCILLARY(CODE) case SKF_AD_OFF + SKF_AD_##CODE: \ 306 code = BPF_S_ANC_##CODE; \ 332 switch (code) { [all...] |
| /external/ltrace/sysdeps/linux-gnu/ia64/ |
| trace.c | 57 unsigned long code[2]; member in union:bundle_t 98 bundle.code[0] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0); 99 bundle.code[1] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip + 8, 0);
|
| /external/lzma/C/ |
| Bcj2.c | 1 /* Bcj2.c -- Converter for x86 code (BCJ2)
26 #define RC_INIT2 code = 0; range = 0xFFFFFFFF; \
27 { int i; for (i = 0; i < 5; i++) { RC_TEST; code = (code << 8) | RC_READ_BYTE; }}
29 #define NORMALIZE if (range < kTopValue) { RC_TEST; range <<= 8; code = (code << 8) | RC_READ_BYTE; }
31 #define IF_BIT_0(p) ttt = *(p); bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
33 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CProb)(ttt - (ttt >> kNumMoveBits)); NORMALIZE;
46 UInt32 range, code;
local
|
| LzmaDec.h | 54 UInt32 range, code;
member in struct:__anon18546 100 LZMA_STATUS_NOT_SPECIFIED, /* use main error code instead */
|
| /external/lzma/CPP/7zip/Compress/ |
| RangeCoder.h | 112 UInt32 Code;
119 Code = (Code << 8) | Stream.ReadByte();
128 Code = 0;
131 Code = (Code << 8) | Stream.ReadByte();
136 return (Code) / (Range /= total);
141 Code -= start * Range;
149 UInt32 code = Code;
local [all...] |
| /external/mesa3d/src/gallium/auxiliary/gallivm/ |
| lp_bld_init.c | 150 * avoid generating bad code. 164 * implementation) somehow becomes invalid code. 568 /* Dump byte code to a file */ 591 void *code; local 597 code = LLVMGetPointerToGlobal(gallivm->engine, func); 598 assert(code); 599 jit_func = pointer_to_func(code); 602 lp_disassemble(code); 613 * Free the function (and its machine code). 618 const void *code) [all...] |
| /external/mesa3d/src/gallium/drivers/nvc0/ |
| nvc0_program.h | 27 uint32_t *code; member in struct:nvc0_program
|
| /external/mesa3d/src/gallium/drivers/r300/compiler/ |
| r300_fragprog.c | 61 struct r300_fragment_program_code *code = &compiler->code->code.r300; local 70 fprintf(stderr, "code_offset_ext: %08x\n", code->r400_code_offset_ext); 73 for (n = 0; n <= (code->config & 3); n++) { 74 uint32_t code_addr = code->code_addr[3 - (code->config & 3) + n]; 76 (((code->r400_code_offset_ext >> (24 - (n * 6))) & 0x7) << 6); 78 (((code->r400_code_offset_ext >> (27 - (n * 6))) & 0x7) << 6); 86 if (n > 0 || (code->config & R300_PFS_CNTL_FIRST_NODE_HAS_TEX)) [all...] |
| r300_fragprog_emit.c | 58 struct r300_fragment_program_code *code = &c->code->code.r300 83 static void use_temporary(struct r300_fragment_program_code *code, unsigned int index) 85 if (index > code->pixsize) 86 code->pixsize = index; 89 static unsigned int use_source(struct r300_fragment_program_code* code, struct rc_pair_instruction_source src) 97 use_temporary(code, src.Index); 157 if (code->alu.length >= c->Base.max_alu_insts) { 162 ip = code->alu.length++ 308 struct r300_fragment_program_code *code = &emit->compiler->code->code.r300; local 481 struct r300_fragment_program_code *code = &compiler->code->code.r300; local [all...] |
| r500_fragprog.c | 372 struct r500_fragment_program_code *code = &compiler->code->code.r500; local 379 for (n = 0; n < code->inst_end+1; n++) { 380 inst0 = inst = code->inst[n].inst0; 399 fprintf(stderr,"\t1:RGB_ADDR 0x%08x:", code->inst[n].inst1); 400 inst = code->inst[n].inst1; 408 fprintf(stderr,"\t2:ALPHA_ADDR 0x%08x:", code->inst[n].inst2); 409 inst = code->inst[n].inst2; 415 fprintf(stderr,"\t3 RGB_INST: 0x%08x:", code->inst[n].inst3) [all...] |
| /external/mesa3d/src/gallium/state_trackers/clover/core/ |
| base.hpp | 41 /// OpenCL status code. 45 error(cl_int code, std::string what = "") : 46 std::runtime_error(what), code(code) { 50 return code; 54 cl_int code; member in class:clover::error
|
| /external/mesa3d/src/gallium/state_trackers/d3d1x/winedlls/dxgi/ |
| dxgi_dll.c | 52 * It might be a good idea to integrate this code in winex11.drv. 78 unsigned code = X11DRV_GET_DRAWABLE; local 111 ExtEscape(hdc, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, sizeof(drawable), (LPTSTR)&drawable); 179 * instead of this ridiculous amount of clumsy duplicated code everywhere 180 * C++ exists exactly to avoid having to write the following code */ 233 unsigned code = X11DRV_GET_DISPLAY; local 238 ExtEscape(hdc, X11DRV_ESCAPE, sizeof(code), (LPSTR)&code, sizeof(dpy), (LPTSTR)&dpy);
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
| Response.java | 39 private final int code; field in class:Response 53 this.code = builder.code; 68 * may copy headers like {@code Content-Length} from the request body. 86 /** Returns the HTTP status code. */ 87 public int code() { method in class:Response 88 return code; 92 * Returns true if the code is in [200..300), which means the request was 96 return code >= 200 && code < 300 224 private int code = -1; field in class:Response.Builder 260 public Builder code(int code) { method in class:Response.Builder [all...] |
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
| Huffman.java | 26 * <li>{@code com.twitter.hpack.HuffmanEncoder}</li> 27 * <li>{@code com.twitter.hpack.HuffmanDecoder}</li> 28 * <li>{@code com.twitter.hpack.HpackUtil}</li> 95 int code = CODES[b]; local 99 current |= code; 170 private void addCode(int sym, int code, byte len) { 176 int i = ((code >>> len) & 0xFF); 187 int start = (code << shift) & 0xFF; 216 * @param bits length of Huffman code in bits
|
| /external/opencv/cxcore/src/ |
| cxerror.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 150 cvStdErrReport( int code, const char *func_name, const char *err_msg, 153 if( code == CV_StsBackTrace || code == CV_StsAutoTrace ) 157 cvErrorStr(code), err_msg ? err_msg : "no description" ); 173 cvGuiBoxReport( int code, const char *func_name, const char *err_msg, 177 return cvStdErrReport( code, func_name, err_msg, file, line, 0 ); 179 if( code != CV_StsBackTrace && code != CV_StsAutoTrace ) 189 cvErrorStr(code), err_msg ? err_msg : "no description" 240 int code = cvGetErrStatus(); local [all...] |
| /external/opencv/otherlibs/highgui/ |
| grfmt_sunras.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 228 int code = 0, len = 0, len1 = 0; local 232 code = m_strm.GetByte(); 233 if( code == 0x80 ) 238 tsrc[len1] = (uchar)code; 247 code = m_strm.GetByte(); 254 memset( tsrc, code, len ); 296 int code = 0, len = 0, len1; local 301 code = m_strm.GetByte(); 302 if( code == 0x80 [all...] |
| /external/opencv3/modules/calib3d/test/ |
| test_chesscorners_timing.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 62 int code = cvtest::TS::OK; local 87 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 118 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 151 code = cvtest::TS::FAIL_INVALID_OUTPUT; 183 if( code < 0 ) 184 ts->set_failed_test_info( code );
|
| test_posit.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 64 int code = cvtest::TS::OK; local 195 code = cvtest::cmpEps2( ts, _rotation, _true_rotation, flEpsilon, false, "rotation matrix" ); 196 if( code < 0 ) 199 code = cvtest::cmpEps2( ts, _translation, _true_translation, flEpsilon, false, "translation vector" ); 200 if( code < 0 ) 216 if( code < 0 ) 217 ts->set_failed_test_info( code );
|
| /external/opencv3/modules/features2d/test/ |
| test_nearestneighbors.cpp | 21 // * Redistribution's of source code must retain the above copyright notice, 88 int code = cvtest::TS::OK; local 105 code = findNeighbors( points, results ); 107 if( code == cvtest::TS::OK ) 120 code = cvtest::TS::FAIL_BAD_ACCURACY; 124 return code; 128 int code = cvtest::TS::OK, tempCode; local 138 code = tempCode; 145 code = tempCode; 152 code = tempCode [all...] |
| /external/opencv3/modules/imgcodecs/src/ |
| grfmt_sunras.cpp | 20 // * Redistribution's of source code must retain the above copyright notice, 207 int code = 0, len = 0, len1 = 0; local 211 code = m_strm.getByte(); 212 if( code == 0x80 ) 217 tsrc[len1] = (uchar)code; 226 code = m_strm.getByte(); 233 memset( tsrc, code, len ); 275 int code = 0, len = 0, len1; local 280 code = m_strm.getByte(); 281 if( code == 0x80 [all...] |
| /external/opencv3/modules/imgproc/test/ |
| test_distancetransform.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 129 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); local 130 if( code > 0 ) 141 return code;
|
| test_templmatch.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 81 int code = cvtest::ArrayTest::read_params( fs ); local 82 if( code < 0 ) 83 return code; 88 return code;
|
| /external/opencv3/modules/video/test/ |
| test_optflowpyrlk.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 60 int code = cvtest::TS::OK; local 88 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 98 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 106 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 126 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 138 code = cvtest::TS::FAIL_MISSING_TEST_DATA; 180 code = cvtest::TS::FAIL_BAD_ACCURACY; 190 code = cvtest::TS::FAIL_BAD_ACCURACY; 197 code = cvtest::TS::FAIL_BAD_ACCURACY [all...] |
| /external/pcre/dist/ |
| pcre_printint.c | 15 * Redistributions of source code must retain the above copyright notice, 105 /* This table of operator lengths is not actually used by the working code, 264 print_prop(FILE *f, pcre_uchar *code, const char *before, const char *after) 266 if (code[1] != PT_CLIST) 268 fprintf(f, "%s%s %s%s", before, priv_OP_names[*code], get_ucpname(code[1], 269 code[2]), after); 273 const char *not = (*code == OP_PROP)? "" : "not "; 275 fprintf(f, "%s%sclist %d%s", before, not, code[2], after); 277 const pcre_uint32 *p = PRIV(ucd_caseless_sets) + code[2] 313 pcre_uchar *codestart, *code; local [all...] |
| /external/pdfium/third_party/freetype/src/cff/ |
| cffparse.h | 55 FT_UInt code, 86 int code; member in struct:CFF_Field_Handler_
|