/external/mesa3d/src/amd/vulkan/ |
D | radv_rgp.c | 167 radv_sqtt_fill_cpu_info(struct sqtt_file_chunk_cpu_info *chunk) in radv_sqtt_fill_cpu_info() argument 171 chunk->header.chunk_id.type = SQTT_FILE_CHUNK_TYPE_CPU_INFO; in radv_sqtt_fill_cpu_info() 172 chunk->header.chunk_id.index = 0; in radv_sqtt_fill_cpu_info() 173 chunk->header.major_version = 0; in radv_sqtt_fill_cpu_info() 174 chunk->header.minor_version = 0; in radv_sqtt_fill_cpu_info() 175 chunk->header.size_in_bytes = sizeof(*chunk); in radv_sqtt_fill_cpu_info() 177 chunk->cpu_timestamp_freq = 1000000000; /* tick set to 1ns */ in radv_sqtt_fill_cpu_info() 181 strncpy((char *)chunk->vendor_id, "Unknown", sizeof(chunk->vendor_id)); in radv_sqtt_fill_cpu_info() 182 strncpy((char *)chunk->processor_brand, "Unknown", sizeof(chunk->processor_brand)); in radv_sqtt_fill_cpu_info() 183 chunk->clock_speed = 0; in radv_sqtt_fill_cpu_info() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_log.c | 79 struct fd_log_chunk *chunk; in get_chunk() local 83 chunk = list_last_entry(&batch->log_chunks, in get_chunk() 85 if (chunk->num_msgs < msgs_per_chunk) in get_chunk() 86 return chunk; in get_chunk() 90 chunk->last = false; in get_chunk() 94 chunk = calloc(1, sizeof(*chunk)); in get_chunk() 95 chunk->msg_fifo = u_fifo_create(msgs_per_chunk); in get_chunk() 96 chunk->timestamps_bo = fd_bo_new(batch->ctx->screen->dev, bo_size, in get_chunk() 98 chunk->last = true; in get_chunk() 100 list_addtail(&chunk->node, &batch->log_chunks); in get_chunk() [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | chunkset.c | 21 static inline void chunkmemset_1(uint8_t *from, chunk_t *chunk) { in chunkmemset_1() argument 23 *chunk = 0x0101010101010101 * (uint8_t)*from; in chunkmemset_1() 25 chunk->u32[0] = 0x01010101 * (uint8_t)*from; in chunkmemset_1() 26 chunk->u32[1] = chunk->u32[0]; in chunkmemset_1() 28 memset(chunk, *from, sizeof(chunk_t)); in chunkmemset_1() 32 static inline void chunkmemset_4(uint8_t *from, chunk_t *chunk) { in chunkmemset_4() argument 36 *chunk = 0x0000000100000001 * (uint64_t)half_chunk; in chunkmemset_4() 38 chunk->u32[0] = *(uint32_t *)from; in chunkmemset_4() 39 chunk->u32[1] = chunk->u32[0]; in chunkmemset_4() 41 uint8_t *chunkptr = (uint8_t *)chunk; in chunkmemset_4() [all …]
|
D | chunkset_tpl.h | 21 chunk_t chunk; in CHUNKCOPY() local 23 loadchunk(from, &chunk); in CHUNKCOPY() 24 storechunk(out, &chunk); in CHUNKCOPY() 29 loadchunk(from, &chunk); in CHUNKCOPY() 30 storechunk(out, &chunk); in CHUNKCOPY() 74 chunk_t chunk; in CHUNKUNROLL() local 76 loadchunk(from, &chunk); in CHUNKUNROLL() 77 storechunk(out, &chunk); in CHUNKUNROLL() 93 chunk_t chunk; in CHUNKMEMSET() local 94 unsigned sz = sizeof(chunk); in CHUNKMEMSET() [all …]
|
/external/llvm-project/openmp/runtime/test/worksharing/for/ |
D | kmp_sch_simd_guided.c | 77 int chunk; // No of current chunk in run_loop_64() local 84 chunk = 0; in run_loop_64() 89 ++ chunk; in run_loop_64() 91 printf("chunk=%d, lb=%d, ub=%d\n", chunk, (int)lb, (int)ub); in run_loop_64() 95 printf("Error with chunk %d\n", chunk); in run_loop_64() 100 printf("Error with lb %d, %d, ch %d\n", (int)lb, (int)next_lb, chunk); in run_loop_64() 105 printf("Error with ub %d, %d, ch %d\n", (int)ub, (int)loop_ub, chunk); in run_loop_64() 109 printf("Error with bounds %d, %d, %d\n", (int)lb, (int)ub, chunk); in run_loop_64() 114 printf("Error with ub %d, %d, %d\n", (int)ub, (int)loop_ub, chunk); in run_loop_64() 118 printf("Error with bounds %d, %d, %d\n", (int)lb, (int)ub, chunk); in run_loop_64() [all …]
|
D | kmp_sch_simd_runtime_api.c | 94 int chunk; // No of current chunk. in run_loop() local 100 chunk = 0; in run_loop() 104 ++ chunk; in run_loop() 107 tid, chunk, (int)lb, (int)ub, (int)(ub-lb+1)); in run_loop() 111 printf("Error with chunk %d, th %d, err %d\n", chunk, tid, ++err); in run_loop() 115 (int)ub, (int)loop_ub, chunk, ++err); in run_loop() 118 (int)lb, (int)ub, chunk, ++err); in run_loop() 122 (int)ub, (int)loop_ub, chunk, ++err); in run_loop() 125 (int)lb, (int)ub, chunk, ++err); in run_loop() 130 (int)st, (int)loop_st, chunk, ++err); in run_loop() [all …]
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_abi_unittest.cc | 89 Chunk& chunk = chunks[chunk_idx]; in TEST_P() local 105 chunk = abi.TryAcquireChunkForWriting(page_idx, chunk_idx, &header); in TEST_P() 106 ASSERT_TRUE(chunk.is_valid()); in TEST_P() 114 ASSERT_EQ(expected_chunk_size, chunk.size()); in TEST_P() 116 chunk.payload_size()); in TEST_P() 117 ASSERT_GT(chunk.begin(), page_start); in TEST_P() 118 ASSERT_GT(chunk.begin(), last_chunk_begin); in TEST_P() 119 ASSERT_GE(chunk.begin(), last_chunk_end); in TEST_P() 120 ASSERT_LE(chunk.end(), page_end); in TEST_P() 121 ASSERT_GT(chunk.end(), chunk.begin()); in TEST_P() [all …]
|
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/src/ |
D | loop.cu | 51 ST chunk, T entityId, T numberOfEntities) { in ForStaticChunk() argument 56 stride = numberOfEntities * chunk; in ForStaticChunk() 57 lb = lb + entityId * chunk; in ForStaticChunk() 59 ub = lb + chunk - 1; // Clang uses i <= ub in ForStaticChunk() 63 T beginingLastChunk = inputUb - (inputUb % chunk); in ForStaticChunk() 72 ST &chunk, T entityId, in ForStaticNoChunk() argument 78 chunk = loopSize / numberOfEntities; in ForStaticNoChunk() 79 T leftOver = loopSize - chunk * numberOfEntities; in ForStaticNoChunk() 82 chunk++; in ForStaticNoChunk() 83 lb = lb + entityId * chunk; in ForStaticNoChunk() [all …]
|
/external/vboot_reference/host/lib21/ |
D | host_misc.c | 102 unsigned int chunk[11]; in vb2_str_to_guid() local 107 chunk+0, in vb2_str_to_guid() 108 chunk+1, in vb2_str_to_guid() 109 chunk+2, in vb2_str_to_guid() 110 chunk+3, in vb2_str_to_guid() 111 chunk+4, in vb2_str_to_guid() 112 chunk+5, in vb2_str_to_guid() 113 chunk+6, in vb2_str_to_guid() 114 chunk+7, in vb2_str_to_guid() 115 chunk+8, in vb2_str_to_guid() [all …]
|
/external/curl/tests/data/ |
D | test1086 | 25 Long chunk of data that couldn't possibly be sent in the time allotted. 26 Long chunk of data that couldn't possibly be sent in the time allotted. 27 Long chunk of data that couldn't possibly be sent in the time allotted. 28 Long chunk of data that couldn't possibly be sent in the time allotted. 29 Long chunk of data that couldn't possibly be sent in the time allotted. 30 Long chunk of data that couldn't possibly be sent in the time allotted. 31 Long chunk of data that couldn't possibly be sent in the time allotted. 32 Long chunk of data that couldn't possibly be sent in the time allotted. 33 Long chunk of data that couldn't possibly be sent in the time allotted. 34 Long chunk of data that couldn't possibly be sent in the time allotted. [all …]
|
D | test1112 | 24 Long chunk of data that couldn't possibly be sent in the time allotted. 25 Long chunk of data that couldn't possibly be sent in the time allotted. 26 Long chunk of data that couldn't possibly be sent in the time allotted. 27 Long chunk of data that couldn't possibly be sent in the time allotted. 28 Long chunk of data that couldn't possibly be sent in the time allotted. 29 Long chunk of data that couldn't possibly be sent in the time allotted. 30 Long chunk of data that couldn't possibly be sent in the time allotted. 31 Long chunk of data that couldn't possibly be sent in the time allotted. 32 Long chunk of data that couldn't possibly be sent in the time allotted. 33 Long chunk of data that couldn't possibly be sent in the time allotted. [all …]
|
/external/libxml2/python/tests/ |
D | sync.py | 46 chunk="""<foo><bar2/>""" variable 48 ctxt.parseChunk(chunk, len(chunk), 0) 58 chunk="""<foo><bar2></bar2>""" variable 60 ctxt.parseChunk(chunk, len(chunk), 0) 70 chunk="""<foo><bar2>""" variable 72 ctxt.parseChunk(chunk, len(chunk), 0) 82 chunk="""<foo><bar2 a="1" b='2' />""" variable 84 ctxt.parseChunk(chunk, len(chunk), 0) 95 chunk="""<foo><bar2 a="1" b='2' >""" variable 97 ctxt.parseChunk(chunk, len(chunk), 0) [all …]
|
D | indexes.py | 63 chunk = """ <bar1>chars1</bar1> variable 75 ctxt.parseChunk(chunk, len(chunk), 0) 77 chunk = "</foo>" variable 78 ctxt.parseChunk(chunk, len(chunk), 1) 85 chunk="""<?xml version="1.0" encoding="ISO-8859-1"?> variable 88 ctxt = libxml2.createPushParser(handler, chunk, len(chunk), "test.xml") 89 chunk = """ <bar1>chars1</bar1> variable 101 ctxt.parseChunk(chunk, len(chunk), 0) 103 chunk = "</foo>" variable 104 ctxt.parseChunk(chunk, len(chunk), 1)
|
/external/iptables/extensions/ |
D | libxt_sctp.t | 12 -p sctp -m sctp --chunk-types all DATA;=;OK 13 -p sctp -m sctp --chunk-types all INIT;=;OK 14 -p sctp -m sctp --chunk-types all INIT_ACK;=;OK 15 -p sctp -m sctp --chunk-types all SACK;=;OK 16 -p sctp -m sctp --chunk-types all HEARTBEAT;=;OK 17 -p sctp -m sctp --chunk-types all HEARTBEAT_ACK;=;OK 18 -p sctp -m sctp --chunk-types all ABORT;=;OK 19 -p sctp -m sctp --chunk-types all SHUTDOWN;=;OK 20 -p sctp -m sctp --chunk-types all SHUTDOWN_ACK;=;OK 21 -p sctp -m sctp --chunk-types all ERROR;=;OK [all …]
|
/external/curl/docs/examples/ |
D | httpcustomheader.c | 36 struct curl_slist *chunk = NULL; in main() local 39 chunk = curl_slist_append(chunk, "Accept:"); in main() 42 chunk = curl_slist_append(chunk, "Another: yes"); in main() 45 chunk = curl_slist_append(chunk, "Host: example.com"); in main() 49 chunk = curl_slist_append(chunk, "X-silly-header;"); in main() 52 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk); in main() 67 curl_slist_free_all(chunk); in main()
|
/external/rust/crates/libz-sys/src/zlib-ng/arch/x86/ |
D | chunkset_sse.c | 18 static inline void chunkmemset_1(uint8_t *from, chunk_t *chunk) { in chunkmemset_1() argument 19 *chunk = _mm_set1_epi8(*(int8_t *)from); in chunkmemset_1() 22 static inline void chunkmemset_2(uint8_t *from, chunk_t *chunk) { in chunkmemset_2() argument 23 *chunk = _mm_set1_epi16(*(int16_t *)from); in chunkmemset_2() 26 static inline void chunkmemset_4(uint8_t *from, chunk_t *chunk) { in chunkmemset_4() argument 27 *chunk = _mm_set1_epi32(*(int32_t *)from); in chunkmemset_4() 30 static inline void chunkmemset_8(uint8_t *from, chunk_t *chunk) { in chunkmemset_8() argument 31 *chunk = _mm_set1_epi64x(*(int64_t *)from); in chunkmemset_8() 34 static inline void loadchunk(uint8_t const *s, chunk_t *chunk) { in loadchunk() argument 35 *chunk = _mm_loadu_si128((__m128i *)s); in loadchunk() [all …]
|
/external/mesa3d/src/gallium/drivers/lima/standalone/ |
D | lima_disasm.c | 81 mbs_chunk chunk; in extract_shader_binary() local 90 if (!fread(&chunk, sizeof(chunk), 1, in)) { in extract_shader_binary() 95 if (strncmp(chunk.name, "MBS1", 4)) { in extract_shader_binary() 100 if (!fread(&chunk, sizeof(chunk), 1, in)) { in extract_shader_binary() 105 if (!strncmp(chunk.name, "CFRA", 4)) { in extract_shader_binary() 107 } else if (!strncmp(chunk.name, "CVER", 4)) { in extract_shader_binary() 119 if (!fread(&chunk, sizeof(chunk), 1, in)) { in extract_shader_binary() 123 if (!strncmp(chunk.name, "DBIN", 4)) in extract_shader_binary() 125 fseek(in, chunk.size, SEEK_CUR); in extract_shader_binary() 133 *size = chunk.size; in extract_shader_binary() [all …]
|
/external/rust/crates/tokio/tests/ |
D | io_read_until.rs | 36 let mut chunk = b"We say ".to_vec(); in read_until_not_all_ready() localVariable 37 let bytes = read.read_until(b'#', &mut chunk).await.unwrap(); in read_until_not_all_ready() 39 assert_eq!(chunk, b"We say Hello World#"); in read_until_not_all_ready() 41 chunk = b"I solve ".to_vec(); in read_until_not_all_ready() 42 let bytes = read.read_until(b'#', &mut chunk).await.unwrap(); in read_until_not_all_ready() 44 assert_eq!(chunk, b"I solve Fizz\xffBuzz#"); in read_until_not_all_ready() 46 chunk.clear(); in read_until_not_all_ready() 47 let bytes = read.read_until(b'#', &mut chunk).await.unwrap(); in read_until_not_all_ready() 49 assert_eq!(chunk, b"1#"); in read_until_not_all_ready() 51 chunk.clear(); in read_until_not_all_ready() [all …]
|
/external/starlark-go/internal/chunkedfile/ |
D | chunkedfile.go | 64 for i, chunk := range strings.Split(string(data), "\n---\n") { 66 fmt.Printf("chunk %d at line %d: %s\n", i, linenum, chunk) 69 src := strings.Repeat("\n", linenum-1) + chunk 75 lines := strings.Split(chunk, "\n") 107 func (chunk *Chunk) GotError(linenum int, msg string) { 108 if rx, ok := chunk.wantErrs[linenum]; ok { 109 delete(chunk.wantErrs, linenum) 111 …chunk.report.Errorf("\n%s:%d: error %q does not match pattern %q", chunk.filename, linenum, msg, r… 114 chunk.report.Errorf("\n%s:%d: unexpected error: %v", chunk.filename, linenum, msg) 120 func (chunk *Chunk) Done() { [all …]
|
/external/rust/crates/futures-util/src/stream/try_stream/ |
D | into_async_read.rs | 32 Ready { chunk: T, chunk_start: usize }, 62 ReadState::Ready { chunk, chunk_start } => { in poll_read() 63 let chunk = chunk.as_ref(); in poll_read() localVariable 64 let len = cmp::min(buf.len(), chunk.len() - *chunk_start); in poll_read() 67 &chunk[*chunk_start..*chunk_start + len], in poll_read() 71 if chunk.len() == *chunk_start { in poll_read() 79 Some(Ok(chunk)) => { in poll_read() 80 if !chunk.as_ref().is_empty() { in poll_read() 82 chunk, in poll_read() 144 Some(Ok(chunk)) => { in poll_fill_buf() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_debug.c | 143 struct si_log_chunk_shader *chunk = data; in si_log_chunk_shader_destroy() local 144 si_shader_selector_reference(chunk->ctx, &chunk->sel, NULL); in si_log_chunk_shader_destroy() 145 si_compute_reference(&chunk->program, NULL); in si_log_chunk_shader_destroy() 146 FREE(chunk); in si_log_chunk_shader_destroy() 151 struct si_log_chunk_shader *chunk = data; in si_log_chunk_shader_print() local 152 struct si_screen *sscreen = chunk->ctx->screen; in si_log_chunk_shader_print() 153 si_dump_shader(sscreen, chunk->shader, f); in si_log_chunk_shader_print() 169 struct si_log_chunk_shader *chunk = CALLOC_STRUCT(si_log_chunk_shader); in si_dump_gfx_shader() local 170 chunk->ctx = ctx; in si_dump_gfx_shader() 171 chunk->shader = current; in si_dump_gfx_shader() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | LineBufferTest.java | 71 for (int chunk : CHUNK_SIZES) { in bufferHelper() 72 chunk = Math.max(1, Math.min(chunk, input.length())); in bufferHelper() 73 assertEquals(expectProcess, bufferHelper(input, chunk)); in bufferHelper() 74 assertEquals(expectRead, readUsingJava(input, chunk)); in bufferHelper() 75 assertEquals(expectRead, readUsingReader(input, chunk, true)); in bufferHelper() 76 assertEquals(expectRead, readUsingReader(input, chunk, false)); in bufferHelper() 80 private static List<String> bufferHelper(String input, int chunk) throws IOException { in bufferHelper() argument 92 int len = Math.min(chars.length, off + chunk) - off; in bufferHelper() 100 private static List<String> readUsingJava(String input, int chunk) throws IOException { in readUsingJava() argument 101 BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); in readUsingJava() [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | LineBufferTest.java | 71 for (int chunk : CHUNK_SIZES) { in bufferHelper() 72 chunk = Math.max(1, Math.min(chunk, input.length())); in bufferHelper() 73 assertEquals(expectProcess, bufferHelper(input, chunk)); in bufferHelper() 74 assertEquals(expectRead, readUsingJava(input, chunk)); in bufferHelper() 75 assertEquals(expectRead, readUsingReader(input, chunk, true)); in bufferHelper() 76 assertEquals(expectRead, readUsingReader(input, chunk, false)); in bufferHelper() 80 private static List<String> bufferHelper(String input, int chunk) throws IOException { in bufferHelper() argument 92 int len = Math.min(chars.length, off + chunk) - off; in bufferHelper() 100 private static List<String> readUsingJava(String input, int chunk) throws IOException { in readUsingJava() argument 101 BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); in readUsingJava() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ChunkedIntArray.java | 94 int[] chunk = chunks.elementAt(chunkpos); in appendSlot() local 95 chunk[slotpos] = w0; in appendSlot() 96 chunk[slotpos+1] = w1; in appendSlot() 97 chunk[slotpos+2] = w2; in appendSlot() 98 chunk[slotpos+3] = w3; in appendSlot() 126 int[] chunk = chunks.elementAt(chunkpos); in readEntry() local 127 return chunk[slotpos + offset]; in readEntry() 148 int[] chunk = chunks.elementAt(chunkpos); in specialFind() local 153 ancestor = chunk[slotpos + 1]; in specialFind() 207 int[] chunk = chunks.elementAt(chunkpos); in writeEntry() local [all …]
|
/external/rust/crates/crc32fast/src/specialized/ |
D | aarch64.rs | 48 for chunk in &mut quad_iter { in calculate() 49 c32 = arch::__crc32d(c32, chunk[0]); in calculate() 50 c32 = arch::__crc32d(c32, chunk[1]); in calculate() 51 c32 = arch::__crc32d(c32, chunk[2]); in calculate() 52 c32 = arch::__crc32d(c32, chunk[3]); in calculate() 53 c32 = arch::__crc32d(c32, chunk[4]); in calculate() 54 c32 = arch::__crc32d(c32, chunk[5]); in calculate() 55 c32 = arch::__crc32d(c32, chunk[6]); in calculate() 56 c32 = arch::__crc32d(c32, chunk[7]); in calculate() 74 for (chunk, mut offset) in chunks { [all …]
|