/external/libcups/cgi-bin/ |
D | search.c | 28 *sptr, /* Pointer into RE string */ in cgiCompileSearch() local 76 sptr = s; in cgiCompileSearch() 141 if (sptr > s) in cgiCompileSearch() 152 if (sptr > s) in cgiCompileSearch() 164 wlen = (size_t)(sptr - s) + 2 * 4 * wlen + 2 * strlen(prefix) + 11; in cgiCompileSearch() 190 sptr = temp + (sptr - s); in cgiCompileSearch() 198 memcpy(sptr, prefix, strlen(prefix) + 1); in cgiCompileSearch() 199 sptr += strlen(sptr); in cgiCompileSearch() 206 sword = sptr; in cgiCompileSearch() 215 *sptr++ = '\\'; in cgiCompileSearch() [all …]
|
/external/libcups/cups/ |
D | http-addr.c | 537 char *sptr, /* Pointer into string */ in httpAddrString() local 552 else if ((sptr = strchr(temps, '%')) != NULL) in httpAddrString() 558 *sptr = '+'; in httpAddrString() 568 for (sptr = temps, i = 0; i < 4 && addr->ipv6.sin6_addr.s6_addr32[i]; i ++) in httpAddrString() 572 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, (temp >> 16) & 0xffff); in httpAddrString() 574 sptr += strlen(sptr); in httpAddrString() 580 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s%x", prefix, temp); in httpAddrString() 581 sptr += strlen(sptr); in httpAddrString() 592 snprintf(sptr, sizeof(temps) - (size_t)(sptr - temps), "%s:", prefix); in httpAddrString() 594 sptr += strlen(sptr); in httpAddrString() [all …]
|
D | ppd.c | 432 *sptr, /* Pointer into string */ in _ppdOpen() local 907 profile->density = (float)_cupsStrScand(string, &sptr, loc); in _ppdOpen() 908 profile->gamma = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() 909 profile->matrix[0][0] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() 910 profile->matrix[0][1] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() 911 profile->matrix[0][2] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() 912 profile->matrix[1][0] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() 913 profile->matrix[1][1] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() 914 profile->matrix[1][2] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() 915 profile->matrix[2][0] = (float)_cupsStrScand(sptr, &sptr, loc); in _ppdOpen() [all …]
|
/external/libjpeg-turbo/ |
D | jmemmgr.c | 644 jvirt_sarray_ptr sptr; in realize_virt_arrays() local 653 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 654 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 655 size_t new_space = (long)sptr->rows_in_array * in realize_virt_arrays() 656 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 658 space_per_minheight += (long)sptr->maxaccess * in realize_virt_arrays() 659 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 702 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 703 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 704 minheights = ((long)sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays() [all …]
|
/external/libcups/ppdc/ |
D | ppdc-catalog.cxx | 406 char *sptr, *dptr; // Source/destination pointers in load_messages() local 408 for (sptr = ptr, dptr = ptr; *sptr;) in load_messages() 410 if (*sptr == '\\') in load_messages() 412 sptr ++; in load_messages() 413 if (isdigit(*sptr)) in load_messages() 417 while (isdigit(*sptr)) in load_messages() 419 *dptr = *dptr * 8 + *sptr - '0'; in load_messages() 420 sptr ++; in load_messages() 427 if (*sptr == 'n') in load_messages() 429 else if (*sptr == 'r') in load_messages() [all …]
|
/external/libcups/notifier/ |
D | rss.c | 671 const char *sptr; /* Pointer into string */ in xml_escape() local 679 for (bytes = 0, sptr = s; *sptr; sptr ++) in xml_escape() 680 if (*sptr == '&') in xml_escape() 682 else if (*sptr == '<' || *sptr == '>') in xml_escape() 699 for (eptr = e, sptr = s; *sptr; sptr ++) in xml_escape() 700 if (*sptr == '&') in xml_escape() 708 else if (*sptr == '<') in xml_escape() 715 else if (*sptr == '>') in xml_escape() 723 *eptr++ = *sptr; in xml_escape()
|
/external/llvm-project/libcxx/test/libcxx/memory/trivial_abi/ |
D | weak_ptr_ret.pass.cpp | 29 make_val(std::shared_ptr<Node>& sptr, void** local_addr) { in make_val() argument 33 ret = sptr; in make_val() 43 auto sptr = std::make_shared<Node>(); in main() local 44 std::weak_ptr<Node> ret = make_val(sptr, &local_addr); in main()
|
/external/webrtc/common_audio/signal_processing/ |
D | get_scaling_square.c | 28 int16_t *sptr = in_vector; in WebRtcSpl_GetScalingSquare() local 34 sabs = (*sptr > 0 ? *sptr++ : -*sptr++); in WebRtcSpl_GetScalingSquare()
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 137 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 138 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 139 int* ptr = sptr.get(); in TYPED_TEST() 145 EXPECT_TRUE(eq(ptr, sptr)); in TYPED_TEST() 150 EXPECT_FALSE(eq(&dummy, sptr)); in TYPED_TEST() 187 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 188 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 189 int* ptr = sptr.get(); in TYPED_TEST() 195 EXPECT_EQ(hash(ptr), hash(sptr)); in TYPED_TEST() 200 EXPECT_NE(hash(&dummy), hash(sptr)); in TYPED_TEST()
|
/external/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 137 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 138 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 139 int* ptr = sptr.get(); in TYPED_TEST() 145 EXPECT_TRUE(eq(ptr, sptr)); in TYPED_TEST() 150 EXPECT_FALSE(eq(&dummy, sptr)); in TYPED_TEST() 187 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 188 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 189 int* ptr = sptr.get(); in TYPED_TEST() 195 EXPECT_EQ(hash(ptr), hash(sptr)); in TYPED_TEST() 200 EXPECT_NE(hash(&dummy), hash(sptr)); in TYPED_TEST()
|
/external/one-true-awk/ |
D | run.c | 1932 const char *sptr, *q; in sub() local 1952 sptr = t; in sub() 1953 adjbuf(&buf, &bufsz, 1+patbeg-sptr, recsize, 0, "sub"); in sub() 1955 while (sptr < patbeg) in sub() 1956 *pb++ = *sptr++; in sub() 1957 sptr = getsval(y); in sub() 1958 while (*sptr != '\0') { in sub() 1960 if (*sptr == '\\') { in sub() 1961 backsub(&pb, &sptr); in sub() 1962 } else if (*sptr == '&') { in sub() [all …]
|
/external/libxml2/ |
D | chvalid.c | 170 const xmlChSRange *sptr; in xmlCharInRange() local 179 sptr = rptr->shortRange; in xmlCharInRange() 182 if ((unsigned short) val < sptr[mid].low) { in xmlCharInRange() 185 if ((unsigned short) val > sptr[mid].high) { in xmlCharInRange()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/FreeBSD/ |
D | capsicum.cpp | 35 cap_rights_t *sptr = cap_rights_init(&little, CAP_READ); in test_cap_rights() local 36 assert(sptr); in test_cap_rights() 37 bool hasit = cap_rights_contains(rptr, sptr); in test_cap_rights() 40 hasit = cap_rights_contains(pptr, sptr); in test_cap_rights()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_type_traits_test.cpp | 21 ASSERT_TRUE((is_same<sptr, sptr>::value)); in TEST() 25 ASSERT_FALSE((is_same<uptr, sptr>::value)); in TEST()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_type_hash.h | 26 sptr Offset; 30 DynamicTypeInfo(const char *MDTN, sptr Offset, const char *STN) in DynamicTypeInfo() 38 sptr getOffset() const { return Offset; } in getOffset()
|
D | ubsan_type_hash_itanium.cc | 117 sptr Offset) { in isDerivedFromAtOffset() 137 sptr OffsetHere = VTI->base_info[base].__offset_flags >> in isDerivedFromAtOffset() 156 const abi::__class_type_info *Derived, sptr Offset) { in findBaseAtOffset() 171 sptr OffsetHere = VTI->base_info[base].__offset_flags >> in findBaseAtOffset() 192 sptr Offset;
|
/external/llvm-project/compiler-rt/lib/ubsan/ |
D | ubsan_type_hash.h | 25 sptr Offset; 29 DynamicTypeInfo(const char *MDTN, sptr Offset, const char *STN) in DynamicTypeInfo() 37 sptr getOffset() const { return Offset; } in getOffset()
|
/external/ltp/lib/ |
D | self_exec.c | 78 char **sptr; in maybe_run_child() local 138 sptr = va_arg(ap, char **); in maybe_run_child() 139 *sptr = strdup(tok); in maybe_run_child() 140 if (!*sptr) { in maybe_run_child()
|
/external/libtextclassifier/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 140 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 141 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 142 int* ptr = sptr.get(); in TYPED_TEST() 148 EXPECT_TRUE(eq(ptr, sptr)); in TYPED_TEST() 153 EXPECT_FALSE(eq(&dummy, sptr)); in TYPED_TEST() 190 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 191 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 192 int* ptr = sptr.get(); in TYPED_TEST() 198 EXPECT_EQ(hash(ptr), hash(sptr)); in TYPED_TEST() 203 EXPECT_NE(hash(&dummy), hash(sptr)); in TYPED_TEST()
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | hash_function_defaults_test.cc | 140 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 141 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 142 int* ptr = sptr.get(); in TYPED_TEST() 148 EXPECT_TRUE(eq(ptr, sptr)); in TYPED_TEST() 153 EXPECT_FALSE(eq(&dummy, sptr)); in TYPED_TEST() 190 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 191 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 192 int* ptr = sptr.get(); in TYPED_TEST() 198 EXPECT_EQ(hash(ptr), hash(sptr)); in TYPED_TEST() 203 EXPECT_NE(hash(&dummy), hash(sptr)); in TYPED_TEST()
|
/external/angle/third_party/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 140 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 141 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 142 int* ptr = sptr.get(); in TYPED_TEST() 148 EXPECT_TRUE(eq(ptr, sptr)); in TYPED_TEST() 153 EXPECT_FALSE(eq(&dummy, sptr)); in TYPED_TEST() 190 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 191 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 192 int* ptr = sptr.get(); in TYPED_TEST() 198 EXPECT_EQ(hash(ptr), hash(sptr)); in TYPED_TEST() 203 EXPECT_NE(hash(&dummy), hash(sptr)); in TYPED_TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 140 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 141 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 142 int* ptr = sptr.get(); in TYPED_TEST() 148 EXPECT_TRUE(eq(ptr, sptr)); in TYPED_TEST() 153 EXPECT_FALSE(eq(&dummy, sptr)); in TYPED_TEST() 190 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 191 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 192 int* ptr = sptr.get(); in TYPED_TEST() 198 EXPECT_EQ(hash(ptr), hash(sptr)); in TYPED_TEST() 203 EXPECT_NE(hash(&dummy), hash(sptr)); in TYPED_TEST()
|
/external/llvm/test/Feature/ |
D | testalloca.ll | 13 %sptr = alloca %struct ; <%struct*> [#uses=2] 14 … %nsptr = getelementptr %struct, %struct* %sptr, i64 0, i32 1 ; <%inners*> [#uses=1] 18 …%fptr = getelementptr %struct, %struct* %sptr, i64 0, i32 1, i32 0 ; <float*> [#uses…
|
/external/llvm-project/llvm/test/Feature/ |
D | testalloca.ll | 13 %sptr = alloca %struct ; <%struct*> [#uses=2] 14 … %nsptr = getelementptr %struct, %struct* %sptr, i64 0, i32 1 ; <%inners*> [#uses=1] 18 …%fptr = getelementptr %struct, %struct* %sptr, i64 0, i32 1, i32 0 ; <float*> [#uses…
|
/external/curl/lib/ |
D | dict.c | 140 char *sptr; in sendf() local 150 sptr = s; in sendf() 154 result = Curl_write(conn, sockfd, sptr, write_len, &bytes_written); in sendf() 160 Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written); in sendf() 166 sptr += bytes_written; in sendf()
|